On 24 Nov 2004 15:55:23 +0530 A. wrote:
AKR> I was expecting the the snmp req to fail at the proxy agent if the
AKR> community string is incorrect. instead it is forwarding the req to the
AKR> device and the device responds.

If the community string is completely invalid, e.g. it doesn't appear anywhere
in the snmpd.conf file, then you are right. The packet should be dropped, and
the handler should not be called.

However, if the community string is valid for some other requests, then it is
very possible that your handler would be called during a walk, a bulk get or a
get-next request. However, a response would not be sent if the community string
wasn't configure to allow access to the object in question.

Does the agent respond to a snmpget of sysContact.0 with a bad community
string?

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to