[SNMP4J] How to lock snmp agent if server is trying to connect with invalid credential(3 times)
smruti sagar panda
smrutisagarpanda at gmail.com
Fri Dec 5 17:13:52 CET 2014
Hello,
My application is a snmp agent which is using SNMP4J . By default, all
validation of user name/password is done by SNMP4J . So if any server is
trying to connect with wrong credential to my application , it will fail by
SNMP4J .
But I need locking mechanism to support by my application .Means if any
server tried 3 times with wrong credential , then user should lock for 30
min.
As validation is done by SNMP4J itself , My application is not able to find
when some user trying with wrong credential because processpdu(call back
method) never calls if validation is failed by SNMP4J itself.
Is there any api provided by SNMP4J which supports locking mechanism in
case of wrong credentials.
Or is there any other way , My application can know when validation failed
by SNMP4J , so My application can implement locking mechanism.
Regards
Smruti
More information about the SNMP4J
mailing list