Hi, Im using net-snmp 5.7.2. I want to forward V3 INFORM's from VM1 to VM2. snmptrapd crashed while forwarding V3 INFORM.
For my user case I have to run snmptrapd on both VM1 and VM2. VM1 will receive INFORM/TRAP and forward it to VM2. >From VM1 when I send link-up INFORM to localhost, snmptrapd crashes on VM1. (Refer failure logs below) I guess I'm missing some thing in the snmptrapd.conf file's. Tried adding "enginID" on VM2, but that didnt worked. Note: Forwardnig V3 TRAP's works with out any issue. Here is my configuration: **VM1:** root@Ubuntu3323:~# cat /tmp/snmptrapd.conf authCommunity log,net public snmpTrapdAddr udp:162,udp6:162 forward default 2.2.2.2:162 createUser feroz SHA feroz123 DES feroz123 authUser log,net feroz priv root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:50:56:96:61:75 inet addr:2.2.2.3 Bcast:2.2.2.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fe96:6175/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:311 errors:0 dropped:72 overruns:0 frame:0 TX packets:128 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:23507 (23.5 KB) TX bytes:12265 (12.2 KB) root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# snmptrapd -v NET-SNMP Version: 5.7.2 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net root@Ubuntu3323:~# /usr/sbin/snmptrapd -f -C -c /tmp/snmptrapd.conf -Lo -d -Dusm,snmptrapd,sess_async_send & root@Ubuntu3323:~# snmpinform -Ci -v 3 -a SHA -A feroz123 -x DES -X feroz123 -l authPriv -u feroz localhost 0 IF-MIB::linkUp **VM2** root@Ubuntu3322:~# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:50:56:96:ba:0c inet addr:2.2.2.2 Bcast:2.2.2.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fe96:ba0c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:546 errors:0 dropped:92 overruns:0 frame:0 TX packets:227 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:51478 (51.4 KB) TX bytes:27986 (27.9 KB) root@Ubuntu3322:~# root@Ubuntu3322:~# cat /tmp/snmptrapd.conf createUser feroz SHA feroz123 DES feroz123 authUser log feroz priv root@Ubuntu3322:~# root@Ubuntu3322:~# root@Ubuntu3322:~# /usr/sbin/snmptrapd -f -C -c /tmp/snmptrapd.conf -d -Lo -Dusm,snmptrapd registered debug token usm, 1 **CRASH LOGS** root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# /usr/sbin/snmptrapd -f -C -c /tmp/snmptrapd.conf -Lo -d -Dusm,snmptrapd,sess_async_send & [1] 5065 root@Ubuntu3323:~# registered debug token usm, 1 registered debug token snmptrapd, 1 registered debug token sess_async_send, 1 snmptrapd: Freeing trap handler lists usmUser: created a new user feroz at 80 00 1F 88 80 D9 2A E1 43 83 55 CE 5F 00 00 00 00 NET-SNMP version 5.7.2 root@Ubuntu3323:~# snmpinform -Ci -v 3 -a SHA -A feroz123 -x DES -X feroz123 -l authPriv -u feroz localhost 0 IF-MIB::linkUp Received 81 byte packet from UDP: [127.0.0.1]:37270->[127.0.0.1]:162 0000: 30 4F 02 01 03 30 11 02 04 1C 3E BC 53 02 03 00 0O...0....>.S... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 25 04 11 80 00 ..........0%.... 0048: 1F 88 80 F5 3B 97 25 4D FE CD 5F 00 00 00 00 04 ....;.%M.._..... 0064: 00 A0 0E 02 04 06 5C 6E 91 02 01 00 02 01 00 30 ......\n.......0 0080: 00 . usm: USM processing begun... usm: Unknown Engine ID. usm: USM processing has begun (offset 56) usm: getting user usm: USM processing completed. Sending 115 bytes to UDP: [127.0.0.1]:37270->[127.0.0.1]:162 0000: 30 71 02 01 03 30 11 02 04 1C 3E BC 53 02 03 00 0q...0....>.S... 0016: FF E3 04 01 00 02 01 03 04 21 30 1F 04 11 80 00 .........!0..... 0032: 1F 88 80 D9 2A E1 43 83 55 CE 5F 00 00 00 00 02 ....*.C.U._..... 0048: 01 01 02 01 04 04 00 04 00 04 00 30 36 04 11 80 ...........06... 0064: 00 1F 88 80 D9 2A E1 43 83 55 CE 5F 00 00 00 00 .....*.C.U._.... 0080: 04 00 A8 1F 02 04 06 5C 6E 91 02 01 00 02 01 00 .......\n....... 0096: 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 01 04 00 0.0...+......... 0112: 41 01 01 A.. Received 167 byte packet from UDP: [127.0.0.1]:37270->[127.0.0.1]:162 0000: 30 81 A4 02 01 03 30 11 02 04 1C 3E BC 52 02 03 0.....0....>.R.. 0016: 00 FF E3 04 01 07 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 D9 2A E1 43 83 55 CE 5F 00 00 00 00 .....*.C.U._.... 0048: 02 01 01 02 01 04 04 05 66 65 72 6F 7A 04 0C C4 ........feroz... 0064: B8 BB A8 04 02 A2 CA E7 68 89 AB 04 08 00 00 00 ........h....... 0080: 18 EA B6 F8 AF 04 50 00 32 68 04 1D 36 24 54 29 ......P.2h..6$T) 0096: 0A 84 B9 A8 A8 BE D4 0E D0 29 A6 9E 2C DD 85 54 .........)..,..T 0112: D5 2A D4 64 B8 03 12 5B 3E 89 AC 1D 4A 04 09 B4 .*.d...[>...J... 0128: 5B B2 74 FA F2 3C 1C CA 22 E5 27 A9 AF F1 7E 42 [.t..<..".'...~B 0144: 66 2E A9 3D 6F 82 71 F8 8C 92 A9 9A C2 25 97 0B f..=o.q......%.. 0160: 3C 00 FD B3 CD A4 D9 <...... usm: USM processing begun... usm: match on user feroz usm: Verification succeeded. usm: USM processing completed. snmptrapd: input: a6 snmptrapd: Trap OID: IF-MIB::linkUp snmptrapd: Running auth trap handlers snmptrapd:auth: Comparing auth types: result=0, request=0, result=1 snmptrapd:auth: Calling VACM for checking phase 0:read snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 1:write snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 2:notify snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 3:log snmptrapd:auth: result: authorized snmptrapd:auth: Calling VACM for checking phase 4:execute snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 5:net snmptrapd:auth: result: authorized snmptrapd:auth: Calling VACM for checking phase 6:(null) snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 7:(null) snmptrapd:auth: result: not authorized snmptrapd:auth: Final bitmask auth: 28 snmptrapd: Running pre-global trap handlers snmptrapd:auth: Comparing auth types: result=40, request=8, result=1 snmptrapd: print_handler snmptrapd: v2/3 format 2020-12-07 08:17:11 localhost [UDP: [127.0.0.1]:37270->[127.0.0.1]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp snmptrapd: Running trap specific handlers snmptrapd:lookup: Looking up Trap OID: IF-MIB::linkUp snmptrapd:lookup: get_traphandler default (0x2002b00) snmptrapd:auth: Comparing auth types: result=40, request=32, result=1 snmptrapd: forward_handler (2.2.2.2:162) usm: potentially bootstrapping the USM table from session data usm: getting user usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 21 B3 06 28 02 03 00 0>...0...!..(... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 09 79 67 C3 02 01 00 02 01 00 30 00 .....yg.......0. Received 115 byte packet from UDP: [2.2.2.2]:162->[0.0.0.0]:54017 0000: 30 71 02 01 03 30 11 02 04 21 B3 06 28 02 03 00 0q...0...!..(... 0016: FF E3 04 01 00 02 01 03 04 21 30 1F 04 11 80 00 .........!0..... 0032: 1F 88 80 83 3E 1C 6F 6C 55 CE 5F 00 00 00 00 02 ....>.olU._..... 0048: 01 01 02 01 26 04 00 04 00 04 00 30 36 04 11 80 ....&......06... 0064: 00 1F 88 80 83 3E 1C 6F 6C 55 CE 5F 00 00 00 00 .....>.olU._.... 0080: 04 00 A8 1F 02 04 09 79 67 C3 02 01 00 02 01 00 .......yg....... 0096: 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 01 04 00 0.0...+......... 0112: 41 01 03 A.. usm: USM processing begun... usm: USM processing completed. usm: potentially bootstrapping the USM table from session data usm: USM processing has begun (offset 79) usm: Encryption successful. usm: USM processing completed. Sending 167 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 81 A4 02 01 03 30 11 02 04 1C 3E BC 52 02 03 0.....0....>.R.. 0016: 00 FF E3 04 01 07 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 D9 2A E1 43 83 55 CE 5F 00 00 00 00 .....*.C.U._.... 0048: 02 01 01 02 01 04 04 05 66 65 72 6F 7A 04 0C 90 ........feroz... 0064: AF AB 6D D8 B1 AE C9 14 97 A8 AD 04 08 00 00 00 ..m............. 0080: 01 1B A4 5C BF 04 50 AC 89 91 EC DE 90 46 4D 20 ...\..P......FM 0096: 05 86 A8 5A 6E D3 24 DE 22 D2 8E 6E 6D DD AD 51 ...Zn.$."..nm..Q 0112: F6 CC F8 06 10 AA 05 C4 2A E3 B2 BF 69 92 E2 9B ........*...i... 0128: BC 6D 75 40 71 6C 60 B2 E5 48 2A E4 18 A9 DD D8 .mu@ql`..H*..... 0144: 0C 2F C8 9C BB 94 9F FD DA B8 63 5C 62 8B 8C 47 ./........c\b..G 0160: 5C AA 0A FF 96 85 42 \.....B snmptrapd: Running global handlers snmptrapd:auth: Comparing auth types: result=40, request=8, result=1 snmptrapd: notification_handler usm: USM processing has begun (offset 79) snmpinform: Timeout [1]+ Segmentation fault (core dumped) /usr/sbin/snmptrapd -f -C -c /tmp/snmptrapd.conf -Lo -d -Dusm,snmptrapd,sess_async_send root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# Sending 167 bytes to UDP: [127.0.0.1]:35038->[127.0.0.1]:162 0000: 30 81 A4 02 01 03 30 11 02 04 66 67 CF 5C 02 03 0.....0...fg.\.. 0016: 00 FF E3 04 01 03 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 10 B1 C3 57 AE 4E CE 5F 00 00 00 00 .......W.N._.... 0048: 02 01 01 02 01 23 04 05 66 65 72 6F 7A 04 0C 0A .....#..feroz... 0064: D3 35 8E 3E 0C 12 50 07 A4 8B 51 04 08 00 00 00 .5.>..P...Q..... 0080: 01 64 2C B4 A3 04 50 B7 7B 7F 09 F5 4D F1 2B 82 .d,...P.{...M.+. 0096: 77 96 E2 34 7C 73 DC 18 1F 03 31 5D 19 12 E7 08 w..4|s....1].... 0112: D8 F5 18 11 86 79 4B E5 21 06 92 CF 84 E3 2C 58 .....yK.!.....,X 0128: 1C F2 24 E2 6D E0 BA 2B 3A 40 52 0E C3 F3 E1 56 ..$.m..+:@R....V 0144: 05 24 E1 72 7E C7 F8 C9 68 5A 64 1A E3 1D 03 E1 .$.r~...hZd..... 0160: 3D 08 FF 5C B5 0D 85 =..\... Received 167 byte packet from UDP: [127.0.0.1]:35038->[127.0.0.1]:162 0000: 30 81 A4 02 01 03 30 11 02 04 66 67 CF 5D 02 03 0.....0...fg.].. 0016: 00 FF E3 04 01 07 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 10 B1 C3 57 AE 4E CE 5F 00 00 00 00 .......W.N._.... 0048: 02 01 01 02 01 0F 04 05 66 65 72 6F 7A 04 0C AB ........feroz... 0064: 1B DD F6 25 0E DE E1 FB B4 63 7B 04 08 00 00 00 ...%.....c{..... 0080: 13 61 87 59 E8 04 50 6D D2 4D 66 16 DF E9 62 A0 .a.Y..Pm.Mf...b. 0096: 94 D2 E5 4C 40 39 AD 07 1D F4 E6 BA AB E0 82 11 ...L@9.......... 0112: 44 9C AF BD EC A5 47 DE 15 8F 16 1C E0 0B AE 52 D.....G........R 0128: B7 82 F3 FF F6 D8 51 AF B9 BD FF 90 51 A5 AA 20 ......Q.....Q.. 0144: 9D 16 C8 8A 61 7A 98 4F 52 9A 2A 6D F7 4B 2E CA ....az.OR.*m.K.. 0160: CC E6 F9 9D A4 5F 1A ....._. usm: USM processing begun... usm: match on user feroz usm: Verification succeeded. usm: USM processing completed. snmptrapd: input: a6 snmptrapd: Trap OID: IF-MIB::linkUp snmptrapd: Running auth trap handlers snmptrapd:auth: Comparing auth types: result=40, request=0, result=1 snmptrapd:auth: Calling VACM for checking phase 0:read snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 1:write snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 2:notify snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 3:log snmptrapd:auth: result: authorized snmptrapd:auth: Calling VACM for checking phase 4:execute snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 5:net snmptrapd:auth: result: authorized snmptrapd:auth: Calling VACM for checking phase 6:(null) snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 7:(null) snmptrapd:auth: result: not authorized snmptrapd:auth: Final bitmask auth: 28 snmptrapd: Running pre-global trap handlers snmptrapd:auth: Comparing auth types: result=40, request=8, result=1 snmptrapd: print_handler snmptrapd: v2/3 format 2020-12-07 07:48:32 localhost [UDP: [127.0.0.1]:35038->[127.0.0.1]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp snmptrapd: Running trap specific handlers snmptrapd:lookup: Looking up Trap OID: IF-MIB::linkUp snmptrapd:lookup: get_traphandler default (0x10b4b00) snmptrapd:auth: Comparing auth types: result=40, request=32, result=1 snmptrapd: forward_handler (2.2.2.2:162) usm: potentially bootstrapping the USM table from session data usm: getting user usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 99 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AB 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 9A 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AB 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 9B 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AB 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 9C 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AB 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 9D 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AB 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 9E 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AB 02 01 00 02 01 00 30 00 ...._.^.......0. Forward failed: Timeout snmptrapd: Running global handlers snmptrapd:auth: Comparing auth types: result=40, request=8, result=1 snmptrapd: notification_handler usm: USM processing has begun (offset 79) usm: Encryption successful. usm: USM processing completed. Sending 167 bytes to UDP: [127.0.0.1]:35038->[127.0.0.1]:162 0000: 30 81 A4 02 01 03 30 11 02 04 66 67 CF 5D 02 03 0.....0...fg.].. 0016: 00 FF E3 04 01 03 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 10 B1 C3 57 AE 4E CE 5F 00 00 00 00 .......W.N._.... 0048: 02 01 01 02 01 29 04 05 66 65 72 6F 7A 04 0C BC .....)..feroz... 0064: 8B 54 35 C1 F3 3F 79 FA FC 0D 35 04 08 00 00 00 .T5..?y...5..... 0080: 01 64 2C B4 A4 04 50 EA BD A9 AF 5F 55 3A D3 F3 .d,...P...._U:.. 0096: BC 37 FC B1 E1 D3 89 C4 EC AB 19 BC 6F 57 64 8F .7..........oWd. 0112: FC 87 7D B8 BB 78 C4 50 78 0F F2 F4 7C A6 BE 57 ..}..x.Px...|..W 0128: E3 3D A6 53 F2 CC 9B 94 B9 CA 09 15 16 64 B5 59 .=.S.........d.Y 0144: DA 44 58 AE AB 8B 57 70 56 FB 72 C3 88 17 35 AC .DX...WpV.r...5. 0160: 11 D4 0C C9 5A 95 C3 ....Z.. Received 167 byte packet from UDP: [127.0.0.1]:35038->[127.0.0.1]:162 0000: 30 81 A4 02 01 03 30 11 02 04 66 67 CF 5E 02 03 0.....0...fg.^.. 0016: 00 FF E3 04 01 07 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 10 B1 C3 57 AE 4E CE 5F 00 00 00 00 .......W.N._.... 0048: 02 01 01 02 01 10 04 05 66 65 72 6F 7A 04 0C 33 ........feroz..3 0064: C2 D0 2E EF 34 C9 98 3D 47 47 14 04 08 00 00 00 ....4..=GG...... 0080: 13 61 87 59 E9 04 50 6B C0 0F 46 6C B4 A3 48 91 .a.Y..Pk..Fl..H. 0096: 70 AE 75 A6 7C 74 1D 66 12 C3 65 59 8B E6 CB 7E p.u.|t.f..eY...~ 0112: 78 1B B9 E7 B0 02 44 39 46 11 76 08 A5 69 79 77 x.....D9F.v..iyw 0128: 17 7D 8C BB 9D B9 E0 3E BC 8D 05 69 67 C8 2B A4 .}.....>...ig.+. 0144: DB 1D 78 B1 41 6E DE 52 96 F8 BB 65 D2 1A E8 0A ..x.An.R...e.... 0160: 3D 3C 60 F7 3C CB 86 =<`.<.. usm: USM processing begun... usm: match on user feroz usm: Verification succeeded. usm: USM processing completed. snmptrapd: input: a6 snmptrapd: Trap OID: IF-MIB::linkUp snmptrapd: Running auth trap handlers snmptrapd:auth: Comparing auth types: result=40, request=0, result=1 snmptrapd:auth: Calling VACM for checking phase 0:read snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 1:write snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 2:notify snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 3:log snmptrapd:auth: result: authorized snmptrapd:auth: Calling VACM for checking phase 4:execute snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 5:net snmptrapd:auth: result: authorized snmptrapd:auth: Calling VACM for checking phase 6:(null) snmptrapd:auth: result: not authorized snmptrapd:auth: Calling VACM for checking phase 7:(null) snmptrapd:auth: result: not authorized snmptrapd:auth: Final bitmask auth: 28 snmptrapd: Running pre-global trap handlers snmptrapd:auth: Comparing auth types: result=40, request=8, result=1 snmptrapd: print_handler snmptrapd: v2/3 format 2020-12-07 07:48:38 localhost [UDP: [127.0.0.1]:35038->[127.0.0.1]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp snmptrapd: Running trap specific handlers snmptrapd:lookup: Looking up Trap OID: IF-MIB::linkUp snmptrapd:lookup: get_traphandler default (0x10b4b00) snmptrapd:auth: Comparing auth types: result=40, request=32, result=1 snmptrapd: forward_handler (2.2.2.2:162) usm: potentially bootstrapping the USM table from session data usm: getting user usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 9F 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AC 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 A0 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AC 02 01 00 02 01 00 30 00 ...._.^.......0. usm: USM processing has begun (offset 22) usm: getting user usm: Failed to find engine data. usm: USM processing completed. Sending 64 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 3E 02 01 03 30 11 02 04 0B C8 44 A1 02 03 00 0>...0.....D.... 0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0..... 0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0..... 0048: A0 0E 02 04 5F 1C 5E AC 02 01 00 02 01 00 30 00 ...._.^.......0. Received 115 byte packet from UDP: [2.2.2.2]:162->[0.0.0.0]:32924 0000: 30 71 02 01 03 30 11 02 04 0B C8 44 A1 02 03 00 0q...0.....D.... 0016: FF E3 04 01 00 02 01 03 04 21 30 1F 04 11 80 00 .........!0..... 0032: 1F 88 80 7D B4 C8 4B E2 4E CE 5F 00 00 00 00 02 ...}..K.N._..... 0048: 01 01 02 01 00 04 00 04 00 04 00 30 36 04 11 80 ...........06... 0064: 00 1F 88 80 7D B4 C8 4B E2 4E CE 5F 00 00 00 00 ....}..K.N._.... 0080: 04 00 A8 1F 02 04 5F 1C 5E AC 02 01 00 02 01 00 ......_.^....... 0096: 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 01 04 00 0.0...+......... 0112: 41 01 01 A.. usm: USM processing begun... usm: USM processing completed. usm: potentially bootstrapping the USM table from session data usm: USM processing has begun (offset 79) usm: Encryption successful. usm: USM processing completed. Sending 167 bytes to UDP: [2.2.2.2]:162->[0.0.0.0]:0 0000: 30 81 A4 02 01 03 30 11 02 04 66 67 CF 5E 02 03 0.....0...fg.^.. 0016: 00 FF E3 04 01 07 02 01 03 04 3A 30 38 04 11 80 ..........:08... 0032: 00 1F 88 80 10 B1 C3 57 AE 4E CE 5F 00 00 00 00 .......W.N._.... 0048: 02 01 01 02 01 2B 04 05 66 65 72 6F 7A 04 0C 6B .....+..feroz..k 0064: 96 6B 77 09 CA 14 0D BD 3F 44 4E 04 08 00 00 00 .kw.....?DN..... 0080: 01 64 2C B4 A5 04 50 A0 36 6F 33 46 4B C4 A7 3D .d,...P.6o3FK..= 0096: 93 40 CA 77 A5 6B 3E 98 66 FC 4B D1 5A 65 69 68 .@.w.k>.f.K.Zeih 0112: 25 EB B8 C2 50 66 3B D4 FB 24 56 C7 1F 48 F0 70 %...Pf;..$V..H.p 0128: 60 61 B1 7D B1 6A 18 F2 DE 93 83 65 61 C2 60 CE `a.}.j.....ea.`. 0144: 07 75 E3 9D B2 8A AC 15 5F C7 62 6E E0 E5 96 6C .u......_.bn...l 0160: 30 FE A2 55 6A DA BB 0..Uj.. snmptrapd: Running global handlers snmptrapd:auth: Comparing auth types: result=40, request=8, result=1 snmptrapd: notification_handler usm: USM processing has begun (offset 79) usm: Failed to find engine data. [1]+ Segmentation fault (core dumped) /usr/sbin/snmptrapd -f -C -c /tmp/snmptrapd.conf -Lo -d -Dusm,snmptrapd,sess_async_send root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# -- Regards, Feroz Ahmed
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders