[AGENT++] MD5 and DES

Adluru, Krishna-p6018c (Perm Res) Krishna.Adluru at gdc4s.com
Wed May 28 03:08:20 CEST 2008


Hi,
  Within my agent, I have setup UsmUser like :

   protected void addUsmUser(USM usmarg)
   {
      UsmUser user = new UsmUser(new OctetString("abc_def"), AuthSHA.ID, new OctetString(
               "abc_def"), PrivDES.ID, new OctetString("abc_def"));
      usmarg.addUser(user.getSecurityName(), usmarg.getLocalEngineID(), user);

   }

and trying to do SNMP GET by paaasing above credentials and protocol, but, I keep getting :

17:47:48,954 [tMapping_0.0.0.0/161] (           snmp4j.security.USM) DEBUG - RFC3414 §3.2.6 Wrong digest -> authentication failure: 89:83:1e:95:92:92:ee:d1:de:10:ef:44
17:47:48,954 [tMapping_0.0.0.0/161] (           snmp4j.security.USM) DEBUG - RFC3414 §3.1.4.b Outgoing message is not encrypted
17:47:48,954 [tMapping_0.0.0.0/161] (g.snmp4j.MessageDispatcherImpl) WARN  - 1.3.6.1.6.3.15.1.1.5.0 = 22

Am I missing something here ?

Thanks,
Krishna



More information about the AGENTPP mailing list