This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
SNMP authentication
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 11 Sep 2002 09:14:37 +0200
- Subject: [ECOS] SNMP authentication
> I'm performing some tests with the snmpping test application
> (packages\net\snmp\agent\current\tests\snmpping.c). It seems it
> does not implement any form of authentication. I'm using the Loriot
> 1.00 SNMP Manager (www.llecointe.com) to query the board running
> eCos, but it does not matter the community I specify: I can retrieve
> the managed objects anyway.
> How to force the check against the community specified in the PDU?
> Is it possible to change the communities at run-time?
The snmp agent does not perform any authentication. The infrastructure
is there to do it thought if you dig around in the code. Its something
i once looked at, but did not use in the end. If i remember correctly,
there is an authentication call back and you just have to provide a
function to do the authentication.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss