[SNMP4J] Reg: Not able to receive traps with AuthPriv security level

Frank Fock fock at agentpp.com
Tue Jun 24 08:19:50 CEST 2014


Hi Nithin,

That is the error:
> Yes, EngineId at receiver and sender are same.
Best regards,
Frank

Am 24.06.2014 06:29, schrieb Nithin Jagadeesh:
> Hi Frank,
>
> Thank you for the quick response :)
>
> Yes, EngineId at receiver and sender are same.
> Yes, the authentication/privacy passwords on the receiver site are localized
> for the engine ID of the sender. I am passing engineId while creating USM
> instance and UsmUser instance at receiver side, I think this is what
> localized you meant.
> Please correct me if I misunderstood.
>
> However the engineId validation is passing through successfully with engine
> discovery property enabled/disabled.
>
> Thanks & Regards,
> Nithin K J
>
> -----Original Message-----
> From: SNMP4J [mailto:snmp4j-bounces at agentpp.org] On Behalf Of Frank Fock
> Sent: 23 June 2014 21:42
> To: snmp4j at agentpp.org
> Subject: Re: [SNMP4J] Reg: Not able to receive traps with AuthPriv security
> level
>
> Hi,
>
> Most likely, this is an engine ID problem.
> Are the engine IDs unique?
> Is the authentication/privacy passwords on the receiver site
> localized for the engine ID of the sender?
>
> Best regards,
> Frank
>
> Am 23.06.2014 14:29, schrieb Nithin Jagadeesh:
>> Hi,
>>
>>    
>>
>> I am trying to listen the traps from SNMPv3 agent with security level
>> ‘authPriv’ but, could not succeed. Verified the protocol and password
>> phrases at both the ends (manager and agent) and they are configured
>> correctly.
>>
>>    
>>
>> When I tried to debug at receiver end with the latest
>> snmp4j-2.3.0-distribution source code, I found that authentication is
>> failing (i.e., the original digest and recalculated digest are not
> matching
>> AuthGeneric.isAuthentic() in specific) with message ‘RFC3414 §3.2.6 Wrong
>> digest -> authentication failure’.
>>
>>    
>>
>> If I run snmp trap receiver using  net-snmp CLI(command used ‘sudo
> snmptrapd
>> -f -C -c /tmp/snmptrapd.conf –Le’) it is able to receive the traps from
>> agent.
>>
>>    
>>
>> Is it I am missing something?
>>
>>    
>>
>> Waiting for your valuable reply.
>>
>>    
>>
>> Thanks & Regards,
>>
>> Nithin
>>
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> https://oosnmp.net/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list