Greetings,
I know this has been discussed with no solution:
https://sourceforge.net/p/net-snmp/mailman/message/14061653/
but I need to know where the PDU came from (the IP address of the manager
station where the SNMP-GET PDU came) in the agent.
Reason is I have a requirement to restrict access to the agent by IP
address.
For snmp v1/v2, it can easily be done by modifying the snmpd.cong file:
# rocommunity: SNMPv1/SNMPv2c read-only access
rocommunity public 178.27.37.186
rocommunity public 178.27.37.227
There seem to be noway to do it for snmp v3 by snmpd.cong file.
Therefore, in the agent code,I would like to catch theIP address of sender.
Thanks,
SVC
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders