[SNMP4J] Looking for clarification on SNMP4J USM.getUser() implementation
Frank Fock
fock at agentpp.com
Fri Oct 24 19:12:15 CEST 2014
Hi Randika,
A USM entry without an engine ID is no "valid" user entry itself, because
such an entry must be associated with a security engine ID in all cases.
SNMPv3 users however, do not want to remember (and configure)
the security engine IDs of all managed devices.
Using "template" USM entries without a security engine ID is compromise.
They can be used if a dedicated entry does not exist. So removing the
template
when a dedicated entry is added, will break communication to all the targets
that have no dedicated entry but use the template's security name.
Best regards,
Frank
Am 24.10.2014 14:30, schrieb R U:
> Hi,
> I am resending an e-mail I had sent at the beginning of October. It doesn't appear to have been received by the mailing list. I have a question regarding a possible bug in USM.getUser(OctetString engineID, OctetString securityName). If this method is called and an entry exists in the USM without an engine ID, the code will create a new entry based on the currently present user information. However, the old entry is not removed from the userTable. Shouldn't the original entry be removed so that there are no two entries in the userTable for the same securityName?
>
> Thank you
> -Randika
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j
--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax: +49 7024 8688231
More information about the SNMP4J
mailing list