[AGENT++] snmpv3 USM table - thread safety
Anurag Jain
anuragjain026 at hotmail.com
Thu Jan 15 02:55:20 CET 2009
Hello ,
Could you advice me on the following scenario (we use the 3.2.21a of the snmp library ):
A multithreaded server receives snmp v3 traps from the multitude of snmp agents. The security user used for trap reception is the same as the security user used for snmp gets or walks on the agent.
The snmp v3 security user may change with get requests which requires the USM to be kept updated.
This done by calling the add_usm_user function supplying the engineID as an input (work with localized keys) before the snmp get operations . This could potentially happen from multiple threads . Is there an issue with updating the USM from one thread while doing snmp gets/walks from another thread.
Are the USM table / library operations thread safe in the above scenario ?
Thanks
Anurag
_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
More information about the AGENTPP
mailing list