HI,

The -Dsnmpv3 doesn't help.

The cmd to start:
 /usr/sbin/snmptrapd -Le -F "%A: %W %v" -f -d -Dsnmpv3 UDP:40162

Output from starting:
 snmpv3: engineBoots: 8
2005-08-21 12:46:17 NET-SNMP version 5.1.2 Started.

Contents of file /etc/snmp/snmptrapd.conf:
 createUser bobby MD5 socks2go
 createUser fred

Contents of file /etc/snmp/snmpd.conf is unmodified

I did the following command to test snmptrapd:
snmptrap -v3 -u fred 192.168.168.102:40162 1 warmStart

I got the following output:
Received 137 bytes from 192.168.168.102
0000: 30 81 86 02  01 03 30 11  02 04 67 1F  65 71 02 03 0.....0...g.eq..
0016: 00 FF E3 04  01 00 02 01  03 04 23 30  21 04 0D 80 ..........#0!...
0032: 00 07 E5 80  7F B4 BA 2A  8E DB 08 43  02 01 01 02 .......*...C....
0048: 03 02 DA 06  04 04 66 72  65 64 04 00  04 00 30 49 ......fred....0I
0064: 04 0D 80 00  07 E5 80 7F  B4 BA 2A 8E  DB 08 43 04 ..........*...C.
0080: 00 A7 36 02  04 56 D4 7C  A9 02 01 00  02 01 00 30 ..6..V.|.......0
0096: 28 30 0D 06  08 2B 06 01  02 01 01 03  00 43 01 01 (0...+.......C..
0112: 30 17 06 0A  2B 06 01 06  03 01 01 04  01 00 06 09 0...+...........
0128: 2B 06 01 06  03 01 01 05  02                          +........

snmpv3_parse: msgMaxSize 65507 received

What I'm I missing?

On Sun, 21 Aug 2005, Thomas Anders wrote:

> David T. Perkins wrote:
> > When I send a v1 or v2c trap, I get the packet dump
> > and a decode. But when I send a v3/USM trap I get
> > just a packet dump.
> > 
> > What do I need to do differently? also, how can I tell
> > if the pass phrase matches for authNoPriv or authPriv?
> 
> Try running with "-Dsnmpv3" to get some appropriate debug output.
> Also, just to double-check, does the persistent snmptrapd.conf contain 
> usmUser lines?
> 
> 
> +Thomas

Regards,
/david t. perkins



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to