[SNMP4J] Can I override the limitation of SNMP v3 minimum passphrases length?
Tal Kapon
tal.kapon at neebula.com
Thu Mar 13 21:51:08 CET 2014
Hi all ,
I am using SNMP4J in order to query network equipment.
Cisco switches allow SNMP v3 users to be defined with passphrases shorter
than 8 characters. SNMP4J throws the following exception when using short
passwords. Any way to override this limitation other than changing the
source code?
*Caused by: java.lang.IllegalArgumentException: USM passphrases must be at
least 8 bytes long (RFC3414 ยง11.2)*
* at org.snmp4j.security.UsmUser.<init>(UsmUser.java:83)*
Thanks in advance,
Tal
More information about the SNMP4J
mailing list