RAHUL SHARMA <rahul.sharma9...@gmail.com> writes: > How can account lockout feature be implemented in netsnmp? When number > of attempts to establish snmp contact using v3 user crosses a > threshold value, I need to drop v3 packets for a defined period of > time called lockout period. In lockout period, packets must be dropped > even if user provides correct credentials.
You would need to modify the net-snmp library/agent code to detect when you wanted this to happen. Once you have determined that the action is needed, you can change the user's status to "notInService" which would prevent them from using the account. You could then use an snmp_alarm() call to put it back in service after a period of time. However, the agent won't "drop" the packets -- they'll get an error instead. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ------------------------------------------------------------------------------ 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