Client snmptrap does not encrypt PDU for AES user

Jenny Yao <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAAAPXFvR-C36y7YZp4kzQMa0SHWDNj6B-t18=1V4QTebXL9t9w@mail.gmail.com>
Hi team,

    I am using net-snmp 5.8 with AES. And I found out that snmptrap does
not encrypt the PDU. snmpwalk, snmpd, and snmptrapd encrypt fine. Do I miss
something in my config?

vm4:~$ snmptrap -dd -v 3 -u u1 -a SHA -A "12345678" -x AES -X "12345678"
localhost:16662 '' '.1.3.6.1.6.3.1.1.5.4' .1.3.6.1.6.3.1.1.5.4 s "eth0"


Sending 162 bytes to UDP: [127.0.0.1]:16662->[0.0.0.0]:0

0000: 30 81 9F 02  01 03 30 10  02 04 55 D6  CF 0B 02 02    0.....0...U.....

0016: 05 C0 04 01  00 02 01 03  04 23 30 21  04 11 80 00    .........#0!....

0032: 1F 88 80 28  21 85 2B F7  36 43 60 00  00 00 00 02    ...(!.+.6C`.....

0048: 01 01 02 01  00 04 02 75  31 04 00 04  00 30 63 04    .......u1....0c.

0064: 11 80 00 1F  88 80 28 21  85 2B F7 36  43 60 00 00    ......(!.+.6C`..

0080: 00 00 04 00  A7 4C 02 04  6C 1A 74 05  02 01 00 02    .....L..l.t.....

0096: 01 00 30 3E  30 10 06 08  2B 06 01 02  01 01 03 00    ..0>0...+.......

0112: 43 04 0B 12  AC 4F 30 17  06 0A 2B 06  01 06 03 01    C....O0...+.....

0128: 01 04 01 00  06 09 2B 06  01 06 03 01  01 05 04 30    ......+........0

0144: 11 06 09 2B  06 01 06 03  01 01 05 04  04 04 65 74    ...+..........et

0160: 68 30                                                 h0


vm4:~$ snmptrap --version

NET-SNMP version: 5.8

Your help is appreciated.

Thanks,
Jenny Yao

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.