[AGENT++] SNMPV3 USM based Key change Queries

Jochen Katz katz at agentpp.com
Sat Apr 8 15:09:50 CEST 2006


Hi,

> 1 .  Does the USM inteface of snmp++ provide a method to  take keys as
> input instead of passwords for auth and privacy?

yes, add_localized_user().

> 2. Does the usm interface localize the keys by default ?

SNMPv3 keys are always localized. There are no not-localized-keys.

>  a.USM::key_update_prepare with a new password  followed by
>  b.Manager performs a set on the SNMP Agent with the out param 'pdu'
>  c.USM::key_update_commit

This is what I had in mind when writing these functions.

>   In this case does USM support input of keys directly instead of
> passwords?

Not at this time. But these key_update_*() functions were just added to
show, how a key change can be done. The necessary Vbs can also be
generated in the application.

Regards,
  Jochen




More information about the AGENTPP mailing list