I'm having a strange problem where my snmptrapd server will not accept v2 
traps/informs if they are sent via ipv6.  My snmptrapd server is version 
5.7.2.1 running on Linux.  The traps/informs are being sent by version 5.5.1 of 
snmptrap, also on Linux.  I tried version 5.7.2.1 of snmptrap but that did not 
work either.

Here are the scenarios:

1) v3 inform sent via ipv4 - works
1) v3 inform sent via ipv6 - works
2) change to v2 and send to same ipv6 address - fails.  Because I'm running 
snmptrapd with the '-d' arg I do see the packet come in, but it is not 
accepted.  In the packet dump I can see the correct v2 community name is being 
used.  Of course I switched to a different, appropriate v2 config file for 
snmptrapd when I switched from sending v3 to v2 traps.
3) keep the same v2 credentials and send via ipv4 - works

I couldn't find anything in the bug database that mentions this.  Are there any 
debugging steps that I can do to help figure out what is happening?

Here's an example of ipv4 working but ipv6 not when v2 is used.


Received 75 byte packet from UDP: [192.168.108.1]:55953->[192.168.108.2]:162
0000: 30 49 02 01  01 04 0A 4E  4F 54 57 4F  52 4B 49 4E    0I.....NOTWORKIN
0016: 47 A6 38 02  04 1E 48 83  BD 02 01 00  02 01 00 30    G.8...H........0
0032: 2A 30 0F 06  08 2B 06 01  02 01 01 03  00 43 03 67    *0...+.......C.g
0048: 66 B4 30 17  06 0A 2B 06  01 06 03 01  01 04 01 00    f.0...+.........
0064: 06 09 2B 06  01 06 03 01  01 05 01                    ..+........

2014-05-01 13:47:02 UDP: [192.168.108.1]:55953->[192.168.108.2]:162 [UDP: 
[192.168.108.1]:55953->[192.168.108.2]:162]:
DISMAN-EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (6776500) 18:49:25.00     
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart

Sending 75 bytes to UDP: [192.168.108.1]:55953->[192.168.108.2]:162
0000: 30 49 02 01  01 04 0A 4E  4F 54 57 4F  52 4B 49 4E    0I.....NOTWORKIN
0016: 47 A2 38 02  04 1E 48 83  BD 02 01 00  02 01 00 30    G.8...H........0
0032: 2A 30 0F 06  08 2B 06 01  02 01 01 03  00 43 03 67    *0...+.......C.g
0048: 66 B4 30 17  06 0A 2B 06  01 06 03 01  01 04 01 00    f.0...+.........
0064: 06 09 2B 06  01 06 03 01  01 05 01                    ..+........


Received 74 byte packet from UDP/IPv6: [fd22:2222:2222:3490::1]:33344
0000: 30 48 02 01  01 04 0A 4E  4F 54 57 4F  52 4B 49 4E    0H.....NOTWORKIN
0016: 47 A6 37 02  03 68 5B 7F  02 01 00 02  01 00 30 2A    G.7..h[.......0*
0032: 30 0F 06 08  2B 06 01 02  01 01 03 00  43 03 67 66    0...+.......C.gf
0048: B4 30 17 06  0A 2B 06 01  06 03 01 01  04 01 00 06    .0...+..........
0064: 09 2B 06 01  06 03 01 01  05 01                       .+........


Received 74 byte packet from UDP/IPv6: [fd22:2222:2222:3490::1]:33344
0000: 30 48 02 01  01 04 0A 4E  4F 54 57 4F  52 4B 49 4E    0H.....NOTWORKIN
0016: 47 A6 37 02  03 68 5B 7F  02 01 00 02  01 00 30 2A    G.7..h[.......0*
0032: 30 0F 06 08  2B 06 01 02  01 01 03 00  43 03 67 66    0...+.......C.gf
0048: B4 30 17 06  0A 2B 06 01  06 03 01 01  04 01 00 06    .0...+..........
0064: 09 2B 06 01  06 03 01 01  05 01                       .+........


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to