[AGENT++] Use of snmp v3 context Engine Id

Jochen Katz katz at agentpp.com
Tue Oct 11 16:21:58 CEST 2005


Hi,

> Any ideas on the use of engine id (please see beliw ), is it ony used
> when communicating with proxies , is there document/rfc  section  I can
> refer to ?

rfc3412 has a section about this.

> ./snmpGet 172.17.0.20 -v3 -md5 -des -sntc  -uatc -uptc
> -ce800000090300000000000000 > cnandce

If you didn't modify snmpGet.cpp, this will not work, as -ce expects a
plain string (not as hex values).

Make the following changes to the consoleExamples (they will be in the
next release):
     if ( strstr( argv[x],"-ce")!=0) {
       ptr = argv[x]; ptr+=3;
-->    contextEngineID = OctetStr::from_hex_string(ptr);
       continue;
     }

Regards,
  Jochen



More information about the AGENTPP mailing list