Hi,
I am using advent net API to receive SNMP v3 traps.
I ran WebNMS\SNMPAPI\examples\low_level_api\snmpapps\snmpv3trapd with the follwing arguments:
-u dragos3 -e 0x0123456789 -a MD5 -w 12345678 -pp DES -s 12345678 -d
I have a real device that sends traps. The parameters configured on the device for sending snmpv3 traps are:
User Name = dragos3
Password = 12345678
Authentication Algorithm = MD5
Encryption (Privacy) mode = DES
Access mode = Read Write User
This is the output from the Eclipse console after receiving the trap:
Please wait till the snmpv3trapd initializes ...
WebNMS SNMP API 4 SP7 ( Release 4.0.7 ) BUILD 4071
snmpv3trapd ready to receive v1/v2c/v3 traps
Decryption Failed :: RemoteHost :: 10.10.66.79 :: RemotePort :: 57923 : UserName = dragos3
Exception while constructing message after receiving PDU. Dropping this PDU received from 10.10.66.79. Parse Header: Incorrect Scoped data :: UserName=dragos3
Do you have any idea why it is not able to decrypt the trap when using DES encryption?
If I set encryption mode to none on both the device and in my trap receiver, the trap is received properly.
Can be somehow related with the engine Id? I used a random id (-e 0x0123456789) when I started the trap receiver.