[SNMP4J] Re: SNMPv3 authentication problem
Frank Fock
fock at agentpp.com
Wed Aug 2 11:27:21 CEST 2006
Hi Eduardo,
What API/system is sending the request?
It seems that the BER encoding of INTEGER/Integer32 is
wrong (i.e., not allowed in SNMP) for the security
parameters in the message.
Best regards,
Frank
Frank Fock wrote:
> Hi Eduardo,
>
> What version of SNMP4J are you using?
>
> Best regards,
> Frank
>
>
> Eduardo Luque wrote:
>> Hi.
>> I have resolved my initial problem, but I have another one.
>>
>> 2006-08-01 11:20:29,031 DEBUG [DefaultUDPTransportMapping_0.0.0.0/105] -
>> Received message from /127.0.0.1/1273 with length 113:
>> 30:6f:02:01:03:30:0e:02:02:04:21:02:02:20:00:04:01:05:02:01:03:04:2f:30:2d:04:09:80:00:13:70:01:ac:13:85:4a:02:04:00:00:00:00:02:05:00:89:d2:f5:5b:04:03:53:48:41:04:0c:00:38:7a:18:ea:0e:47:5a:0c:1a:94:ad:04:00:30:29:04:09:80:00:13:70:01:ac:13:85:4a:04:00:a0:1a:02:02:04:cd:02:01:00:02:01:00:30:0e:30:0c:06:08:2b:06:01:04:02:02:01:00:05:00
>>
>> 2006-08-01 11:20:29,046 DEBUG [DefaultUDPTransportMapping_0.0.0.0/105] -
>> SNMPv3 header decoded: msgId=1057, msgMaxSize=8192, msgFlags=05,
>> secModel=3
>> java.io.IOException: Length greater than 32bit are not supported for
>> integers: at position 44
>> 2006-08-01 11:20:29,046 WARN [DefaultUDPTransportMapping_0.0.0.0/105] -
>> MPv3 parse error: Length greater than 32bit are not supported for
>> integers: at position 44
>> at org.snmp4j.asn1.BER.decodeInteger(BER.java:629)
>> at org.snmp4j.smi.Integer32.decodeBER(Integer32.java:65)
>> at org.snmp4j.security.UsmSecurityParameters.decodeBER(
>> UsmSecurityParameters.java:141)
>> at org.snmp4j.mp.MPv3.prepareDataElements(MPv3.java:951)
>> at org.snmp4j.MessageDispatcherImpl.dispatchMessage(
>> MessageDispatcherImpl.java:242)
>> at org.snmp4j.MessageDispatcherImpl.processMessage(
>> MessageDispatcherImpl.java:325)
>> at org.snmp4j.MessageDispatcherImpl.processMessage(
>> MessageDispatcherImpl.java:286)
>> at org.snmp4j.transport.AbstractTransportMapping.fireProcessMessage(
>> AbstractTransportMapping.java:83)
>> at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(
>> DefaultUdpTransportMapping.java:283)
>> 2006-08-01 11:20:29,046 WARN [DefaultUDPTransportMapping_0.0.0.0/105] -
>> noError
>>
>>
>> Why the lenght of the message is so great?
>> Thanks?
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list