[SNMP4J] Message processing model 3 returned error: 1405 for privacy AES192/AES256

Jochen Katz katz at agentpp.com
Wed Jun 22 15:26:03 CEST 2011


Hi,

the problem is, that 3DES is not automatically added to the available
security protocols.

Just use the patch below.

Regards,
  Jochen

--- src/org/snmp4j/security/SecurityProtocols.java      (Revision 2034)
+++ src/org/snmp4j/security/SecurityProtocols.java      (Arbeitskopie)
@@ -149,6 +149,7 @@
       addAuthenticationProtocol(new AuthMD5());
       addAuthenticationProtocol(new AuthSHA());
       addPrivacyProtocol(new PrivDES());
+      addPrivacyProtocol(new Priv3DES());
       addPrivacyProtocol(new PrivAES128());
       addPrivacyProtocol(new PrivAES192());
       addPrivacyProtocol(new PrivAES256());


Am 21.06.2011 14:54, schrieb ~Kanagavelu~:
> Hi Jochen,
>  
> Thanks for your input.
>  
> Yes.  The same code is working fine for AES256.
> Attaching the code for reference.
> Kindly let me know do i need to add any more lines to enable authentication.



More information about the SNMP4J mailing list