aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2017-01-31 19:17:06 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2017-01-31 19:17:06 +0000
commitd79b843cb78484ea27f877f1541055e1a6a5a4d3 (patch)
tree57b11b7f3aa68244815f4469b548fcab0c5c3e78 /tests
parent1bf4ba1024df1c302debe8156a60a9dfafb149ee (diff)
downloadsrc-d79b843cb78484ea27f877f1541055e1a6a5a4d3.tar.gz
src-d79b843cb78484ea27f877f1541055e1a6a5a4d3.zip
Import tcpdump-4.9.0 into dist.
Notes
Notes: svn path=/vendor/tcpdump/dist/; revision=313024
Diffstat (limited to 'tests')
-rw-r--r--tests/OLSRv1_HNA_sgw_1.out13
-rw-r--r--tests/OLSRv1_HNA_sgw_1.pcapbin0 -> 158 bytes
-rw-r--r--tests/RADIUS-port1700.pcapbin0 -> 107 bytes
-rw-r--r--tests/TESTLIST188
-rwxr-xr-xtests/TESTonce6
-rw-r--r--tests/aarp-heapoverflow-1.out1
-rw-r--r--tests/aarp-heapoverflow-1.pcapbin0 -> 329 bytes
-rw-r--r--tests/aarp-heapoverflow-2.out1
-rw-r--r--tests/aarp-heapoverflow-2.pcapbin0 -> 329 bytes
-rw-r--r--tests/arp-too-long-tha.out1
-rw-r--r--tests/arp-too-long-tha.pcapbin0 -> 180 bytes
-rw-r--r--tests/atm-heapoverflow.out1
-rw-r--r--tests/atm-heapoverflow.pcapbin0 -> 124 bytes
-rw-r--r--tests/atm-oam-heapoverflow.out1
-rw-r--r--tests/atm-oam-heapoverflow.pcapbin0 -> 88 bytes
-rw-r--r--tests/bad-ipv4-version-pgm-heapoverflow.out1
-rw-r--r--tests/bad-ipv4-version-pgm-heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/bfd-raw-auth-md5-v.out341
-rw-r--r--tests/bfd-raw-auth-md5.out31
-rw-r--r--tests/bfd-raw-auth-md5.pcapbin0 -> 3434 bytes
-rw-r--r--tests/bfd-raw-auth-sha1-v.out275
-rw-r--r--tests/bfd-raw-auth-sha1.out25
-rw-r--r--tests/bfd-raw-auth-sha1.pcapbin0 -> 2874 bytes
-rw-r--r--tests/bfd-raw-auth-simple-v.out150
-rw-r--r--tests/bfd-raw-auth-simple.out15
-rw-r--r--tests/bfd-raw-auth-simple.pcapbin0 -> 1449 bytes
-rw-r--r--tests/bgp-aigp.out20
-rw-r--r--tests/bgp-aigp.pcapbin0 -> 258 bytes
-rw-r--r--tests/bgp-large-community.out42
-rw-r--r--tests/bgp-large-community.pcapbin0 -> 481 bytes
-rw-r--r--tests/calm-fast-mac-lookup-heapoverflow.out5
-rw-r--r--tests/calm-fast-mac-lookup-heapoverflow.pcapbin0 -> 202 bytes
-rwxr-xr-xtests/crypto.sh4
-rw-r--r--tests/cve-2014-8767-OLSR.out4
-rw-r--r--tests/cve-2014-8767-OLSR.pcapbin0 -> 115 bytes
-rw-r--r--tests/cve-2014-8768-Geonet.out1
-rw-r--r--tests/cve-2014-8768-Geonet.pcapbin0 -> 115 bytes
-rw-r--r--tests/cve-2014-8769-AODV.out2
-rw-r--r--tests/cve-2014-8769-AODV.pcapbin0 -> 115 bytes
-rw-r--r--tests/cve2015-0261-crash.pcapbin201 -> 201 bytes
-rw-r--r--tests/cve2015-0261-ipv6.out2
-rw-r--r--tests/dhcp-mud.out36
-rw-r--r--tests/dhcp-mud.pcapbin0 -> 844 bytes
-rw-r--r--tests/dhcpv6-mud.out5
-rw-r--r--tests/dhcpv6-mud.pcapbin0 -> 1634 bytes
-rw-r--r--tests/dnssec-vv.out12
-rw-r--r--tests/dnssec.pcapbin0 -> 3936 bytes
-rw-r--r--tests/dtp-v.out35
-rw-r--r--tests/evb.out120
-rw-r--r--tests/failure-outputs.txt0
-rw-r--r--tests/frf15-heapoverflow.out1
-rw-r--r--tests/frf15-heapoverflow.pcapbin0 -> 88 bytes
-rw-r--r--tests/geonet-mac-lookup-heapoverflow.out1
-rw-r--r--tests/geonet-mac-lookup-heapoverflow.pcapbin0 -> 74 bytes
-rw-r--r--tests/gre-heapoverflow-1.out8
-rw-r--r--tests/gre-heapoverflow-1.pcapbin0 -> 202 bytes
-rw-r--r--tests/gre-heapoverflow-2.out6
-rw-r--r--tests/gre-heapoverflow-2.pcapbin0 -> 202 bytes
-rw-r--r--tests/heap-overflow-1.out1
-rw-r--r--tests/heap-overflow-1.pcapbin0 -> 88 bytes
-rw-r--r--tests/heap-overflow-2.out1
-rw-r--r--tests/heap-overflow-2.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-EXTRACT_16BITS.out1
-rw-r--r--tests/heapoverflow-EXTRACT_16BITS.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-atalk_print.out1
-rw-r--r--tests/heapoverflow-atalk_print.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-in_checksum.out3
-rw-r--r--tests/heapoverflow-in_checksum.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-ip_print_demux.out6
-rw-r--r--tests/heapoverflow-ip_print_demux.pcapbin0 -> 202 bytes
-rw-r--r--tests/heapoverflow-ppp_hdlc_if_print.out1
-rw-r--r--tests/heapoverflow-ppp_hdlc_if_print.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-q933_printq.out2
-rw-r--r--tests/heapoverflow-q933_printq.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-sl_if_print.out1
-rw-r--r--tests/heapoverflow-sl_if_print.pcapbin0 -> 88 bytes
-rw-r--r--tests/heapoverflow-tcp_print.out2
-rw-r--r--tests/heapoverflow-tcp_print.pcapbin0 -> 112 bytes
-rw-r--r--tests/hncp.out53
-rw-r--r--tests/hncp.pcapbin0 -> 1566 bytes
-rw-r--r--tests/ieee802.11_exthdr.out52
-rw-r--r--tests/ieee802.11_rx-stbc.out6
-rw-r--r--tests/ikev2pI2-segfault-v.out8
-rw-r--r--tests/ikev2pI2-segfault.out1
-rw-r--r--tests/ikev2pI2-segfault.pcapbin0 -> 656 bytes
-rw-r--r--tests/ipcomp-heapoverflow.out2
-rw-r--r--tests/ipcomp-heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/ipv6hdr-heapoverflow-v.out1
-rw-r--r--tests/ipv6hdr-heapoverflow.out1
-rw-r--r--tests/ipv6hdr-heapoverflow.pcapbin0 -> 88 bytes
-rw-r--r--tests/isis-seg-fault-1-v.out301
-rwxr-xr-xtests/isis-seg-fault-1-v.sh17
-rw-r--r--tests/isis-seg-fault-1.pcapbin0 -> 1632 bytes
-rw-r--r--tests/isis-seg-fault-2-v.out222
-rw-r--r--tests/isis-seg-fault-2.pcapbin0 -> 1632 bytes
-rw-r--r--tests/isis-seg-fault-3-v.out4
-rw-r--r--tests/isis-seg-fault-3.pcapbin0 -> 196 bytes
-rw-r--r--tests/isis_poi.out8
-rw-r--r--tests/isis_poi.pcapbin0 -> 122 bytes
-rw-r--r--tests/isis_poi2.out9
-rw-r--r--tests/isis_poi2.pcapbin0 -> 128 bytes
-rw-r--r--tests/isoclns-heapoverflow-2.out1
-rw-r--r--tests/isoclns-heapoverflow-2.pcapbin0 -> 152 bytes
-rw-r--r--tests/isoclns-heapoverflow-3.out1
-rw-r--r--tests/isoclns-heapoverflow-3.pcapbin0 -> 152 bytes
-rw-r--r--tests/isoclns-heapoverflow.out1
-rw-r--r--tests/isoclns-heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/juniper_header-heapoverflow.out1
-rw-r--r--tests/juniper_header-heapoverflow.pcapbin0 -> 200 bytes
-rw-r--r--tests/kday1.out15
-rw-r--r--tests/kday2.out9
-rw-r--r--tests/kday3.out13
-rw-r--r--tests/kday4.out16
-rw-r--r--tests/kday5.out7
-rw-r--r--tests/kday6.out20
-rw-r--r--tests/kday7.out17
-rw-r--r--tests/kday8.out9
-rw-r--r--tests/lisp_eid_notify.out63
-rw-r--r--tests/lisp_eid_notify.pcapbin0 -> 776 bytes
-rw-r--r--tests/lisp_eid_register.out28
-rw-r--r--tests/lisp_eid_register.pcapbin0 -> 384 bytes
-rw-r--r--tests/lisp_ipv6.out24
-rw-r--r--tests/lisp_ipv6.pcapbin0 -> 396 bytes
-rw-r--r--tests/llc-xid-heapoverflow.out1
-rw-r--r--tests/llc-xid-heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/lldp_cdp-ev.out8
-rw-r--r--tests/lldp_mudurl-v.out62
-rw-r--r--tests/lldp_mudurl-vv.out106
-rw-r--r--tests/lldp_mudurl.pcapbin0 -> 660 bytes
-rwxr-xr-xtests/lmp-v.sh4
-rw-r--r--tests/lspping-fec-ldp-v.out111
-rw-r--r--tests/lspping-fec-ldp-vv.out121
-rw-r--r--tests/lspping-fec-ldp.out13
-rw-r--r--tests/lspping-fec-rsvp-v.out105
-rw-r--r--tests/lspping-fec-rsvp-vv.out125
-rw-r--r--tests/lspping-fec-rsvp.out10
-rw-r--r--tests/medsa-e.out20
-rw-r--r--tests/medsa.out20
-rw-r--r--tests/medsa.pcapbin0 -> 2568 bytes
-rw-r--r--tests/mpls-label-heapoverflow.out2
-rw-r--r--tests/mpls-label-heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/mpls-traceroute-v.out81
-rw-r--r--tests/mpls-traceroute.out18
-rw-r--r--tests/mstp-v.out80
-rwxr-xr-xtests/nflog-e.sh2
-rw-r--r--tests/nfs-seg-fault-1.out1
-rw-r--r--tests/nfs-seg-fault-1.pcapbin0 -> 8120 bytes
-rw-r--r--tests/nsh-over-vxlan-gpe-v.out5
-rw-r--r--tests/nsh-over-vxlan-gpe-vv.out5
-rw-r--r--tests/nsh-over-vxlan-gpe-vvv.out9
-rw-r--r--tests/nsh-over-vxlan-gpe.out1
-rw-r--r--tests/nsh-over-vxlan-gpe.pcapbin0 -> 146 bytes
-rw-r--r--tests/of10_p3295-vv.out4
-rw-r--r--tests/of10_s4810-vvvv.out24
-rw-r--r--tests/ospf2-seg-fault-1-v.out9
-rw-r--r--tests/ospf2-seg-fault-1.pcapbin0 -> 292 bytes
-rw-r--r--tests/otv-heapoverflow-1.out10
-rw-r--r--tests/otv-heapoverflow-1.pcapbin0 -> 896 bytes
-rw-r--r--tests/otv-heapoverflow-2.out11
-rw-r--r--tests/otv-heapoverflow-2.pcapbin0 -> 896 bytes
-rw-r--r--tests/pcap-invalid-version-1.out1
-rw-r--r--tests/pcap-invalid-version-1.pcapbin0 -> 530 bytes
-rw-r--r--tests/pcap-invalid-version-2.out1
-rw-r--r--tests/pcap-invalid-version-2.pcapbin0 -> 530 bytes
-rw-r--r--tests/pcap-ng-invalid-vers-1.out1
-rw-r--r--tests/pcap-ng-invalid-vers-1.pcapbin0 -> 260 bytes
-rw-r--r--tests/pcap-ng-invalid-vers-2.out1
-rw-r--r--tests/pcap-ng-invalid-vers-2.pcapbin0 -> 260 bytes
-rw-r--r--tests/q933-heapoverflow-2.out24
-rw-r--r--tests/q933-heapoverflow-2.pcapbin0 -> 1483 bytes
-rw-r--r--tests/radiotap-heapoverflow.out1
-rw-r--r--tests/radiotap-heapoverflow.pcapbin0 -> 296 bytes
-rw-r--r--tests/radius-port1700-v.out4
-rw-r--r--tests/radius-rfc4675-v.out2
-rw-r--r--tests/relts-0x80000000.out2
-rw-r--r--tests/relts-0x80000000.pcapbin0 -> 440 bytes
-rw-r--r--tests/resp_1.out150
-rw-r--r--tests/resp_1_benchmark.pcapbin0 -> 26858 bytes
-rw-r--r--tests/resp_2.out14
-rw-r--r--tests/resp_2_inline.pcapbin0 -> 2671 bytes
-rw-r--r--tests/resp_3.out163
-rw-r--r--tests/resp_3_malicious.pcapbin0 -> 14724 bytes
-rw-r--r--tests/rpl-14-daovvv.out2
-rw-r--r--tests/rpl-19-pickdag.out2
-rw-r--r--tests/rpl-19-pickdagvvv.out2
-rw-r--r--tests/rpl-26-senddaovv.out2
-rw-r--r--tests/rsvp-inf-loop-2-v.out12
-rw-r--r--tests/rsvp-inf-loop-2.pcapbin0 -> 400 bytes
-rw-r--r--tests/rtp-seg-fault-1.out2
-rw-r--r--tests/rtp-seg-fault-1.pcapbin0 -> 2360 bytes
-rw-r--r--tests/rtp-seg-fault-2.out2
-rw-r--r--tests/rtp-seg-fault-2.pcapbin0 -> 1192 bytes
-rw-r--r--tests/scps_invalid.out2
-rw-r--r--tests/scps_invalid.pcapbin0 -> 264 bytes
-rw-r--r--tests/snmp-heapoverflow-1.out21
-rw-r--r--tests/snmp-heapoverflow-1.pcapbin0 -> 2804 bytes
-rw-r--r--tests/snmp-heapoverflow-2.out1
-rw-r--r--tests/snmp-heapoverflow-2.pcapbin0 -> 173 bytes
-rw-r--r--tests/spb_bpduv4-v.out400
-rw-r--r--tests/stp-heapoverflow-1.out27
-rw-r--r--tests/stp-heapoverflow-1.pcapbin0 -> 1076 bytes
-rw-r--r--tests/stp-heapoverflow-2.out27
-rw-r--r--tests/stp-heapoverflow-2.pcapbin0 -> 1076 bytes
-rw-r--r--tests/stp-heapoverflow-3.out27
-rw-r--r--tests/stp-heapoverflow-3.pcapbin0 -> 1076 bytes
-rw-r--r--tests/stp-heapoverflow-4.out27
-rw-r--r--tests/stp-heapoverflow-4.pcapbin0 -> 1076 bytes
-rw-r--r--tests/stp-heapoverflow-5.out27
-rw-r--r--tests/stp-heapoverflow-5.pcapbin0 -> 1076 bytes
-rw-r--r--tests/tcp-auth-heapoverflow.out2
-rw-r--r--tests/tcp-auth-heapoverflow.pcapbin0 -> 138 bytes
-rw-r--r--tests/tcp_header_heapoverflow.out2
-rw-r--r--tests/tcp_header_heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/tftp-heapoverflow.out2
-rw-r--r--tests/tftp-heapoverflow.pcapbin0 -> 180 bytes
-rw-r--r--tests/trunc_aack.out1
-rw-r--r--tests/truncated-aack.pcapbin0 -> 50 bytes
-rw-r--r--tests/udld-inf-loop-1-v.out9
-rw-r--r--tests/udld-inf-loop-1.pcapbin0 -> 220 bytes
-rw-r--r--tests/udld-v.out406
-rw-r--r--tests/udp-length-heapoverflow.out2
-rw-r--r--tests/udp-length-heapoverflow.pcapbin0 -> 329 bytes
-rw-r--r--tests/unaligned-nfs-1.out2
-rw-r--r--tests/unaligned-nfs-1.pcapbin0 -> 222 bytes
-rw-r--r--tests/vxlan.out20
-rw-r--r--tests/vxlan.pcapbin0 -> 1552 bytes
-rw-r--r--tests/zmtp1-inf-loop-1.out2
-rw-r--r--tests/zmtp1-inf-loop-1.pcapbin0 -> 208 bytes
228 files changed, 4184 insertions, 462 deletions
diff --git a/tests/OLSRv1_HNA_sgw_1.out b/tests/OLSRv1_HNA_sgw_1.out
new file mode 100644
index 000000000000..0f41cdcdd6a8
--- /dev/null
+++ b/tests/OLSRv1_HNA_sgw_1.out
@@ -0,0 +1,13 @@
+IP (tos 0x10, ttl 1, id 25245, offset 0, flags [DF], proto UDP (17), length 100)
+ 172.29.175.220.698 > 255.255.255.255.698: OLSRv4, seq 0xce93, length 72
+ HNA Message (0x04), originator 172.31.175.220, ttl 255, hop 0
+ vtime 288.000s, msg-seq 0x6ce5, length 28
+ Advertised networks (total 2)
+ Smart-Gateway: LINKSPEED IPV4 IPV4-NAT 10000/10000, 10.175.220.0/24
+ Hello-LQ Message (0xc9), originator 172.31.175.220, ttl 1, hop 0
+ vtime 3.000s, msg-seq 0x6ce6, length 40
+ hello-time 1.000s, MPR willingness 3
+ link-type Symmetric, neighbor-type Symmetric, len 12
+ neighbor 172.29.175.221, link-quality 0.00%, neighbor-link-quality 0.00%
+ link-type Unspecified, neighbor-type Symmetric, len 12
+ neighbor 172.31.175.221, link-quality 0.00%, neighbor-link-quality 0.00%
diff --git a/tests/OLSRv1_HNA_sgw_1.pcap b/tests/OLSRv1_HNA_sgw_1.pcap
new file mode 100644
index 000000000000..f975d8fcef98
--- /dev/null
+++ b/tests/OLSRv1_HNA_sgw_1.pcap
Binary files differ
diff --git a/tests/RADIUS-port1700.pcap b/tests/RADIUS-port1700.pcap
new file mode 100644
index 000000000000..aa7b24e6e297
--- /dev/null
+++ b/tests/RADIUS-port1700.pcap
Binary files differ
diff --git a/tests/TESTLIST b/tests/TESTLIST
index 35963c62260b..ba29da404680 100644
--- a/tests/TESTLIST
+++ b/tests/TESTLIST
@@ -1,3 +1,5 @@
+# The Option -n is useless in TESTLIST. It is already set in TESTonce.
+
# Various flags applied to a TCP session.
#
# We cannot rely on, for example, "print-x.out" and
@@ -20,12 +22,14 @@ print-AA print-flags.pcap print-AA.out -t -AA
bgp_vpn_attrset bgp_vpn_attrset.pcap bgp_vpn_attrset.out -t -v
mpbgp-linklocal-nexthop mpbgp-linklocal-nexthop.pcap mpbgp-linklocal-nexthop.out -t -v
bgp_infloop-v bgp-infinite-loop.pcap bgp_infloop-v.out -t -v
+bgp-aigp bgp-aigp.pcap bgp-aigp.out -t -v
+bgp-large-community bgp-large-community.pcap bgp-large-community.out -t -v
# EAP tests
eapon1 eapon1.pcap eapon1.out -t
# ESP tests
-esp0 02-sunrise-sunset-esp.pcap esp0.out -t -n
+esp0 02-sunrise-sunset-esp.pcap esp0.out -t
# more ESP tests in crypto.sh
# ISAKMP tests
@@ -42,6 +46,14 @@ lmp lmp.pcap lmp.out -t -T lmp
# MPLS tests
mpls-ldp-hello mpls-ldp-hello.pcap mpls-ldp-hello.out -t -v
ldp_infloop ldp-infinite-loop.pcap ldp_infloop.out -t
+lspping-fec-ldp lspping-fec-ldp.pcap lspping-fec-ldp.out -t
+lspping-fec-ldp-v lspping-fec-ldp.pcap lspping-fec-ldp-v.out -t -v
+lspping-fec-ldp-vv lspping-fec-ldp.pcap lspping-fec-ldp-vv.out -t -vv
+lspping-fec-rsvp lspping-fec-rsvp.pcap lspping-fec-rsvp.out -t
+lspping-fec-rsvp-v lspping-fec-rsvp.pcap lspping-fec-rsvp-v.out -t -v
+lspping-fec-rsvp-vv lspping-fec-rsvp.pcap lspping-fec-rsvp-vv.out -t -vv
+mpls-traceroute mpls-traceroute.pcap mpls-traceroute.out -t
+mpls-traceroute-v mpls-traceroute.pcap mpls-traceroute-v.out -t -v
# OSPF tests
ospf-gmpls ospf-gmpls.pcap ospf-gmpls.out -t -v
@@ -50,12 +62,16 @@ ospf3_auth-vv ospf3_auth.pcap ospf3_auth-vv.out -t -v -v
ospf3_bc-vv OSPFv3_broadcast_adjacency.pcap ospf3_bc-vv.out -t -v -v
ospf3_mp-vv OSPFv3_multipoint_adjacencies.pcap ospf3_mp-vv.out -t -v -v
ospf3_nbma-vv OSPFv3_NBMA_adjacencies.pcap ospf3_nbma-vv.out -t -v -v
+# fuzzed pcap
+ospf2-seg-fault-1-v ospf2-seg-fault-1.pcap ospf2-seg-fault-1-v.out -t -v
# IKEv2 tests
ikev2four ikev2four.pcap ikev2four.out -t -v
ikev2fourv ikev2four.pcap ikev2fourv.out -t -v -v -v
ikev2fourv4 ikev2four.pcap ikev2fourv4.out -t -v -v -v -v
# ikev2pI2 test in crypto.sh
+ikev2pI2-segfault ikev2pI2-segfault.pcap ikev2pI2-segfault.out -t
+ikev2pI2-segfault-v ikev2pI2-segfault.pcap ikev2pI2-segfault-v.out -t -v
# IETF ROLL RPL packets
dio02 rpl-19-pickdag.pcap rpl-19-pickdag.out -t -v -v
@@ -96,6 +112,9 @@ pppoe pppoe.pcap pppoe.out -t
pppoes pppoes.pcap pppoes.out -t
pppoes_id pppoes.pcap pppoes_id.out -t pppoes 0x3b
+# PPP tests
+truncated_aack truncated-aack.pcap trunc_aack.out -t
+
# IGMP tests
igmpv1 IGMP_V1.pcap igmpv1.out -t
igmpv2 IGMP_V2.pcap igmpv2.out -t
@@ -112,6 +131,7 @@ spb spb.pcap spb.out -t
# SPB BPDUv4 tests
spb_bpduv4 spb_bpduv4.pcap spb_bpduv4.out -t
+spb_bpduv4-v spb_bpduv4.pcap spb_bpduv4-v.out -t -v
# DCB Tests
dcb_ets dcb_ets.pcap dcb_ets.out -t -vv
@@ -139,6 +159,7 @@ dhcpv6-ia-ta dhcpv6-ia-ta.pcap dhcpv6-ia-ta.out -t -v
dhcpv6-ntp-server dhcpv6-ntp-server.pcap dhcpv6-ntp-server.out -t -v
dhcpv6-sip-server-d dhcpv6-sip-server-d.pcap dhcpv6-sip-server-d.out -t -v
dhcpv6-domain-list dhcpv6-domain-list.pcap dhcpv6-domain-list.out -t -v
+dhcpv6-mud dhcpv6-mud.pcap dhcpv6-mud.out -t -vv
# ZeroMQ/PGM tests
# ZMTP/1.0 over TCP
@@ -151,6 +172,8 @@ epgmv epgm_zmtp1.pcap epgmv.out -t -v -T pgm
pgm_zmtp1v pgm_zmtp1.pcap pgm_zmtp1v.out -t -v -T pgm_zmtp1
# ZMTP/1.0 inside UDP-encapsulated PGM
epgm_zmtp1v epgm_zmtp1.pcap epgm_zmtp1v.out -t -v -T pgm_zmtp1
+# fuzzed pcap
+zmtp1-inf-loop-1 zmtp1-inf-loop-1.pcap zmtp1-inf-loop-1.out -t -T zmtp1
# MS NLB tests
msnlb msnlb.pcap msnlb.out -t
@@ -161,6 +184,8 @@ mptcp mptcp.pcap mptcp.out -t
mptcp-fclose mptcp-fclose.pcap mptcp-fclose.out -t
# TFO tests
tfo tfo-5c1fa7f9ae91.pcap tfo.out -t
+# SCPS
+scps_invalid scps_invalid.pcap scps_invalid.out -t
# IEEE 802.11 tests
802.11_exthdr ieee802.11_exthdr.pcap ieee802.11_exthdr.out -t -v
@@ -174,7 +199,7 @@ of10_7050q-v of10_7050q.pcap of10_7050q-v.out -t -v
of10_7050sx_bsn-vv of10_7050sx_bsn.pcap of10_7050sx_bsn-vv.out -t -vv
# GeoNetworking and CALM FAST tests
-geonet-calm-fast geonet_and_calm_fast.pcap geonet_and_calm_fast.out -t -vv -n
+geonet-calm-fast geonet_and_calm_fast.pcap geonet_and_calm_fast.out -t -vv
# M3UA tests
m3ua isup.pcap isup.out -t
@@ -185,8 +210,11 @@ m3ua-vv isup.pcap isupvv.out -t -vv
# syslog test case
syslog-v syslog_udp.pcap syslog-v.out -t -v
+# DNSSEC from https://bugzilla.redhat.com/show_bug.cgi?id=205842, -vv exposes EDNS DO
+dnssec-vv dnssec.pcap dnssec-vv.out -t -vv
+
#IPv6 tests
-ipv6-bad-version.pcap ipv6-bad-version.pcap ipv6-bad-version.out -t
+ipv6-bad-version ipv6-bad-version.pcap ipv6-bad-version.out -t
ipv6-routing-header ipv6-routing-header.pcap ipv6-routing-header.out -t -v
# Loopback/CTP test case
@@ -217,9 +245,22 @@ pimv2_hellos-v PIMv2_hellos.pcap pimv2_hellos-v.out -t -v
# IS-IS tests
isis_infloop-v isis-infinite-loop.pcap isis_infloop-v.out -t -v
+isis_poi-v isis_poi.pcap isis_poi.out -t -v
+isis_poi2-v isis_poi2.pcap isis_poi2.out -t -v
+isis_1 ISIS_external_lsp.pcap isis_1.out -t
+isis_1-v ISIS_external_lsp.pcap isis_1-v.out -t -v
+isis_2-v ISIS_level1_adjacency.pcap isis_2-v.out -t -v
+isis_3-v ISIS_level2_adjacency.pcap isis_3-v.out -t -v
+isis_4-v ISIS_p2p_adjacency.pcap isis_4-v.out -t -v
+# fuzzed pcap
+# isis-seg-fault-1-v is now conditionally handled by isis-seg-fault-1-v.sh
+isis-seg-fault-2-v isis-seg-fault-2.pcap isis-seg-fault-2-v.out -t -v
+isis-seg-fault-3-v isis-seg-fault-3.pcap isis-seg-fault-3-v.out -t -v
# RSVP tests
rsvp_infloop-v rsvp-infinite-loop.pcap rsvp_infloop-v.out -t -v
+# fuzzed pcap
+rsvp-inf-loop-2-v rsvp-inf-loop-2.pcap rsvp-inf-loop-2-v.out -t -v
# HDLC tests
hdlc1 chdlc-slarp.pcap hdlc1.out -t
@@ -234,6 +275,7 @@ decnet DECnet_Phone.pcap decnet.out -t
radius-v RADIUS.pcap radius-v.out -t -v
radius-rfc4675 RADIUS-RFC4675.pcap radius-rfc4675-v.out -t -v
radius-rfc5176 RADIUS-RFC5176.pcap radius-rfc5176-v.out -t -v
+radius-port1700 RADIUS-port1700.pcap radius-port1700-v.out -t -v
# link-level protocols
dtp-v DTP.pcap dtp-v.out -t -v
@@ -241,6 +283,10 @@ lacp-ev LACP.pcap lacp-ev.out -t -e -v
lldp_cdp-ev LLDP_and_CDP.pcap lldp_cdp-ev.out -t -e -v
cdp-v 3560_CDP.pcap cdp-v.out -t -v
udld-v UDLD.pcap udld-v.out -t -v
+lldp_mud-v lldp_mudurl.pcap lldp_mudurl-v.out -t -e -v
+lldp_mud-vv lldp_mudurl.pcap lldp_mudurl-vv.out -t -e -vv
+# fuzzed pcap
+udld-inf-loop-1-v udld-inf-loop-1.pcap udld-inf-loop-1-v.out -t -v
# EIGRP tests
eigrp1-v EIGRP_adjacency.pcap eigrp1-v.out -t -v
@@ -248,13 +294,6 @@ eigrp2-v EIGRP_goodbye.pcap eigrp2-v.out -t -v
eigrp3-v EIGRP_subnet_down.pcap eigrp3-v.out -t -v
eigrp4-v EIGRP_subnet_up.pcap eigrp4-v.out -t -v
-# IS-IS tests
-isis_1 ISIS_external_lsp.pcap isis_1.out -t
-isis_1-v ISIS_external_lsp.pcap isis_1-v.out -t -v
-isis_2-v ISIS_level1_adjacency.pcap isis_2-v.out -t -v
-isis_3-v ISIS_level2_adjacency.pcap isis_3-v.out -t -v
-isis_4-v ISIS_p2p_adjacency.pcap isis_4-v.out -t -v
-
# ATA-over-Ethernet tests
aoe_1 AoE_Linux.pcap aoe_1.out -t
aoe_1-v AoE_Linux.pcap aoe_1-v.out -t -v
@@ -267,25 +306,140 @@ geneve-tcp geneve.pcap geneve-tcp.out -t "geneve && tcp"
# DHCP tests
dhcp-rfc3004 dhcp-rfc3004.pcap dhcp-rfc3004-v.out -t -v
dhcp-rfc5859 dhcp-rfc5859.pcap dhcp-rfc5859-v.out -t -v
+dhcp-mud dhcp-mud.pcap dhcp-mud.out -t -vv
+
+# MEDSA tests
+medsa medsa.pcap medsa.out -t
+medsa-e medsa.pcap medsa-e.out -t -e
+
+# VXLAN tests
+vxlan vxlan.pcap vxlan.out -# -t -e
+
+# CVEs 2014 malformed packets from Steffen Bauch
+cve-2014-8767-OLSR cve-2014-8767-OLSR.pcap cve-2014-8767-OLSR.out -t -v
+cve-2014-8768-Geonet cve-2014-8768-Geonet.pcap cve-2014-8768-Geonet.out -t -v
+cve-2014-8769-AODV cve-2014-8769-AODV.pcap cve-2014-8769-AODV.out -t -v
# bad packets from Kevin Day
-# cve-2015-2155 -- futz testing on FORCES printer
+# cve-2015-2155 -- fuzz testing on FORCES printer
kday1 kday1.pcap kday1.out -t -v
-# cve-2015-2153 -- futz testing on TCP printer
+# cve-2015-2153 -- fuzz testing on TCP printer
kday2 kday2.pcap kday2.out -t -v
-# cve-2015-2153 -- futz testing on TCP printer
+# cve-2015-2153 -- fuzz testing on TCP printer
kday3 kday3.pcap kday3.out -t -v
-# cve-2015-2153 -- futz testing on TCP printer
+# cve-2015-2153 -- fuzz testing on TCP printer
kday4 kday4.pcap kday4.out -t -v
-# cve-2015-2153 -- futz testing on TCP printer
+# cve-2015-2153 -- fuzz testing on TCP printer
kday5 kday5.pcap kday5.out -t -v
# cve-2015-2154 -- ethernet printer
kday6 kday6.pcap kday6.out -t -v
-# cve-2015-2153 -- futz testing on TCP printer
+# cve-2015-2153 -- fuzz testing on TCP printer
kday7 kday7.pcap kday7.out -t -v
-# cve-2015-2153 -- futz testing on TCP printer
+# cve-2015-2153 -- fuzz testing on TCP printer
kday8 kday8.pcap kday8.out -t -v
# bad packets from reversex86.
cve2015-0261_01 cve2015-0261-ipv6.pcap cve2015-0261-ipv6.out -t -v
cve2015-0261_02 cve2015-0261-crash.pcap cve2015-0261-crash.out -t -v
+
+# OLSRv1 tests
+olsrv1_1 OLSRv1_HNA_sgw_1.pcap OLSRv1_HNA_sgw_1.out -t -v
+
+# tests with unaligned data, to make sure they work on SPARC
+unaligned-nfs-1 unaligned-nfs-1.pcap unaligned-nfs-1.out -t -v
+
+# LISP tests
+lisp_eid_notify lisp_eid_notify.pcap lisp_eid_notify.out -t -v
+lisp_eid_register lisp_eid_register.pcap lisp_eid_register.out -t -v
+lisp_ipv6_eid lisp_ipv6.pcap lisp_ipv6.out -t -v
+
+# pcap invalid versions (first: version = 1.4 ; second: version = 2.5)
+pcap-invalid-version-1 pcap-invalid-version-1.pcap pcap-invalid-version-1.out -t
+pcap-invalid-version-2 pcap-invalid-version-2.pcap pcap-invalid-version-2.out -t
+
+# pcap-ng invalid version (first: version = 0.1 ; second: version = 1.1)
+pcap-ng-invalid-vers-1 pcap-ng-invalid-vers-1.pcap pcap-ng-invalid-vers-1.out -t
+pcap-ng-invalid-vers-2 pcap-ng-invalid-vers-2.pcap pcap-ng-invalid-vers-2.out -t
+
+# NSH over VxLAN-GPE
+nsh-over-vxlan-gpe nsh-over-vxlan-gpe.pcap nsh-over-vxlan-gpe.out -t
+nsh-over-vxlan-gpe-v nsh-over-vxlan-gpe.pcap nsh-over-vxlan-gpe-v.out -t -v
+nsh-over-vxlan-gpe-vv nsh-over-vxlan-gpe.pcap nsh-over-vxlan-gpe-vv.out -t -vv
+nsh-over-vxlan-gpe-vvv nsh-over-vxlan-gpe.pcap nsh-over-vxlan-gpe-vvv.out -t -vvv
+
+# RESP tests
+resp_1 resp_1_benchmark.pcap resp_1.out -t
+resp_2 resp_2_inline.pcap resp_2.out -t
+resp_3 resp_3_malicious.pcap resp_3.out -t
+
+# HNCP tests
+hncp hncp.pcap hncp.out -vvv -t
+
+# BFD tests with authentication fields
+bfd-raw-auth-simple bfd-raw-auth-simple.pcap bfd-raw-auth-simple.out -t
+bfd-raw-auth-simple-v bfd-raw-auth-simple.pcap bfd-raw-auth-simple-v.out -t -v
+bfd-raw-auth-md5 bfd-raw-auth-md5.pcap bfd-raw-auth-md5.out -t
+bfd-raw-auth-md5-v bfd-raw-auth-md5.pcap bfd-raw-auth-md5-v.out -t -v
+bfd-raw-auth-sha1 bfd-raw-auth-sha1.pcap bfd-raw-auth-sha1.out -t
+bfd-raw-auth-sha1-v bfd-raw-auth-sha1.pcap bfd-raw-auth-sha1-v.out -t -v
+
+# bad packets from Hanno Böck
+heap-overflow-1 heap-overflow-1.pcap heap-overflow-1.out -t -v -n
+heap-overflow-2 heap-overflow-2.pcap heap-overflow-2.out -t -v -n
+heapoverflow-atalk_print heapoverflow-atalk_print.pcap heapoverflow-atalk_print.out -t -v -n
+heapoverflow-EXTRACT_16BITS heapoverflow-EXTRACT_16BITS.pcap heapoverflow-EXTRACT_16BITS.out -t -v -n
+heapoverflow-ppp_hdlc_if_print heapoverflow-ppp_hdlc_if_print.pcap heapoverflow-ppp_hdlc_if_print.out -t -v -n
+heapoverflow-q933_printq heapoverflow-q933_printq.pcap heapoverflow-q933_printq.out -t -v -n
+heapoverflow-sl_if_print heapoverflow-sl_if_print.pcap heapoverflow-sl_if_print.out -t -v -n
+heapoverflow-ip_print_demux heapoverflow-ip_print_demux.pcap heapoverflow-ip_print_demux.out -t -v -n
+heapoverflow-in_checksum heapoverflow-in_checksum.pcap heapoverflow-in_checksum.out -t -v -n
+heapoverflow-tcp_print heapoverflow-tcp_print.pcap heapoverflow-tcp_print.out -t -v -n
+gre-heapoverflow-1 gre-heapoverflow-1.pcap gre-heapoverflow-1.out -t -v -n
+gre-heapoverflow-2 gre-heapoverflow-2.pcap gre-heapoverflow-2.out -t -v -n
+calm-fast-mac-lookup-heapoverflow calm-fast-mac-lookup-heapoverflow.pcap calm-fast-mac-lookup-heapoverflow.out -t -v -n
+geonet-mac-lookup-heapoverflow geonet-mac-lookup-heapoverflow.pcap geonet-mac-lookup-heapoverflow.out -t -v -n
+radiotap-heapoverflow radiotap-heapoverflow.pcap radiotap-heapoverflow.out -t -v -n
+isoclns-heapoverflow isoclns-heapoverflow.pcap isoclns-heapoverflow.out -t -v -n
+tcp-auth-heapoverflow tcp-auth-heapoverflow.pcap tcp-auth-heapoverflow.out -t -v -n
+frf15-heapoverflow frf15-heapoverflow.pcap frf15-heapoverflow.out -t -v -n
+atm-oam-heapoverflow atm-oam-heapoverflow.pcap atm-oam-heapoverflow.out -t -v -n
+tcp_header_heapoverflow tcp_header_heapoverflow.pcap tcp_header_heapoverflow.out -t -v -n
+ipcomp-heapoverflow ipcomp-heapoverflow.pcap ipcomp-heapoverflow.out -t -v -n
+llc-xid-heapoverflow llc-xid-heapoverflow.pcap llc-xid-heapoverflow.out -t -v -n
+udp-length-heapoverflow udp-length-heapoverflow.pcap udp-length-heapoverflow.out -t -v -n
+aarp-heapoverflow-1 aarp-heapoverflow-1.pcap aarp-heapoverflow-1.out -t -v -n
+aarp-heapoverflow-2 aarp-heapoverflow-2.pcap aarp-heapoverflow-2.out -t -v -n
+mpls-label-heapoverflow mpls-label-heapoverflow.pcap mpls-label-heapoverflow.out -t -v -n
+bad-ipv4-version-pgm-heapoverflow bad-ipv4-version-pgm-heapoverflow.pcap bad-ipv4-version-pgm-heapoverflow.out -t -v -n
+stp-heapoverflow-1 stp-heapoverflow-1.pcap stp-heapoverflow-1.out -t -v -n
+stp-heapoverflow-2 stp-heapoverflow-2.pcap stp-heapoverflow-2.out -t -v -n
+stp-heapoverflow-3 stp-heapoverflow-3.pcap stp-heapoverflow-3.out -t -v -n
+stp-heapoverflow-4 stp-heapoverflow-4.pcap stp-heapoverflow-4.out -t -v -n
+stp-heapoverflow-5 stp-heapoverflow-5.pcap stp-heapoverflow-5.out -t -v -n
+arp-too-long-tha arp-too-long-tha.pcap arp-too-long-tha.out -t -v -n
+juniper_header-heapoverflow juniper_header-heapoverflow.pcap juniper_header-heapoverflow.out -t -v -n
+tftp-heapoverflow tftp-heapoverflow.pcap tftp-heapoverflow.out -t -v -n
+relts-0x80000000 relts-0x80000000.pcap relts-0x80000000.out -t -v -n
+
+# bad packets from Brian Carpenter
+ipv6hdr-heapoverflow ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow.out -t
+ipv6hdr-heapoverflow-v ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow-v.out -t -v
+otv-heapoverflow-1 otv-heapoverflow-1.pcap otv-heapoverflow-1.out -t -c10
+otv-heapoverflow-2 otv-heapoverflow-2.pcap otv-heapoverflow-2.out -t -c10
+q933-heapoverflow-2 q933-heapoverflow-2.pcap q933-heapoverflow-2.out -t
+atm-heapoverflow atm-heapoverflow.pcap atm-heapoverflow.out -t -c1 -e
+
+# bad packets from Kamil Frankowicz
+snmp-heapoverflow-1 snmp-heapoverflow-1.pcap snmp-heapoverflow-1.out -t
+snmp-heapoverflow-2 snmp-heapoverflow-2.pcap snmp-heapoverflow-2.out -t
+isoclns-heapoverflow-2 isoclns-heapoverflow-2.pcap isoclns-heapoverflow-2.out -t -e -c1
+isoclns-heapoverflow-3 isoclns-heapoverflow-3.pcap isoclns-heapoverflow-3.out -t -e -c1
+
+# RTP tests
+# fuzzed pcap
+rtp-seg-fault-1 rtp-seg-fault-1.pcap rtp-seg-fault-1.out -t -v -T rtp
+rtp-seg-fault-2 rtp-seg-fault-2.pcap rtp-seg-fault-2.out -t -v -T rtp
+
+# NFS tests
+# fuzzed pcap
+nfs-seg-fault-1 nfs-seg-fault-1.pcap nfs-seg-fault-1.out -t
diff --git a/tests/TESTonce b/tests/TESTonce
index 30ffccdb27f9..78ad07525517 100755
--- a/tests/TESTonce
+++ b/tests/TESTonce
@@ -36,11 +36,11 @@ else {
}
if($r == 0) {
- printf " %-30s: passed\n", $name;
+ printf " %-35s: passed\n", $name;
unlink "DIFF/$output.diff";
exit 0;
}
-printf " %-30s: TEST FAILED", $name;
+printf " %-35s: TEST FAILED", $name;
open FOUT, '>>failure-outputs.txt';
printf FOUT "Failed test: $name\n\n";
close FOUT;
@@ -56,6 +56,8 @@ if($r == -1) {
# this is not working right, $r == 0x8b00 when there is a core dump.
# clearly, we need some platform specific perl magic to take this apart, so look for "core"
# too.
+# In particular, on Solaris 10 SPARC an alignment problem results in SIGILL,
+# a core dump and $r set to 0x00008a00 ($? == 138 in the shell).
if($r & 127 || -f "core") {
my $with = ($r & 128) ? 'with' : 'without';
if(-f "core") {
diff --git a/tests/aarp-heapoverflow-1.out b/tests/aarp-heapoverflow-1.out
new file mode 100644
index 000000000000..a562223a2424
--- /dev/null
+++ b/tests/aarp-heapoverflow-1.out
@@ -0,0 +1 @@
+aarp [|aarp]
diff --git a/tests/aarp-heapoverflow-1.pcap b/tests/aarp-heapoverflow-1.pcap
new file mode 100644
index 000000000000..7ea3f2208ab0
--- /dev/null
+++ b/tests/aarp-heapoverflow-1.pcap
Binary files differ
diff --git a/tests/aarp-heapoverflow-2.out b/tests/aarp-heapoverflow-2.out
new file mode 100644
index 000000000000..a562223a2424
--- /dev/null
+++ b/tests/aarp-heapoverflow-2.out
@@ -0,0 +1 @@
+aarp [|aarp]
diff --git a/tests/aarp-heapoverflow-2.pcap b/tests/aarp-heapoverflow-2.pcap
new file mode 100644
index 000000000000..8fbbc85962ea
--- /dev/null
+++ b/tests/aarp-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/arp-too-long-tha.out b/tests/arp-too-long-tha.out
new file mode 100644
index 000000000000..c70ad83b9249
--- /dev/null
+++ b/tests/arp-too-long-tha.out
@@ -0,0 +1 @@
+ARP, Unknown Hardware (12336) (len 14), IPv4 (len 4), Request who-has 48.48.48.48 (30:30:30:30:30:30:30:30:30:30:30:30:30:30) tell 48.48.48.48, length 808464414
diff --git a/tests/arp-too-long-tha.pcap b/tests/arp-too-long-tha.pcap
new file mode 100644
index 000000000000..f77397476f38
--- /dev/null
+++ b/tests/arp-too-long-tha.pcap
Binary files differ
diff --git a/tests/atm-heapoverflow.out b/tests/atm-heapoverflow.out
new file mode 100644
index 000000000000..c9b12fdfe55b
--- /dev/null
+++ b/tests/atm-heapoverflow.out
@@ -0,0 +1 @@
+Rx: VPI:0 VCI:5 [|atm]
diff --git a/tests/atm-heapoverflow.pcap b/tests/atm-heapoverflow.pcap
new file mode 100644
index 000000000000..6918f3ed38c2
--- /dev/null
+++ b/tests/atm-heapoverflow.pcap
Binary files differ
diff --git a/tests/atm-oam-heapoverflow.out b/tests/atm-oam-heapoverflow.out
new file mode 100644
index 000000000000..cdcb8ce40457
--- /dev/null
+++ b/tests/atm-oam-heapoverflow.out
@@ -0,0 +1 @@
+[|oam]
diff --git a/tests/atm-oam-heapoverflow.pcap b/tests/atm-oam-heapoverflow.pcap
new file mode 100644
index 000000000000..0bbb4d17630f
--- /dev/null
+++ b/tests/atm-oam-heapoverflow.pcap
Binary files differ
diff --git a/tests/bad-ipv4-version-pgm-heapoverflow.out b/tests/bad-ipv4-version-pgm-heapoverflow.out
new file mode 100644
index 000000000000..7655a51fac48
--- /dev/null
+++ b/tests/bad-ipv4-version-pgm-heapoverflow.out
@@ -0,0 +1 @@
+IP6, wrong link-layer encapsulation
diff --git a/tests/bad-ipv4-version-pgm-heapoverflow.pcap b/tests/bad-ipv4-version-pgm-heapoverflow.pcap
new file mode 100644
index 000000000000..c65c4e67790e
--- /dev/null
+++ b/tests/bad-ipv4-version-pgm-heapoverflow.pcap
Binary files differ
diff --git a/tests/bfd-raw-auth-md5-v.out b/tests/bfd-raw-auth-md5-v.out
new file mode 100644
index 000000000000..e6766ffd0233
--- /dev/null
+++ b/tests/bfd-raw-auth-md5-v.out
@@ -0,0 +1,341 @@
+IP (tos 0x0, ttl 10, id 1, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 2, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 3, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 4, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 5, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 6, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 7, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 8, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 9, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 10, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 11, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 12, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 13, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 14, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 15, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 16, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 17, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 18, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 19, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 20, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 21, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 22, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 23, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 24, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 25, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 26, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 27, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 28, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 29, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 30, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
+IP (tos 0x0, ttl 10, id 31, offset 0, flags [none], proto UDP (17), length 76)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 48
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 48
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Keyed MD5 (2), length: 24
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Digest: 01020304050607080910111213141516
diff --git a/tests/bfd-raw-auth-md5.out b/tests/bfd-raw-auth-md5.out
new file mode 100644
index 000000000000..aee31654e063
--- /dev/null
+++ b/tests/bfd-raw-auth-md5.out
@@ -0,0 +1,31 @@
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 48
diff --git a/tests/bfd-raw-auth-md5.pcap b/tests/bfd-raw-auth-md5.pcap
new file mode 100644
index 000000000000..9de6d4a2c6d3
--- /dev/null
+++ b/tests/bfd-raw-auth-md5.pcap
Binary files differ
diff --git a/tests/bfd-raw-auth-sha1-v.out b/tests/bfd-raw-auth-sha1-v.out
new file mode 100644
index 000000000000..82b45530e1f2
--- /dev/null
+++ b/tests/bfd-raw-auth-sha1-v.out
@@ -0,0 +1,275 @@
+IP (tos 0x0, ttl 10, id 0, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 1, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 2, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 3, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 4, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 5, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 6, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 7, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 8, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 9, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 10, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 11, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 12, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 13, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 14, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 15, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 16, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 17, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 18, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 19, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 20, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 21, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 22, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 23, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
+IP (tos 0x0, ttl 10, id 24, offset 0, flags [none], proto UDP (17), length 80)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 52
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 52
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Meticulous Keyed SHA1 (5), length: 28
+ Auth Key ID: 2, Sequence Number: 0x00000005
+ Hash: 010203040506070809101112131415161718191a
diff --git a/tests/bfd-raw-auth-sha1.out b/tests/bfd-raw-auth-sha1.out
new file mode 100644
index 000000000000..6a5ed8a17eb5
--- /dev/null
+++ b/tests/bfd-raw-auth-sha1.out
@@ -0,0 +1,25 @@
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 52
diff --git a/tests/bfd-raw-auth-sha1.pcap b/tests/bfd-raw-auth-sha1.pcap
new file mode 100644
index 000000000000..8fafb600aa5f
--- /dev/null
+++ b/tests/bfd-raw-auth-sha1.pcap
Binary files differ
diff --git a/tests/bfd-raw-auth-simple-v.out b/tests/bfd-raw-auth-simple-v.out
new file mode 100644
index 000000000000..7276f06023aa
--- /dev/null
+++ b/tests/bfd-raw-auth-simple-v.out
@@ -0,0 +1,150 @@
+IP (tos 0x0, ttl 10, id 0, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 1, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 2, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 3, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 4, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 5, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 6, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 7, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 8, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 9, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 10, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 11, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 12, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 13, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
+IP (tos 0x0, ttl 10, id 14, offset 0, flags [none], proto UDP (17), length 61)
+ 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, length: 33
+ Control, State Down, Flags: [Authentication Present], Diagnostic: No Diagnostic (0x00)
+ Detection Timer Multiplier: 5 (5000 ms Detection time), BFD Length: 33
+ My Discriminator: 0x00000001, Your Discriminator: 0x00000000
+ Desired min Tx Interval: 1000 ms
+ Required min Rx Interval: 1000 ms
+ Required min Echo Interval: 0 ms
+ Authentication: Simple Password (1), length: 9
+ Auth Key ID: 2, Password: secret
diff --git a/tests/bfd-raw-auth-simple.out b/tests/bfd-raw-auth-simple.out
new file mode 100644
index 000000000000..40b4f372a3e0
--- /dev/null
+++ b/tests/bfd-raw-auth-simple.out
@@ -0,0 +1,15 @@
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
+IP 192.85.1.2.1024 > 192.0.0.1.3784: BFDv1, Control, State Down, Flags: [Authentication Present], length: 33
diff --git a/tests/bfd-raw-auth-simple.pcap b/tests/bfd-raw-auth-simple.pcap
new file mode 100644
index 000000000000..48cf3ac7eb6d
--- /dev/null
+++ b/tests/bfd-raw-auth-simple.pcap
Binary files differ
diff --git a/tests/bgp-aigp.out b/tests/bgp-aigp.out
new file mode 100644
index 000000000000..3fd66782c8df
--- /dev/null
+++ b/tests/bgp-aigp.out
@@ -0,0 +1,20 @@
+IP (tos 0xc0, ttl 64, id 35063, offset 0, flags [none], proto TCP (6), length 182)
+ 172.16.20.5.59631 > 172.16.20.3.179: Flags [P.], cksum 0xe112 (correct), seq 3923783171:3923783301, ack 3341773693, win 16384, options [nop,nop,TS val 32734022 ecr 32695671], length 130: BGP
+ Update Message (2), length: 100
+ Origin (1), length: 1, Flags [T]: Incomplete
+ AS Path (2), length: 0, Flags [T]: empty
+ Multi Exit Discriminator (4), length: 4, Flags [O]: 0
+ Local Preference (5), length: 4, Flags [T]: 100
+ Community (8), length: 4, Flags [OT]: 65000:11201
+ Originator ID (9), length: 4, Flags [O]: 172.16.21.4
+ Cluster List (10), length: 4, Flags [O]: 172.16.20.5
+ Accumulated IGP Metric (26), length: 11, Flags [O]:
+ AIGP TLV (1), length 11, metric 2000
+ Multi-Protocol Reach NLRI (14), length: 17, Flags [OE]:
+ AFI: IPv4 (1), SAFI: labeled Unicast (4)
+ nexthop: 172.16.20.5, nh-length: 4, no SNPA
+ 172.16.21.4/32, label:300096 (bottom)
+ Update Message (2), length: 30
+ Multi-Protocol Unreach NLRI (15), length: 3, Flags [OE]:
+ AFI: IPv4 (1), SAFI: labeled Unicast (4)
+ End-of-Rib Marker (empty NLRI)
diff --git a/tests/bgp-aigp.pcap b/tests/bgp-aigp.pcap
new file mode 100644
index 000000000000..1e55e1993823
--- /dev/null
+++ b/tests/bgp-aigp.pcap
Binary files differ
diff --git a/tests/bgp-large-community.out b/tests/bgp-large-community.out
new file mode 100644
index 000000000000..39dcd4068098
--- /dev/null
+++ b/tests/bgp-large-community.out
@@ -0,0 +1,42 @@
+IP (tos 0x0, ttl 64, id 14630, offset 0, flags [DF], proto TCP (6), length 427)
+ 192.0.2.2.46605 > 192.0.2.3.179: Flags [P.], cksum 0x232f (correct), seq 1293104091:1293104466, ack 4093754554, win 457, options [nop,nop,TS val 68367 ecr 68367], length 375: BGP
+ Update Message (2), length: 75
+ Origin (1), length: 1, Flags [T]: IGP
+ AS Path (2), length: 6, Flags [T]: 65536
+ Next Hop (3), length: 4, Flags [T]: 192.0.2.2
+ Large Community (32), length: 24, Flags [OT]:
+ 65535:1:1, 4294967295:4294967295:4294967295
+ Updated routes:
+ 203.0.113.16/32
+ Update Message (2), length: 75
+ Origin (1), length: 1, Flags [T]: IGP
+ AS Path (2), length: 6, Flags [T]: 65536
+ Next Hop (3), length: 4, Flags [T]: 192.0.2.2
+ Large Community (32), length: 24, Flags [OT]:
+ 65536:1:1, 65536:1:2
+ Updated routes:
+ 203.0.113.12/32
+ Update Message (2), length: 63
+ Origin (1), length: 1, Flags [T]: IGP
+ AS Path (2), length: 6, Flags [T]: 65536
+ Next Hop (3), length: 4, Flags [T]: 192.0.2.2
+ Large Community (32), length: 12, Flags [OT]:
+ 65536:1:1
+ Updated routes:
+ 203.0.113.11/32
+ Update Message (2), length: 75
+ Origin (1), length: 1, Flags [T]: IGP
+ AS Path (2), length: 6, Flags [T]: 65536
+ Next Hop (3), length: 4, Flags [T]: 192.0.2.2
+ Large Community (32), length: 24, Flags [OT]:
+ 65536:0:1, 65536:1:0
+ Updated routes:
+ 203.0.113.15/32
+ Update Message (2), length: 87
+ Origin (1), length: 1, Flags [T]: IGP
+ AS Path (2), length: 6, Flags [T]: 65536
+ Next Hop (3), length: 4, Flags [T]: 192.0.2.2
+ Large Community (32), length: 36, Flags [OT]:
+ 65536:1:1, 65536:1:2, 65536:1:3
+ Updated routes:
+ 203.0.113.13/32
diff --git a/tests/bgp-large-community.pcap b/tests/bgp-large-community.pcap
new file mode 100644
index 000000000000..7b5118d369e7
--- /dev/null
+++ b/tests/bgp-large-community.pcap
Binary files differ
diff --git a/tests/calm-fast-mac-lookup-heapoverflow.out b/tests/calm-fast-mac-lookup-heapoverflow.out
new file mode 100644
index 000000000000..a6e6f418de61
--- /dev/null
+++ b/tests/calm-fast-mac-lookup-heapoverflow.out
@@ -0,0 +1,5 @@
+Q.922, invalid address
+CALM FAST; SrcNwref:48; DstNwref:48;
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 3030 3030 3030 3030 0000000000
diff --git a/tests/calm-fast-mac-lookup-heapoverflow.pcap b/tests/calm-fast-mac-lookup-heapoverflow.pcap
new file mode 100644
index 000000000000..64ca5815d7a0
--- /dev/null
+++ b/tests/calm-fast-mac-lookup-heapoverflow.pcap
Binary files differ
diff --git a/tests/crypto.sh b/tests/crypto.sh
index bd41921397ca..f20e23915ba7 100755
--- a/tests/crypto.sh
+++ b/tests/crypto.sh
@@ -10,7 +10,7 @@ then
# Reading the secret(s) from a file does not work with Capsicum.
if grep '^#define HAVE_CAPSICUM 1$' ../config.h >/dev/null
then
- FORMAT=' %-30s: TEST SKIPPED (compiled w/Capsicum)\n'
+ FORMAT=' %-35s: TEST SKIPPED (compiled w/Capsicum)\n'
printf "$FORMAT" esp4
printf "$FORMAT" esp5
printf "$FORMAT" espudp1
@@ -24,7 +24,7 @@ then
./TESTonce isakmp4 isakmp4500.pcap isakmp4.out '-t -E "file esp-secrets.txt"'
fi
else
- FORMAT=' %-30s: TEST SKIPPED (compiled w/o OpenSSL)\n'
+ FORMAT=' %-35s: TEST SKIPPED (compiled w/o OpenSSL)\n'
printf "$FORMAT" esp1
printf "$FORMAT" esp2
printf "$FORMAT" esp3
diff --git a/tests/cve-2014-8767-OLSR.out b/tests/cve-2014-8767-OLSR.out
new file mode 100644
index 000000000000..edfb067032b7
--- /dev/null
+++ b/tests/cve-2014-8767-OLSR.out
@@ -0,0 +1,4 @@
+IP (tos 0x15,ECT(1), ttl 77, id 62335, offset 0, flags [DF], proto UDP (17), length 61, bad cksum 30c6 (->22af)!)
+ 10.1.1.104.698 > 10.2.2.2.514: OLSRv4, seq 0x0202, length 33
+ TC Message (0x02), originator 2.2.2.2, ttl 2, hop 2
+ vtime 0.070s, msg-seq 0x0202, length 2 (invalid)
diff --git a/tests/cve-2014-8767-OLSR.pcap b/tests/cve-2014-8767-OLSR.pcap
new file mode 100644
index 000000000000..67036ed7db95
--- /dev/null
+++ b/tests/cve-2014-8767-OLSR.pcap
Binary files differ
diff --git a/tests/cve-2014-8768-Geonet.out b/tests/cve-2014-8768-Geonet.out
new file mode 100644
index 000000000000..4b7182d504b1
--- /dev/null
+++ b/tests/cve-2014-8768-Geonet.out
@@ -0,0 +1 @@
+GeoNet src:07:07:07:07:07:07; v:12 NH:6-Unknown HT:5-1-TopoScopeBcast-MH HopLim:7 Payload:1799 GN_ADDR:ef:06:07:35:97:00:24:8c lat:4521984 lon:1039368000 Malformed (small)
diff --git a/tests/cve-2014-8768-Geonet.pcap b/tests/cve-2014-8768-Geonet.pcap
new file mode 100644
index 000000000000..345ed2422f5f
--- /dev/null
+++ b/tests/cve-2014-8768-Geonet.pcap
Binary files differ
diff --git a/tests/cve-2014-8769-AODV.out b/tests/cve-2014-8769-AODV.out
new file mode 100644
index 000000000000..0bb70b49e16a
--- /dev/null
+++ b/tests/cve-2014-8769-AODV.out
@@ -0,0 +1,2 @@
+IP truncated-ip - 58880 bytes missing! (tos 0x0, ttl 64, id 62335, offset 0, flags [DF], proto UDP (17), length 58941, bad cksum 30c6 (->49c3)!)
+ 10.1.1.104.654 > 10.2.2.2.3328: aodv rerr [items 0] [19192]:
diff --git a/tests/cve-2014-8769-AODV.pcap b/tests/cve-2014-8769-AODV.pcap
new file mode 100644
index 000000000000..3cd15691b2a4
--- /dev/null
+++ b/tests/cve-2014-8769-AODV.pcap
Binary files differ
diff --git a/tests/cve2015-0261-crash.pcap b/tests/cve2015-0261-crash.pcap
index c876c1ff7367..01cd38164cb3 100644
--- a/tests/cve2015-0261-crash.pcap
+++ b/tests/cve2015-0261-crash.pcap
Binary files differ
diff --git a/tests/cve2015-0261-ipv6.out b/tests/cve2015-0261-ipv6.out
index 4674ada71dd1..3658c198306a 100644
--- a/tests/cve2015-0261-ipv6.out
+++ b/tests/cve2015-0261-ipv6.out
@@ -1,3 +1,3 @@
-IP6 truncated-ip6 - 26325 bytes missing!(class 0x76, flowlabel 0x76767, hlim 103, next-header Mobility (135) payload length: 26470) 6767:6767:6767:6767:6767:6767:6767:6767 > 6767:6767:6767:6767:6767:6767:6767:6705: mobility: BU seq#=26471 HL lifetime=105884(type-0x67: len=103)[trunc]
+IP6 truncated-ip6 - 26325 bytes missing!(class 0x76, flowlabel 0x76767, hlim 103, next-header Mobility (135) payload length: 26470) 6767:6767:6767:6767:6767:6767:6767:6767 > 6767:6767:6767:6767:6767:6767:6767:6705: mobility: BU seq#=26471 HL lifetime=105884(type-0x67: len=103)[|MOBILITY]
IP6 truncated-ip6 - 26325 bytes missing!(class 0x76, flowlabel 0x76767, hlim 103, next-header Mobility (135) payload length: 26470) 6767:6767:6767:6767:6767:6767:6767:6767 > 6767:6767:4f67:6767:6767:6767:6767:6767: (header length 8 is too small for type 6)[|MOBILITY]
EXIT CODE 00000100
diff --git a/tests/dhcp-mud.out b/tests/dhcp-mud.out
new file mode 100644
index 000000000000..f49274665d87
--- /dev/null
+++ b/tests/dhcp-mud.out
@@ -0,0 +1,36 @@
+IP (tos 0x0, ttl 255, id 9459, offset 0, flags [none], proto UDP (17), length 422)
+ 62.12.173.121.67 > 62.12.173.114.67: [udp sum ok] BOOTP/DHCP, Request from b8:27:eb:b8:53:c8, length 394, hops 1, xid 0x68c4847, Flags [none] (0x0000)
+ Client-IP 62.12.173.123
+ Gateway-IP 62.12.173.121
+ Client-Ethernet-Address b8:27:eb:b8:53:c8
+ Vendor-rfc1048 Extensions
+ Magic Cookie 0x63825363
+ DHCP-Message Option 53, length 1: Request
+ Client-ID Option 61, length 7: ether b8:27:eb:b8:53:c8
+ MSZ Option 57, length 2: 1472
+ MUD-URL Option 161, length 54: "https://mudctl.example.com/.well-known/mud/v1/rasbp101"
+ Vendor-Class Option 60, length 45: "dhcpcd-6.11.5:Linux-4.1.18-v7+:armv7l:BCM2709"
+ Hostname Option 12, length 11: "raspberrypi"
+ T145 Option 145, length 1: 1
+ Parameter-Request Option 55, length 16:
+ Subnet-Mask, Classless-Static-Route, Static-Route, Default-Gateway
+ Domain-Name-Server, Hostname, Domain-Name, BR
+ NTP, Lease-Time, Server-ID, RN
+ RB, POSIX-TZ, TZ-Name, Option 119
+IP (tos 0x0, ttl 64, id 10305, offset 0, flags [DF], proto UDP (17), length 338)
+ 62.12.173.114.67 > 62.12.173.121.67: [udp sum ok] BOOTP/DHCP, Reply, length 310, hops 1, xid 0x68c4847, Flags [none] (0x0000)
+ Client-IP 62.12.173.123
+ Your-IP 62.12.173.123
+ Server-IP 62.12.173.114
+ Gateway-IP 62.12.173.121
+ Client-Ethernet-Address b8:27:eb:b8:53:c8
+ Vendor-rfc1048 Extensions
+ Magic Cookie 0x63825363
+ DHCP-Message Option 53, length 1: ACK
+ Server-ID Option 54, length 4: 62.12.173.114
+ Lease-Time Option 51, length 4: 600
+ Subnet-Mask Option 1, length 4: 255.255.255.248
+ Default-Gateway Option 3, length 4: 62.12.173.121
+ Domain-Name-Server Option 6, length 4: 62.12.173.114
+ Domain-Name Option 15, length 19: "ofcourseimright.com"
+ TZ-Name Option 101, length 13: "Europe/Berlin"
diff --git a/tests/dhcp-mud.pcap b/tests/dhcp-mud.pcap
new file mode 100644
index 000000000000..717f0198987c
--- /dev/null
+++ b/tests/dhcp-mud.pcap
Binary files differ
diff --git a/tests/dhcpv6-mud.out b/tests/dhcpv6-mud.out
new file mode 100644
index 000000000000..c447dad62db6
--- /dev/null
+++ b/tests/dhcpv6-mud.out
@@ -0,0 +1,5 @@
+IP6 (class 0xe0, hlim 255, next-header UDP (17) payload length: 252) 2001:8a8:1006:4:223:ebff:fe10:2c29.547 > 2001:8a8:1006:4:223:54ff:fec2:5702.547: [udp sum ok] dhcp6 relay-fwd (linkaddr=2001:8a8:1006:3:225:84ff:fedb:2380 peeraddr=fe80::ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 509769483 b827ebb853c8) (elapsed-time 0) (vendor-class) (rapid-commit) (IA_NA IAID:3954725832 T1:0 T2:0) (Client-FQDN) (MUD-URL=https://mudctl.example.com/.well-known/mud/v1/rasbp101) (reconfigure-accept) (option-request DNS-server DNS-search-list SNTP-servers Client-FQDN opt_82 opt_83))) (interface-ID 00000008...))
+IP6 (class 0xe0, hlim 255, next-header UDP (17) payload length: 252) 2001:8a8:1006:4:223:ebff:fe10:2c29.547 > 2001:8a8:1006:4:223:54ff:fec2:5702.547: [udp sum ok] dhcp6 relay-fwd (linkaddr=2001:8a8:1006:3:225:84ff:fedb:2380 peeraddr=fe80::ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 509769483 b827ebb853c8) (elapsed-time 96) (vendor-class) (rapid-commit) (IA_NA IAID:3954725832 T1:0 T2:0) (Client-FQDN) (MUD-URL=https://mudctl.example.com/.well-known/mud/v1/rasbp101) (reconfigure-accept) (option-request DNS-server DNS-search-list SNTP-servers Client-FQDN opt_82 opt_83))) (interface-ID 00000008...))
+IP6 (class 0xe0, hlim 255, next-header UDP (17) payload length: 252) 2001:8a8:1006:4:223:ebff:fe10:2c29.547 > 2001:8a8:1006:4:223:54ff:fec2:5702.547: [udp sum ok] dhcp6 relay-fwd (linkaddr=2001:8a8:1006:3:225:84ff:fedb:2380 peeraddr=fe80::ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 509769483 b827ebb853c8) (elapsed-time 287) (vendor-class) (rapid-commit) (IA_NA IAID:3954725832 T1:0 T2:0) (Client-FQDN) (MUD-URL=https://mudctl.example.com/.well-known/mud/v1/rasbp101) (reconfigure-accept) (option-request DNS-server DNS-search-list SNTP-servers Client-FQDN opt_82 opt_83))) (interface-ID 00000008...))
+IP6 (class 0xe0, hlim 255, next-header UDP (17) payload length: 252) 2001:8a8:1006:4:223:ebff:fe10:2c29.547 > 2001:8a8:1006:4:223:54ff:fec2:5702.547: [udp sum ok] dhcp6 relay-fwd (linkaddr=2001:8a8:1006:3:225:84ff:fedb:2380 peeraddr=fe80::ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 509769483 b827ebb853c8) (elapsed-time 677) (vendor-class) (rapid-commit) (IA_NA IAID:3954725832 T1:0 T2:0) (Client-FQDN) (MUD-URL=https://mudctl.example.com/.well-known/mud/v1/rasbp101) (reconfigure-accept) (option-request DNS-server DNS-search-list SNTP-servers Client-FQDN opt_82 opt_83))) (interface-ID 00000008...))
+IP6 (class 0xe0, hlim 255, next-header UDP (17) payload length: 252) 2001:8a8:1006:4:223:ebff:fe10:2c29.547 > 2001:8a8:1006:4:223:54ff:fec2:5702.547: [udp sum ok] dhcp6 relay-fwd (linkaddr=2001:8a8:1006:3:225:84ff:fedb:2380 peeraddr=fe80::ba27:ebff:feb8:53c8 (relay-message (dhcp6 solicit (xid=78244b (client-ID hwaddr/time type 1 time 509769483 b827ebb853c8) (elapsed-time 1421) (vendor-class) (rapid-commit) (IA_NA IAID:3954725832 T1:0 T2:0) (Client-FQDN) (MUD-URL=https://mudctl.example.com/.well-known/mud/v1/rasbp101) (reconfigure-accept) (option-request DNS-server DNS-search-list SNTP-servers Client-FQDN opt_82 opt_83))) (interface-ID 00000008...))
diff --git a/tests/dhcpv6-mud.pcap b/tests/dhcpv6-mud.pcap
new file mode 100644
index 000000000000..baa01540a27f
--- /dev/null
+++ b/tests/dhcpv6-mud.pcap
Binary files differ
diff --git a/tests/dnssec-vv.out b/tests/dnssec-vv.out
new file mode 100644
index 000000000000..a75135b2139b
--- /dev/null
+++ b/tests/dnssec-vv.out
@@ -0,0 +1,12 @@
+IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 74)
+ 127.0.0.1.43144 > 127.0.0.1.53: [bad udp cksum 0xfe49 -> 0xb5ef!] 20972+ [1au] SSHFP? monadic.cynic.net. ar: . OPT UDPsize=4096 DO (46)
+IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 3040)
+ 127.0.0.1.53 > 127.0.0.1.43144: [bad udp cksum 0x09e0 -> 0x4239!] 20972$ q: SSHFP? monadic.cynic.net. 3/6/13 monadic.cynic.net. SSHFP, monadic.cynic.net. RRSIG, monadic.cynic.net. RRSIG ns: cynic.net. NS ns1.cynic.net., cynic.net. NS ns4.cynic.net., cynic.net. NS ns2.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. RRSIG, cynic.net. RRSIG ar: ns1.cynic.net. A 125.100.126.205, ns2.cynic.net. A 199.175.137.213, ns3.cynic.net. A 203.141.153.22, ns4.cynic.net. A 122.103.238.186, ns1.cynic.net. RRSIG, ns1.cynic.net. RRSIG, ns2.cynic.net. RRSIG, ns2.cynic.net. RRSIG, ns3.cynic.net. RRSIG, ns3.cynic.net. RRSIG, ns4.cynic.net. RRSIG, ns4.cynic.net. RRSIG, . OPT UDPsize=4096 DO (3012)
+IP (tos 0x0, ttl 64, id 22838, offset 0, flags [DF], proto UDP (17), length 74)
+ 127.0.0.1.32972 > 127.0.0.1.53: [bad udp cksum 0xfe49 -> 0x28d8!] 48576+ [1au] A? monadic.cynic.net. ar: . OPT UDPsize=1024 (46)
+IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 226)
+ 127.0.0.1.53 > 127.0.0.1.32972: [bad udp cksum 0xfee1 -> 0x60dd!] 48576 q: A? monadic.cynic.net. 1/4/5 monadic.cynic.net. A 125.100.126.202 ns: cynic.net. NS ns4.cynic.net., cynic.net. NS ns2.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. NS ns1.cynic.net. ar: ns1.cynic.net. A 125.100.126.205, ns2.cynic.net. A 199.175.137.213, ns3.cynic.net. A 203.141.153.22, ns4.cynic.net. A 122.103.238.186, . OPT UDPsize=4096 (198)
+IP (tos 0x0, ttl 64, id 22904, offset 0, flags [DF], proto UDP (17), length 74)
+ 127.0.0.1.36069 > 127.0.0.1.53: [bad udp cksum 0xfe49 -> 0xf266!] 49432+ [1au] SSHFP? monadic.cynic.net. ar: . OPT UDPsize=0 (46)
+IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 244)
+ 127.0.0.1.53 > 127.0.0.1.36069: [bad udp cksum 0xfef3 -> 0x1227!] 49432 q: SSHFP? monadic.cynic.net. 1/4/5 monadic.cynic.net. SSHFP ns: cynic.net. NS ns4.cynic.net., cynic.net. NS ns1.cynic.net., cynic.net. NS ns3.cynic.net., cynic.net. NS ns2.cynic.net. ar: ns1.cynic.net. A 125.100.126.205, ns2.cynic.net. A 199.175.137.213, ns3.cynic.net. A 203.141.153.22, ns4.cynic.net. A 122.103.238.186, . OPT UDPsize=4096 (216)
diff --git a/tests/dnssec.pcap b/tests/dnssec.pcap
new file mode 100644
index 000000000000..b191480dc107
--- /dev/null
+++ b/tests/dnssec.pcap
Binary files differ
diff --git a/tests/dtp-v.out b/tests/dtp-v.out
index 1d73418ac727..4eb566b98943 100644
--- a/tests/dtp-v.out
+++ b/tests/dtp-v.out
@@ -3,28 +3,53 @@ DTPv1, length 38
Status TLV (0x0002) TLV, length 5, 0x4
DTP type TLV (0x0003) TLV, length 5, 0x40
Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85
-00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76
+00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP, oui Cisco (0x00000c), pid Unknown (0x0003), length 68:
+ 0x0000: aaaa 0300 000c 0003 0000 0000 0100 0ccc ................
+ 0x0010: cccc 0019 06ea b885 0025 aaaa 0300 000c .........%......
+ 0x0020: 2004 0100 0100 084c 6162 0000 0200 0504 .......Lab......
+ 0x0030: 0003 0005 4000 0400 0a00 1906 eab8 8500 ....@...........
+ 0x0040: 0000 0000 0000 0000 f7a7 fe42 ...........B
DTPv1, length 38
Domain TLV (0x0001) TLV, length 8, Lab
Status TLV (0x0002) TLV, length 5, 0x4
DTP type TLV (0x0003) TLV, length 5, 0x40
Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85
-00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76
+00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP, oui Cisco (0x00000c), pid Unknown (0x0003), length 68:
+ 0x0000: aaaa 0300 000c 0003 0000 0000 0100 0ccc ................
+ 0x0010: cccc 0019 06ea b885 0025 aaaa 0300 000c .........%......
+ 0x0020: 2004 0100 0100 084c 6162 0000 0200 0504 .......Lab......
+ 0x0030: 0003 0005 4000 0400 0a00 1906 eab8 8500 ....@...........
+ 0x0040: 0000 0000 0000 0000 f7a7 fe42 ...........B
DTPv1, length 38
Domain TLV (0x0001) TLV, length 8, Lab
Status TLV (0x0002) TLV, length 5, 0x4
DTP type TLV (0x0003) TLV, length 5, 0x40
Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85
-00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76
+00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP, oui Cisco (0x00000c), pid Unknown (0x0003), length 68:
+ 0x0000: aaaa 0300 000c 0003 0000 0000 0100 0ccc ................
+ 0x0010: cccc 0019 06ea b885 0025 aaaa 0300 000c .........%......
+ 0x0020: 2004 0100 0100 084c 6162 0000 0200 0504 .......Lab......
+ 0x0030: 0003 0005 4000 0400 0a00 1906 eab8 8500 ....@...........
+ 0x0040: 0000 0000 0000 0000 f7a7 fe42 ...........B
DTPv1, length 38
Domain TLV (0x0001) TLV, length 8, Lab
Status TLV (0x0002) TLV, length 5, 0x4
DTP type TLV (0x0003) TLV, length 5, 0x40
Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85
-00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76
+00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP, oui Cisco (0x00000c), pid Unknown (0x0003), length 68:
+ 0x0000: aaaa 0300 000c 0003 0000 0000 0100 0ccc ................
+ 0x0010: cccc 0019 06ea b885 0025 aaaa 0300 000c .........%......
+ 0x0020: 2004 0100 0100 084c 6162 0000 0200 0504 .......Lab......
+ 0x0030: 0003 0005 4000 0400 0a00 1906 eab8 8514 ....@...........
+ 0x0040: 0002 000f 0000 0000 7232 1da6 ........r2..
DTPv1, length 38
Domain TLV (0x0001) TLV, length 8, Lab
Status TLV (0x0002) TLV, length 5, 0x4
DTP type TLV (0x0003) TLV, length 5, 0x40
Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85
-00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76
+00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP, oui Cisco (0x00000c), pid Unknown (0x0003), length 68:
+ 0x0000: aaaa 0300 000c 0003 0000 0000 0100 0ccc ................
+ 0x0010: cccc 0019 06ea b885 0025 aaaa 0300 000c .........%......
+ 0x0020: 2004 0100 0100 084c 6162 0000 0200 0504 .......Lab......
+ 0x0030: 0003 0005 4000 0400 0a00 1906 eab8 8514 ....@...........
+ 0x0040: 0002 000f 0000 0000 7232 1da6 ........r2..
diff --git a/tests/evb.out b/tests/evb.out
index db8888c16000..d5d71e86b3c9 100644
--- a/tests/evb.out
+++ b/tests/evb.out
@@ -1,23 +1,23 @@
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
LLDP, length 103
Chassis ID TLV (1), length 7
@@ -61,86 +61,86 @@ LLDP, length 103
0x0000: 0080 c20e 0000 00a7 0010 01
End TLV (0), length 0
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 102
- port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
+ port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name Default, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name Default, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20
diff --git a/tests/failure-outputs.txt b/tests/failure-outputs.txt
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/tests/failure-outputs.txt
+++ /dev/null
diff --git a/tests/frf15-heapoverflow.out b/tests/frf15-heapoverflow.out
new file mode 100644
index 000000000000..a44d1fcb7305
--- /dev/null
+++ b/tests/frf15-heapoverflow.out
@@ -0,0 +1 @@
+UI 30! [|frf.15]
diff --git a/tests/frf15-heapoverflow.pcap b/tests/frf15-heapoverflow.pcap
new file mode 100644
index 000000000000..5898e7b77cb4
--- /dev/null
+++ b/tests/frf15-heapoverflow.pcap
Binary files differ
diff --git a/tests/geonet-mac-lookup-heapoverflow.out b/tests/geonet-mac-lookup-heapoverflow.out
new file mode 100644
index 000000000000..7d49dd0e13af
--- /dev/null
+++ b/tests/geonet-mac-lookup-heapoverflow.out
@@ -0,0 +1 @@
+GeoNet src:30:30:30:30:30:30; v:3 NH:0-Any HT:3-0-GeoAnycastCircle HopLim:48 Payload:12336 [|geonet]
diff --git a/tests/geonet-mac-lookup-heapoverflow.pcap b/tests/geonet-mac-lookup-heapoverflow.pcap
new file mode 100644
index 000000000000..2a42bcac3502
--- /dev/null
+++ b/tests/geonet-mac-lookup-heapoverflow.pcap
Binary files differ
diff --git a/tests/gre-heapoverflow-1.out b/tests/gre-heapoverflow-1.out
new file mode 100644
index 000000000000..322c329a8274
--- /dev/null
+++ b/tests/gre-heapoverflow-1.out
@@ -0,0 +1,8 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0030: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0040: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0050: 3030 3030 0000
+IP0
diff --git a/tests/gre-heapoverflow-1.pcap b/tests/gre-heapoverflow-1.pcap
new file mode 100644
index 000000000000..f814815c642e
--- /dev/null
+++ b/tests/gre-heapoverflow-1.pcap
Binary files differ
diff --git a/tests/gre-heapoverflow-2.out b/tests/gre-heapoverflow-2.out
new file mode 100644
index 000000000000..f1ab2cc45030
--- /dev/null
+++ b/tests/gre-heapoverflow-2.out
@@ -0,0 +1,6 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 00
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto GRE (47), length 12336, bad cksum 3030 (->697f)!)
+ 48.48.48.48 > 48.48.48.48: GREv0, Flags [checksum present, routing present], sum 0x3030, off 0x3030, (rtaf=0x3030)[|gre]
diff --git a/tests/gre-heapoverflow-2.pcap b/tests/gre-heapoverflow-2.pcap
new file mode 100644
index 000000000000..1722d8d0de59
--- /dev/null
+++ b/tests/gre-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/heap-overflow-1.out b/tests/heap-overflow-1.out
new file mode 100644
index 000000000000..4d2862d9f21f
--- /dev/null
+++ b/tests/heap-overflow-1.out
@@ -0,0 +1 @@
+unknown ip 3
diff --git a/tests/heap-overflow-1.pcap b/tests/heap-overflow-1.pcap
new file mode 100644
index 000000000000..f1519b83f8b7
--- /dev/null
+++ b/tests/heap-overflow-1.pcap
Binary files differ
diff --git a/tests/heap-overflow-2.out b/tests/heap-overflow-2.out
new file mode 100644
index 000000000000..1e7e21b29e2e
--- /dev/null
+++ b/tests/heap-overflow-2.out
@@ -0,0 +1 @@
+IP3
diff --git a/tests/heap-overflow-2.pcap b/tests/heap-overflow-2.pcap
new file mode 100644
index 000000000000..838c5f591497
--- /dev/null
+++ b/tests/heap-overflow-2.pcap
Binary files differ
diff --git a/tests/heapoverflow-EXTRACT_16BITS.out b/tests/heapoverflow-EXTRACT_16BITS.out
new file mode 100644
index 000000000000..0ddc64171add
--- /dev/null
+++ b/tests/heapoverflow-EXTRACT_16BITS.out
@@ -0,0 +1 @@
+et1 AT [|ddp]
diff --git a/tests/heapoverflow-EXTRACT_16BITS.pcap b/tests/heapoverflow-EXTRACT_16BITS.pcap
new file mode 100644
index 000000000000..491c2d05ae34
--- /dev/null
+++ b/tests/heapoverflow-EXTRACT_16BITS.pcap
Binary files differ
diff --git a/tests/heapoverflow-atalk_print.out b/tests/heapoverflow-atalk_print.out
new file mode 100644
index 000000000000..0ddc64171add
--- /dev/null
+++ b/tests/heapoverflow-atalk_print.out
@@ -0,0 +1 @@
+et1 AT [|ddp]
diff --git a/tests/heapoverflow-atalk_print.pcap b/tests/heapoverflow-atalk_print.pcap
new file mode 100644
index 000000000000..83f04fd66469
--- /dev/null
+++ b/tests/heapoverflow-atalk_print.pcap
Binary files differ
diff --git a/tests/heapoverflow-in_checksum.out b/tests/heapoverflow-in_checksum.out
new file mode 100644
index 000000000000..fffc6920c222
--- /dev/null
+++ b/tests/heapoverflow-in_checksum.out
@@ -0,0 +1,3 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [DF], proto PIM (103), length 12336, bad cksum 3030 (->2947)!)
+ 48.48.48.48 > 48.48.48.48: PIMv2, length 12316
+ Hello, RFC2117-encoding, cksum 0x3030 (unverified)[|pim]
diff --git a/tests/heapoverflow-in_checksum.pcap b/tests/heapoverflow-in_checksum.pcap
new file mode 100644
index 000000000000..82a55005f248
--- /dev/null
+++ b/tests/heapoverflow-in_checksum.pcap
Binary files differ
diff --git a/tests/heapoverflow-ip_print_demux.out b/tests/heapoverflow-ip_print_demux.out
new file mode 100644
index 000000000000..54bd1378a6b5
--- /dev/null
+++ b/tests/heapoverflow-ip_print_demux.out
@@ -0,0 +1,6 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 00
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto AH (51), length 12336, bad cksum 3030 (->697b)!)
+ 48.48.48.48 > 48.48.48.48: AH(spi=0x30303030,sumlen=192,seq=0x30303030[truncated]):
diff --git a/tests/heapoverflow-ip_print_demux.pcap b/tests/heapoverflow-ip_print_demux.pcap
new file mode 100644
index 000000000000..8dec30b4f7e4
--- /dev/null
+++ b/tests/heapoverflow-ip_print_demux.pcap
Binary files differ
diff --git a/tests/heapoverflow-ppp_hdlc_if_print.out b/tests/heapoverflow-ppp_hdlc_if_print.out
new file mode 100644
index 000000000000..39cef4228276
--- /dev/null
+++ b/tests/heapoverflow-ppp_hdlc_if_print.out
@@ -0,0 +1 @@
+[|ppp]
diff --git a/tests/heapoverflow-ppp_hdlc_if_print.pcap b/tests/heapoverflow-ppp_hdlc_if_print.pcap
new file mode 100644
index 000000000000..356adf37c7cd
--- /dev/null
+++ b/tests/heapoverflow-ppp_hdlc_if_print.pcap
Binary files differ
diff --git a/tests/heapoverflow-q933_printq.out b/tests/heapoverflow-q933_printq.out
new file mode 100644
index 000000000000..ebc5605f0510
--- /dev/null
+++ b/tests/heapoverflow-q933_printq.out
@@ -0,0 +1,2 @@
+Q.933, CCITT, codeset 0, unknown message (0x30), length 808464430
+ unknown IE (0x30), length 48: [|q.933]
diff --git a/tests/heapoverflow-q933_printq.pcap b/tests/heapoverflow-q933_printq.pcap
new file mode 100644
index 000000000000..56d1b125b966
--- /dev/null
+++ b/tests/heapoverflow-q933_printq.pcap
Binary files differ
diff --git a/tests/heapoverflow-sl_if_print.out b/tests/heapoverflow-sl_if_print.out
new file mode 100644
index 000000000000..4ddcf52395c6
--- /dev/null
+++ b/tests/heapoverflow-sl_if_print.out
@@ -0,0 +1 @@
+[|slip]
diff --git a/tests/heapoverflow-sl_if_print.pcap b/tests/heapoverflow-sl_if_print.pcap
new file mode 100644
index 000000000000..492a00b34fab
--- /dev/null
+++ b/tests/heapoverflow-sl_if_print.pcap
Binary files differ
diff --git a/tests/heapoverflow-tcp_print.out b/tests/heapoverflow-tcp_print.out
new file mode 100644
index 000000000000..9d316747291d
--- /dev/null
+++ b/tests/heapoverflow-tcp_print.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [DF], proto TCP (6), length 12336, bad cksum 3030 (->29a8)!)
+ 48.48.48.48.12336 > 48.48.48.48.12336: Flags [.U], seq 808464432:808476688, ack 808464432, win 12336, urg 12336, options [unknown-48 0x3030303030303030[|tcp]
diff --git a/tests/heapoverflow-tcp_print.pcap b/tests/heapoverflow-tcp_print.pcap
new file mode 100644
index 000000000000..44c171f8d207
--- /dev/null
+++ b/tests/heapoverflow-tcp_print.pcap
Binary files differ
diff --git a/tests/hncp.out b/tests/hncp.out
new file mode 100644
index 000000000000..4c3880bcea0d
--- /dev/null
+++ b/tests/hncp.out
@@ -0,0 +1,53 @@
+IP6 (hlim 1, next-header UDP (17) payload length: 32) fe80::218:f3ff:fea9:914e.8231 > ff02::11.8231: [udp sum ok] hncp (24)
+ Node endpoint (12) NID: 31:da:78:d2 EPID: 03000000
+ Network state (12) hash: 2ae5f77255200bcc
+IP6 (hlim 64, next-header UDP (17) payload length: 12) fe80::21e:64ff:fe23:4d34.8231 > fe80::218:f3ff:fea9:914e.8231: [udp sum ok] hncp (4)
+ Request network state (4)
+IP6 (hlim 64, next-header UDP (17) payload length: 80) fe80::218:f3ff:fea9:914e.8231 > fe80::21e:64ff:fe23:4d34.8231: [udp sum ok] hncp (72)
+ Node endpoint (12) NID: 31:da:78:d2 EPID: 03000000
+ Network state (12) hash: 2ae5f77255200bcc
+ Node state (24) NID: 31:da:78:d2 seqno: 19 160.088s hash: 800088c8e0714638
+ Node state (24) NID: 61:69:ed:63 seqno: 12 969.681s hash: 011fffa1da966148
+IP6 (hlim 64, next-header UDP (17) payload length: 16) fe80::21e:64ff:fe23:4d34.8231 > fe80::218:f3ff:fea9:914e.8231: [udp sum ok] hncp (8)
+ Request node state (8) NID: 31:da:78:d2
+IP6 (hlim 64, next-header UDP (17) payload length: 16) fe80::21e:64ff:fe23:4d34.8231 > fe80::218:f3ff:fea9:914e.8231: [udp sum ok] hncp (8)
+ Request node state (8) NID: 61:69:ed:63
+IP6 (hlim 64, next-header UDP (17) payload length: 332) fe80::218:f3ff:fea9:914e.8231 > fe80::21e:64ff:fe23:4d34.8231: [udp sum ok] hncp (324)
+ Node endpoint (12) NID: 31:da:78:d2 EPID: 03000000
+ Node state (312) NID: 31:da:78:d2 seqno: 19 160.105s hash: 800088c8e0714638
+ Peer (16) Peer-NID: 61:69:ed:63 Peer-EPID: 01000000 Local-EPID: 01000000
+ HNCP-Version (22) M: 0 P: 4 H: 4 L: 4 User-agent: hnetd/cac971d
+ External-Connection (52)
+ Delegated-Prefix (36) VLSO: 0.599s PLSO: 0.299s Prefix: 10.0.0.0/8
+ Prefix-Policy (5) type: Internet connectivity
+ DHCPv4-Data (10)
+ DNS-server (6) 192.168.1.254
+ Assigned-Prefix (18) EPID: 03000000 Prty: 2 Prefix: fd1f:f88c:e207:dbbc::/64
+ Assigned-Prefix (25) EPID: 01000000 Prty: 2 Prefix: 10.0.99.0/24
+ Assigned-Prefix (25) EPID: 03000000 Prty: 2 Prefix: 10.0.101.0/24
+ Node-Address (24) EPID: 01000000 IP Address: 10.0.99.2
+ Node-Address (24) EPID: 01000000 IP Address: fd1f:f88c:e207::2
+ Node-Address (24) EPID: 03000000 IP Address: 10.0.101.27
+ Node-Address (24) EPID: 03000000 IP Address: fd1f:f88c:e207:dbbc::1b
+ Node-Name (23) IP-Address: 10.0.101.27 Name: "r1"
+IP6 (hlim 64, next-header UDP (17) payload length: 564) fe80::218:f3ff:fea9:914e.8231 > fe80::21e:64ff:fe23:4d34.8231: [udp sum ok] hncp (556)
+ Node endpoint (12) NID: 31:da:78:d2 EPID: 03000000
+ Node state (544) NID: 61:69:ed:63 seqno: 12 969.699s hash: 011fffa1da966148
+ Peer (16) Peer-NID: 31:da:78:d2 Peer-EPID: 01000000 Local-EPID: 01000000
+ HNCP-Version (22) M: 0 P: 4 H: 4 L: 4 User-agent: hnetd/cac971d
+ External-Connection (23)
+ Delegated-Prefix (19) VLSO: 0.599s PLSO: 0.299s Prefix: fd1f:f88c:e207::/48
+ Assigned-Prefix (18) EPID: 01000000 Prty: 2 Prefix: fd1f:f88c:e207::/64
+ Assigned-Prefix (18) EPID: 03000000 Prty: 2 Prefix: fd1f:f88c:e207:17::/64
+ Assigned-Prefix (25) EPID: 03000000 Prty: 2 Prefix: 10.0.116.0/24
+ Node-Address (24) EPID: 01000000 IP Address: 10.0.99.41
+ Node-Address (24) EPID: 01000000 IP Address: fd1f:f88c:e207::69
+ Node-Address (24) EPID: 03000000 IP Address: 10.0.116.44
+ Node-Address (24) EPID: 03000000 IP Address: fd1f:f88c:e207:17::6c
+ DNS-Delegated-Zone (33) IP-Address: fd1f:f88c:e207::69 lb- lan.r.home
+ DNS-Delegated-Zone (35) IP-Address: fd1f:f88c:e207:17::6c lb- wlan0.r.home
+ DNS-Delegated-Zone (44) IP-Address: fd1f:f88c:e207:17::6c --- 116.0.10.in-addr.arpa
+ DNS-Delegated-Zone (63) IP-Address: fd1f:f88c:e207::69 --- 0.0.0.0.7.0.2.e.c.8.8.f.f.1.d.f.ip6.arpa
+ DNS-Delegated-Zone (63) IP-Address: fd1f:f88c:e207:17::6c --- 7.1.0.0.7.0.2.e.c.8.8.f.f.1.d.f.ip6.arpa
+ Node-Name (22) IP-Address: 10.0.116.44 Name: "r"
+ Node-Name (22) IP-Address: fd1f:f88c:e207:17::6c Name: "r"
diff --git a/tests/hncp.pcap b/tests/hncp.pcap
new file mode 100644
index 000000000000..16d7047619ec
--- /dev/null
+++ b/tests/hncp.pcap
Binary files differ
diff --git a/tests/ieee802.11_exthdr.out b/tests/ieee802.11_exthdr.out
index dd1689d462c0..7b217e5e7aae 100644
--- a/tests/ieee802.11_exthdr.out
+++ b/tests/ieee802.11_exthdr.out
@@ -1,26 +1,26 @@
-10016360us tsft 1.0 Mb/s 2412 MHz 11b -22dB signal -86dB noise antenna 1 [bit 31] 0us Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-10018922us tsft 1.0 Mb/s 2412 MHz 11b -19dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-10017245us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
-10085301us tsft 1.0 Mb/s 2412 MHz 11b -19dB signal -86dB noise antenna 1 [bit 31] 0us Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-10087718us tsft 1.0 Mb/s 2412 MHz 11b -18dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-10086042us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
-10284358us tsft 1.0 Mb/s 2412 MHz 11b -61dB signal -86dB noise antenna 1 [bit 31] 0us Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-10288217us tsft 1.0 Mb/s 2412 MHz 11b -46dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-10286542us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
-10351366us tsft 1.0 Mb/s 2412 MHz 11b -70dB signal -86dB noise antenna 1 [bit 31] 0us Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-10353769us tsft 1.0 Mb/s 2412 MHz 11b -57dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-10352092us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
-10418368us tsft 1.0 Mb/s 2412 MHz 11b -67dB signal -86dB noise antenna 1 [bit 31] 0us Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-10420929us tsft 1.0 Mb/s 2412 MHz 11b -73dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-10419253us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
-10485371us tsft 1.0 Mb/s 2412 MHz 11b -72dB signal -86dB noise antenna 1 [bit 31] 0us Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-10489278us tsft 1.0 Mb/s 2412 MHz 11b -74dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-10487602us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
-13338508us tsft 1.0 Mb/s 2412 MHz 11b -14dB signal -86dB noise antenna 1 [bit 31] 314us Authentication (Open System)-1: Successful
-13340215us tsft 1.0 Mb/s 2412 MHz 11b -17dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-13339435us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Authentication (Open System)-2:
-13341999us tsft 1.0 Mb/s 2412 MHz 11b -18dB signal -86dB noise antenna 1 [bit 31] 314us Assoc Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
-13346458us tsft 1.0 Mb/s 2412 MHz 11b -18dB signal -86dB noise antenna 0 [bit 31] 0us Acknowledgment RA:90:a4:de:c0:46:0a
-13344925us tsft 1.0 Mb/s -86dB noise 27dBm tx power [bit 15] 314us Assoc Response AID(1) :: Successful
-13355433us tsft 2412 MHz 11g -22dB signal -86dB noise antenna 1 19.5 Mb/s MCS 2 20 MHz lon GI [bit 31] 48us
-13454791us tsft 2412 MHz 11g -21dB signal -86dB noise antenna 1 52.0 Mb/s MCS 11 20 MHz lon GI [bit 31] Pwr Mgmt 44us
+10016360us tsft 1.0 Mb/s 2412 MHz 11b -22dBm signal -86dBm noise antenna 1 [bit 32] Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+10018922us tsft 1.0 Mb/s 2412 MHz 11b -19dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+10017245us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
+10085301us tsft 1.0 Mb/s 2412 MHz 11b -19dBm signal -86dBm noise antenna 1 [bit 32] Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+10087718us tsft 1.0 Mb/s 2412 MHz 11b -18dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+10086042us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
+10284358us tsft 1.0 Mb/s 2412 MHz 11b -61dBm signal -86dBm noise antenna 1 [bit 32] Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+10288217us tsft 1.0 Mb/s 2412 MHz 11b -46dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+10286542us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
+10351366us tsft 1.0 Mb/s 2412 MHz 11b -70dBm signal -86dBm noise antenna 1 [bit 32] Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+10353769us tsft 1.0 Mb/s 2412 MHz 11b -57dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+10352092us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
+10418368us tsft 1.0 Mb/s 2412 MHz 11b -67dBm signal -86dBm noise antenna 1 [bit 32] Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+10420929us tsft 1.0 Mb/s 2412 MHz 11b -73dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+10419253us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
+10485371us tsft 1.0 Mb/s 2412 MHz 11b -72dBm signal -86dBm noise antenna 1 [bit 32] Probe Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+10489278us tsft 1.0 Mb/s 2412 MHz 11b -74dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+10487602us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Probe Response (omus) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] CH: 1
+13338508us tsft 1.0 Mb/s 2412 MHz 11b -14dBm signal -86dBm noise antenna 1 [bit 32] Authentication (Open System)-1: Successful
+13340215us tsft 1.0 Mb/s 2412 MHz 11b -17dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+13339435us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Authentication (Open System)-2:
+13341999us tsft 1.0 Mb/s 2412 MHz 11b -18dBm signal -86dBm noise antenna 1 [bit 32] Assoc Request (omus) [1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 Mbit]
+13346458us tsft 1.0 Mb/s 2412 MHz 11b -18dBm signal -86dBm noise antenna 0 [bit 32] Acknowledgment RA:90:a4:de:c0:46:0a
+13344925us tsft 1.0 Mb/s -86dBm noise 27dBm tx power [bit 15] Assoc Response AID(1) :: Successful
+13355433us tsft 2412 MHz 11n -22dBm signal -86dBm noise antenna 1 19.5 Mb/s MCS 2 20 MHz long GI [bit 32]
+13454791us tsft 2412 MHz 11n -21dBm signal -86dBm noise antenna 1 52.0 Mb/s MCS 11 20 MHz long GI [bit 32]
diff --git a/tests/ieee802.11_rx-stbc.out b/tests/ieee802.11_rx-stbc.out
index 9f483b95a9ef..8369b6292c86 100644
--- a/tests/ieee802.11_rx-stbc.out
+++ b/tests/ieee802.11_rx-stbc.out
@@ -1,3 +1,3 @@
-7268us tsft 2462 MHz 11g -51dB signal antenna 1 150.0 Mb/s MCS 7 40 MHz short GI RX-STBC1 CF +QoS Data IV: 11 Pad 20 KeyID 0
-119738173us tsft 2462 MHz 11g -46dB signal antenna 1 135.0 Mb/s MCS 7 40 MHz lon GI RX-STBC2 CF +QoS Data IV: 1 Pad 20 KeyID 0
-470382336us tsft 2462 MHz 11g -45dB signal antenna 1 150.0 Mb/s MCS 7 40 MHz short GI RX-STBC3 CF +QoS Data IV: 5 Pad 20 KeyID 0
+7268us tsft 2462 MHz 11n -51dBm signal antenna 1 150.0 Mb/s MCS 7 40 MHz short GI RX-STBC1 Data IV: 11 Pad 20 KeyID 0
+119738173us tsft 2462 MHz 11n -46dBm signal antenna 1 135.0 Mb/s MCS 7 40 MHz long GI RX-STBC2 Data IV: 1 Pad 20 KeyID 0
+470382336us tsft 2462 MHz 11n -45dBm signal antenna 1 150.0 Mb/s MCS 7 40 MHz short GI RX-STBC3 Data IV: 5 Pad 20 KeyID 0
diff --git a/tests/ikev2pI2-segfault-v.out b/tests/ikev2pI2-segfault-v.out
new file mode 100644
index 000000000000..a690ef963397
--- /dev/null
+++ b/tests/ikev2pI2-segfault-v.out
@@ -0,0 +1,8 @@
+IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 536, bad cksum 0 (->f48e)!)
+ 192.1.2.45.500 > 192.1.2.23.500: isakmp 2.0 msgid 00000000: parent_sa ikev2_init[I]:
+ (sa[C]: len=240
+ (p: #1 protoid=isakmp transform=4 len=40
+ (t: #1 type=encr id=#26380 )
+ (t: #2 type=integ id=hmac-sha )
+ (t: #3 type=prf id=hmac-sha )
+ (v2e)) [|v2sa]) [|v2ke]
diff --git a/tests/ikev2pI2-segfault.out b/tests/ikev2pI2-segfault.out
new file mode 100644
index 000000000000..c7f028113a34
--- /dev/null
+++ b/tests/ikev2pI2-segfault.out
@@ -0,0 +1 @@
+IP 192.1.2.45.500 > 192.1.2.23.500: isakmp: parent_sa ikev2_init[I]
diff --git a/tests/ikev2pI2-segfault.pcap b/tests/ikev2pI2-segfault.pcap
new file mode 100644
index 000000000000..43a7e28409b4
--- /dev/null
+++ b/tests/ikev2pI2-segfault.pcap
Binary files differ
diff --git a/tests/ipcomp-heapoverflow.out b/tests/ipcomp-heapoverflow.out
new file mode 100644
index 000000000000..c158cdf51758
--- /dev/null
+++ b/tests/ipcomp-heapoverflow.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto Compressed IP (108), length 12336, bad cksum 3030 (->6942)!)
+ 48.48.48.48 > 48.48.48.48: [|IPCOMP]
diff --git a/tests/ipcomp-heapoverflow.pcap b/tests/ipcomp-heapoverflow.pcap
new file mode 100644
index 000000000000..8f3cb30a22ad
--- /dev/null
+++ b/tests/ipcomp-heapoverflow.pcap
Binary files differ
diff --git a/tests/ipv6hdr-heapoverflow-v.out b/tests/ipv6hdr-heapoverflow-v.out
new file mode 100644
index 000000000000..4e3730a1d9f0
--- /dev/null
+++ b/tests/ipv6hdr-heapoverflow-v.out
@@ -0,0 +1 @@
+IP6 (class 0x33, flowlabel 0x03030, hlim 48, next-header Options (0) payload length: 12336) 3030:3030:3030:3030:3030:3030:3030:3030 > 3030:3030:3030:3030:3030:3030:3030:3030: HBH [trunc] [|HBH]
diff --git a/tests/ipv6hdr-heapoverflow.out b/tests/ipv6hdr-heapoverflow.out
new file mode 100644
index 000000000000..f9bc97e86f0e
--- /dev/null
+++ b/tests/ipv6hdr-heapoverflow.out
@@ -0,0 +1 @@
+IP6 3030:3030:3030:3030:3030:3030:3030:3030 > 3030:3030:3030:3030:3030:3030:3030:3030: HBH [|HBH]
diff --git a/tests/ipv6hdr-heapoverflow.pcap b/tests/ipv6hdr-heapoverflow.pcap
new file mode 100644
index 000000000000..19d28d6ee952
--- /dev/null
+++ b/tests/ipv6hdr-heapoverflow.pcap
Binary files differ
diff --git a/tests/isis-seg-fault-1-v.out b/tests/isis-seg-fault-1-v.out
new file mode 100644
index 000000000000..a1b4cdb84836
--- /dev/null
+++ b/tests/isis-seg-fault-1-v.out
@@ -0,0 +1,301 @@
+IS-IS, length 1497
+ L2 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+ source-id: 4444.0444.4444, holding time: 10s, Flags: [Level 2 only]
+ lan-id: 6344.4444.4444.01, Priority: 64, PDU length: 1497
+ Protocols supported TLV #129, length: 1
+ NLPID(s): IPv4 (0xcc)
+ Area address(es) TLV #1, length: 4
+ Area address (length: 3): 49.0014
+ unknown TLV #80, length: 4
+ 0x0000: 0a00 0002
+ Restart Signaling TLV #211, length: 3
+ Flags [none], Remaining holding time 0s
+ IS Neighbor(s) TLV #6, length: 6
+ SNPA: c202.2998.0051
+ Padding TLV #8, length: 255
+ IS Alias ID TLV #24, length: 255
+ IS Neighbor: f500.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, no sub-TLVs present
+ IS Neighbor: 0000.0000.0000.00, sub-TLVs present (37)
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ Bandwidth Constraints subTLV #22, length: 0
+ Bandwidth Constraints Model ID: Russian dolls (0)
+ Bandwidth constraint CT0: 0.000 Mbps
+ Bandwidth constraint CT1: 0.000 Mbps
+ Bandwidth constraint CT2: 0.000 Mbps
+ Bandwidth constraint CT3: 0.000 Mbps
+ Bandwidth constraint CT4: 0.000 Mbps
+ Bandwidth constraint CT5: 0.000 Mbps
+ Bandwidth constraint CT6: -0.000 Mbps
+ Bandwidth constraint CT7: 0.000 Mbps
+ Bandwidth constraint CT8: 0.000 Mbps
+ Bandwidth constraint CT9: 0.000 Mbps
+ Bandwidth constraint CT10: 0.000 Mbps
+ Bandwidth constraint CT11: 0.000 Mbps
+ Bandwidth constraint CT12: 0.000 Mbps
+ Bandwidth constraint CT13: 0.000 Mbps
+ Bandwidth constraint CT14: -1267650597027719304708096.000 Mbps
+ Bandwidth constraint CT15: 0.000 Mbps
+ Bandwidth constraint CT16: 0.000 Mbps
+ Bandwidth constraint CT17: 0.000 Mbps
+ Bandwidth constraint CT18: 0.000 Mbps
+ Bandwidth constraint CT19: 0.000 Mbps
+ Bandwidth constraint CT20: 0.000 Mbps
+ Bandwidth constraint CT21: 0.000 Mbps
+ Bandwidth constraint CT22: 0.000 Mbps
+ Bandwidth constraint CT23: 0.000 Mbps
+ Bandwidth constraint CT24: 0.000 Mbps
+ Bandwidth constraint CT25: 0.000 Mbps
+ Bandwidth constraint CT26: 0.000 Mbps
+ Bandwidth constraint CT27: 0.000 Mbps
+ Bandwidth constraint CT28: 0.000 Mbps
+ Bandwidth constraint CT29: 0.000 Mbps
+ Bandwidth constraint CT30: 0.000 Mbps
+ Bandwidth constraint CT31: 0.000 Mbps
+ Bandwidth constraint CT32: 0.000 Mbps
+ Bandwidth constraint CT33: 0.000 Mbps
+ Bandwidth constraint CT34: 0.000 Mbps
+ Bandwidth constraint CT35: 0.000 Mbps
+ Bandwidth constraint CT36: 0.000 Mbps
+ Bandwidth constraint CT37: 0.000 Mbps
+ Bandwidth constraint CT38: 16.777 Mbps
+ Bandwidth constraint CT39: 0.000 Mbps
+ Bandwidth constraint CT40: 0.000 Mbps
+ Bandwidth constraint CT41: 0.000 Mbps
+ Bandwidth constraint CT42: 0.000 Mbps
+ Bandwidth constraint CT43: 0.000 Mbps
+ Bandwidth constraint CT44: 0.000 Mbps
+ Bandwidth constraint CT45: 0.000 Mbps
+ Bandwidth constraint CT46: 0.000 Mbps
+ Bandwidth constraint CT47: 0.000 Mbps
+ Bandwidth constraint CT48: 0.000 Mbps
+ Bandwidth constraint CT49: 0.000 Mbps
+ Bandwidth constraint CT50: 0.000 Mbps
+ Bandwidth constraint CT51: 0.000 Mbps
+ Bandwidth constraint CT52: 0.000 Mbps
+ Bandwidth constraint CT53: 0.000 Mbps
+ Bandwidth constraint CT54: 0.000 Mbps
+ Bandwidth constraint CT55: 0.000 Mbps
+ Bandwidth constraint CT56: 0.000 Mbps
+ Bandwidth constraint CT57: 0.000 Mbps
+ Bandwidth constraint CT58: 0.000 Mbps
+ Bandwidth constraint CT59: 0.000 Mbps
+ Bandwidth constraint CT60: 0.000 Mbps
+ Bandwidth constraint CT61: 0.000 Mbps
+ Bandwidth constraint CT62: 0.000 Mbps
+ Bandwidth constraint CT63: 0.000 Mbps
+ Bandwidth constraint CT64: 0.000 Mbps
+ Bandwidth constraint CT65: 0.000 Mbps
+ Bandwidth constraint CT66: 0.000 Mbps
+ Bandwidth constraint CT67: 0.000 Mbps
+ Bandwidth constraint CT68: 0.000 Mbps
+ Bandwidth constraint CT69: 0.000 Mbps
+ Bandwidth constraint CT70: 0.000 Mbps
+ Bandwidth constraint CT71: 0.000 Mbps
+ Bandwidth constraint CT72: 0.000 Mbps
+ Bandwidth constraint CT73: 0.000 Mbps
+ Bandwidth constraint CT74: 0.000 Mbps
+ Bandwidth constraint CT75: 0.000 Mbps
+ Bandwidth constraint CT76: 0.000 Mbps
+ Bandwidth constraint CT77: 0.000 Mbps
+ Bandwidth constraint CT78: 0.000 Mbps
+ Bandwidth constraint CT79: 0.000 Mbps
+ Bandwidth constraint CT80: 0.000 Mbps
+ Bandwidth constraint CT81: 0.000 Mbps
+ Bandwidth constraint CT82: 0.000 Mbps
+ Bandwidth constraint CT83: 0.000 Mbps
+ Bandwidth constraint CT84: 0.000 Mbps
+ Bandwidth constraint CT85: 0.000 Mbps
+ Bandwidth constraint CT86: 0.000 Mbps
+ Bandwidth constraint CT87: 0.000 Mbps
+ Bandwidth constraint CT88: 0.000 Mbps
+ Bandwidth constraint CT89: 0.000 Mbps
+ Bandwidth constraint CT90: 0.000 Mbps
+ Bandwidth constraint CT91: 0.000 Mbps
+ Bandwidth constraint CT92: 0.000 Mbps
+ Bandwidth constraint CT93: 0.000 Mbps
+ Bandwidth constraint CT94: 0.000 Mbps
+ Bandwidth constraint CT95: 0.000 Mbps
+ Bandwidth constraint CT96: 0.000 Mbps
+ Bandwidth constraint CT97: 0.000 Mbps
+ Bandwidth constraint CT98: 0.000 Mbps
+ Bandwidth constraint CT99: 0.000 Mbps
+ Bandwidth constraint CT100: 0.000 Mbps
+ Bandwidth constraint CT101: 0.000 Mbps
+ Bandwidth constraint CT102: 0.000 Mbps
+ Bandwidth constraint CT103: 0.000 Mbps
+ Bandwidth constraint CT104: 0.000 Mbps
+ Bandwidth constraint CT105: 0.000 Mbps
+ Bandwidth constraint CT106: 0.000 Mbps
+ Bandwidth constraint CT107: 0.000 Mbps
+ Bandwidth constraint CT108: 0.000 Mbps
+ Bandwidth constraint CT109: 0.000 Mbps
+ Bandwidth constraint CT110: 334903128525925002608918921216.000 Mbps
+ Bandwidth constraint CT111: 0.000 Mbps
+ Bandwidth constraint CT112: 0.000 Mbps
+ Bandwidth constraint CT113: 0.000 Mbps
+ Bandwidth constraint CT114: 0.000 Mbps
+ Bandwidth constraint CT115: 0.000 Mbps
+ Bandwidth constraint CT116: 0.000 Mbps
+ Bandwidth constraint CT117: 0.000 Mbps
+ Bandwidth constraint CT118: 0.000 Mbps
+ Bandwidth constraint CT119: 0.000 Mbps
+ Bandwidth constraint CT120: 0.000 Mbps
+ Bandwidth constraint CT121: 0.000 Mbps
+ Bandwidth constraint CT122: 0.000 Mbps
+ Bandwidth constraint CT123: 0.000 Mbps
+ Bandwidth constraint CT124: 0.000 Mbps
+ Bandwidth constraint CT125: 0.000 Mbps
+ Bandwidth constraint CT126: 0.000 Mbps
+ Bandwidth constraint CT127: 0.000 Mbps
+ Bandwidth constraint CT128: 0.000 Mbps
+ Bandwidth constraint CT129: 0.000 Mbps
+ Bandwidth constraint CT130: 0.000 Mbps
+ Bandwidth constraint CT131: 0.000 Mbps
+ Bandwidth constraint CT132: 0.000 Mbps
+ Bandwidth constraint CT133: 0.000 Mbps
+ Bandwidth constraint CT134: 0.000 Mbps
+ Bandwidth constraint CT135: 0.000 Mbps
+ Bandwidth constraint CT136: 0.000 Mbps
+ Bandwidth constraint CT137: -4.194 Mbps
+ Bandwidth constraint CT138: 0.000 Mbps
+ Bandwidth constraint CT139: 0.000 Mbps
+ Bandwidth constraint CT140: 0.000 Mbps
+ Bandwidth constraint CT141: 0.000 Mbps
+ Bandwidth constraint CT142: 0.000 Mbps
+ Bandwidth constraint CT143: 0.000 Mbps
+ Bandwidth constraint CT144: 0.000 Mbps
+ Bandwidth constraint CT145: 0.000 Mbps
+ Bandwidth constraint CT146: 0.000 Mbps
+ Bandwidth constraint CT147: 0.000 Mbps
+ Bandwidth constraint CT148: 0.000 Mbps
+ Bandwidth constraint CT149: 0.000 Mbps
+ Bandwidth constraint CT150: 0.000 Mbps
+ Bandwidth constraint CT151: 0.000 Mbps
+ Bandwidth constraint CT152: 0.000 Mbps
+ Bandwidth constraint CT153: 0.000 Mbps
+ Bandwidth constraint CT154: 16.777 Mbps
+ Bandwidth constraint CT155: 0.000 Mbps
+ Bandwidth constraint CT156: 0.000 Mbps
+ Bandwidth constraint CT157: 0.000 Mbps
+ Bandwidth constraint CT158: 0.000 Mbps
+ Bandwidth constraint CT159: 0.000 Mbps
+ Bandwidth constraint CT160: 0.000 Mbps
+ Bandwidth constraint CT161: 0.000 Mbps
+ Bandwidth constraint CT162: 0.000 Mbps
+ Bandwidth constraint CT163: 0.000 Mbps
+ Bandwidth constraint CT164: 0.000 Mbps
+ Bandwidth constraint CT165: 0.000 Mbps
+ Bandwidth constraint CT166: 0.000 Mbps
+ Bandwidth constraint CT167: 0.000 Mbps
+ Bandwidth constraint CT168: 0.000 Mbps
+ Bandwidth constraint CT169: 0.000 Mbps
+ Bandwidth constraint CT170: 0.000 Mbps
+ Bandwidth constraint CT171: 0.000 Mbps
+ Bandwidth constraint CT172: 0.000 Mbps
+ Bandwidth constraint CT173: 0.000 Mbps
+ Bandwidth constraint CT174: 0.000 Mbps
+ Bandwidth constraint CT175: 0.000 Mbps
+ Bandwidth constraint CT176: 0.000 Mbps
+ Bandwidth constraint CT177: 0.000 Mbps
+ Bandwidth constraint CT178: 0.000 Mbps
+ Bandwidth constraint CT179: 1099511.625 Mbps
+ Bandwidth constraint CT180: 0.000 Mbps
+ Bandwidth constraint CT181: 0.000 Mbps
+ Bandwidth constraint CT182: 0.000 Mbps
+ Bandwidth constraint CT183: 0.000 Mbps
+ Bandwidth constraint CT184: 0.000 Mbps
+ Bandwidth constraint CT185: 0.000 Mbps
+ Bandwidth constraint CT186: 0.000 Mbps
+ Bandwidth constraint CT187: 0.000 Mbps
+ Bandwidth constraint CT188: 0.000 Mbps
+ Bandwidth constraint CT189: 0.000 Mbps
+ Bandwidth constraint CT190: 0.000 Mbps
+ Bandwidth constraint CT191: 0.000 Mbps
+ Bandwidth constraint CT192: 0.000 Mbps
+ Bandwidth constraint CT193: 0.000 Mbps
+ Bandwidth constraint CT194: 0.000 Mbps
+ Bandwidth constraint CT195: 0.000 Mbps
+ Bandwidth constraint CT196: 0.000 Mbps
+ Bandwidth constraint CT197: 0.000 Mbps
+ Bandwidth constraint CT198: 0.000 Mbps
+ Bandwidth constraint CT199: 0.000 Mbps
+ Bandwidth constraint CT200: 0.000 Mbps
+ Bandwidth constraint CT201: 0.000 Mbps
+ Bandwidth constraint CT202: 0.000 Mbps
+ Bandwidth constraint CT203: 0.000 Mbps
+ Bandwidth constraint CT204: 0.000 Mbps
+ Bandwidth constraint CT205: 0.000 Mbps
+ Bandwidth constraint CT206: 0.000 Mbps
+ Bandwidth constraint CT207: 0.000 Mbps
+ Bandwidth constraint CT208: 0.000 Mbps
+ Bandwidth constraint CT209: 0.000 Mbps
+ Bandwidth constraint CT210: 0.000 Mbps
+ Bandwidth constraint CT211: 0.000 Mbps
+ Bandwidth constraint CT212: 0.000 Mbps
+ Bandwidth constraint CT213: 0.000 Mbps
+ Bandwidth constraint CT214: 0.000 Mbps
+ Bandwidth constraint CT215: 0.000 Mbps
+ Bandwidth constraint CT216: 0.000 Mbps
+ Bandwidth constraint CT217: 0.000 Mbps
+ Bandwidth constraint CT218: 0.000 Mbps
+ Bandwidth constraint CT219: 0.000 Mbps
+ Bandwidth constraint CT220: 0.000 Mbps
+ Bandwidth constraint CT221: 0.000 Mbps
+ Bandwidth constraint CT222: 0.000 Mbps
+ Bandwidth constraint CT223: 0.000 Mbps
+ Bandwidth constraint CT224: 0.000 Mbps
+ Bandwidth constraint CT225: 0.000 Mbps
+ Bandwidth constraint CT226: 0.000 Mbps
+ Bandwidth constraint CT227: 0.000 Mbps
+ Bandwidth constraint CT228: 0.000 Mbps
+ Bandwidth constraint CT229: 0.000 Mbps
+ Bandwidth constraint CT230: -0.000 Mbps
+ Bandwidth constraint CT231: 0.000 Mbps
+ Bandwidth constraint CT232: 0.000 Mbps
+ Bandwidth constraint CT233: 0.000 Mbps
+ Bandwidth constraint CT234: 0.000 Mbps
+ Bandwidth constraint CT235: 0.000 Mbps
+ Bandwidth constraint CT236: 0.000 Mbps
+ Bandwidth constraint CT237: 0.000 Mbps
+ Bandwidth constraint CT238: 0.000 Mbps
+ Bandwidth constraint CT239: 0.000 Mbps
+ Bandwidth constraint CT240: 0.000 Mbps
+ Bandwidth constraint CT241: 0.000 Mbps
+ Bandwidth constraint CT242: 0.000 Mbps
+ Bandwidth constraint CT243: 0.000 Mbps
+ Bandwidth constraint CT244: 0.000 Mbps
+ Bandwidth constraint CT245: 0.000 Mbps
+ Bandwidth constraint CT246: 0.000 Mbps
+ Bandwidth constraint CT247: 0.000 Mbps
+ Bandwidth constraint CT248: 0.000 Mbps
+ Bandwidth constraint CT249: 0.000 Mbps
+ Bandwidth constraint CT250: 0.000 Mbps
+ Bandwidth constraint CT251: 0.000 Mbps
+ Bandwidth constraint CT252: 0.000 Mbps
+ Bandwidth constraint CT253: 0.000 Mbps
+ Bandwidth constraint CT254: 0.000 Mbps
+ Bandwidth constraint CT255: 0.000 Mbps
+ Bandwidth constraint CT256: 0.000 Mbps
+ Bandwidth constraint CT257: 0.000 Mbps
+ Bandwidth constraint CT258: 0.000 Mbps
+ Bandwidth constraint CT259: 0.000 Mbps
+ Bandwidth constraint CT260: 0.000 Mbps
+ Bandwidth constraint CT261: 0.000 Mbps
+ Bandwidth constraint CT262: 0.000 Mbps
+ Bandwidth constraint CT263: 0.000 Mbps
+ Bandwidth constraint CT264: 0.000 Mbps
+ Bandwidth constraint CT265: 0.000 Mbps
+ Bandwidth constraint CT266: 0.000 Mbps
+ Bandwidth constraint CT267: 0.000 Mbps
+ Bandwidth constraint CT268: 0.000 Mbps
+ [|isis]
diff --git a/tests/isis-seg-fault-1-v.sh b/tests/isis-seg-fault-1-v.sh
new file mode 100755
index 000000000000..2e9b6ec5c763
--- /dev/null
+++ b/tests/isis-seg-fault-1-v.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# This "verbose" ISIS protocol test involves a float calculation that
+# may produce a slightly different result if the compiler is not GCC.
+# Test only with GCC (similar to GitHub issue #333).
+
+test_name=isis-seg-fault-1-v
+
+if [ ! -f ../Makefile ]
+then
+ printf ' %-35s: TEST SKIPPED (no Makefile)\n' $test_name
+elif grep '^CC = .*gcc' ../Makefile >/dev/null
+then
+ ./TESTonce $test_name isis-seg-fault-1.pcap isis-seg-fault-1-v.out '-t -v'
+else
+ printf ' %-35s: TEST SKIPPED (compiler is not GCC)\n' $test_name
+fi
diff --git a/tests/isis-seg-fault-1.pcap b/tests/isis-seg-fault-1.pcap
new file mode 100644
index 000000000000..e19d0828c3c2
--- /dev/null
+++ b/tests/isis-seg-fault-1.pcap
Binary files differ
diff --git a/tests/isis-seg-fault-2-v.out b/tests/isis-seg-fault-2-v.out
new file mode 100644
index 000000000000..f395a8b57e1d
--- /dev/null
+++ b/tests/isis-seg-fault-2-v.out
@@ -0,0 +1,222 @@
+IS-IS, length 1497
+ L1 Lan IIH, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+ source-id: 3333.3333.3333, holding time: 10s, Flags: [unknown circuit type 0x21]
+ lan-id: 3333.5a33.3333.02, Priority: 64, PDU length: 1497
+ Multi-Topology Capability TLV #144, length: 1
+ O: 1, RES: 4, MTID(s): 3073
+ unknown subTLV #4, length: 3
+ unknown subTLV #73, length: 0
+ unknown subTLV #10, length: 132
+ unknown subTLV #4, length: 10
+ unknown subTLV #0, length: 10
+ unknown subTLV #0, length: 55
+ SPBM Service Identifier and Unicast Address subTLV #3, length: 0
+ BMAC: 00000606c201, RES: 2, VID: 2456
+ unknown subTLV #204, length: 83
+ unknown subTLV #8, length: 191
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #82, length: 0
+ unknown subTLV #0, length: 86
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 37
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 108
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #48, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #172, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #76, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 90
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 90
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 107
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 37
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #2, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 92
+ unknown subTLV #0, length: 0
+ unknown subTLV #113, length: 90
+ unknown subTLV #0, length: 230
+ unknown subTLV #0, length: 0
+ unknown subTLV #79, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #234, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #64, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #37, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #2, length: 0
+ unknown subTLV #0, length: 0
+ unknown subTLV #0, length: 0
+ Area address(es) TLV #1, length: 4
+ Area address (length: 3): 49.000a
+ IPv4 Interface address(es) TLV #132, length: 4
+ IPv4 interface address: 10.0.10.0
+ unknown TLV #55, length: 3
+ 0x0000: 0000 00
+ IS Neighbor(s) TLV #6, length: 6
+ SNPA: c201.2998.cc53
+ Padding TLV #8, length: 191
+ unknown TLV #0, length: 0
+ unknown TLV #0, length: 0
+ unknown TLV #0, length: 0
+ unknown TLV #0, length: 0
+ unknown TLV #0, length: 0
+ unknown TLV #0, length: 37
+ 0x0000: 0000 0000 0000 0025 0000 0000 0000 0000
+ 0x0010: 0000 0002 0000 0000 0000 0000 0000 0000
+ 0x0020: 0000 7300 1e
+ unknown TLV #0, length: 0
+ unknown TLV #0, length: 170
+ 0x0000: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0010: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0020: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0030: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0040: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0050: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0060: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0070: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0080: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0090: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x00a0: aaaa aaaa aaaa aaaa aaaa
+ unknown TLV #170, length: 170
+ 0x0000: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0010: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0020: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0030: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0040: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0050: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0060: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0070: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0080: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0090: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x00a0: aaaa aaaa aaaa aaaa aaaa
+ unknown TLV #170, length: 170
+ 0x0000: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0010: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0020: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0030: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0040: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0050: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0060: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0070: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0080: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0090: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x00a0: aaaa aaaa aaaa aaaa aaaa
+ unknown TLV #170, length: 170
+ 0x0000: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0010: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0020: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0030: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0040: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0050: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0060: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0070: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0080: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0090: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x00a0: aaaa aaaa aaaa aaaa aaaa
+ unknown TLV #170, length: 170
+ 0x0000: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0010: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0020: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0030: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0040: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0050: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0060: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0070: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0080: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0090: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x00a0: aaaa aaaa aaaa aaaa aaaa
+ unknown TLV #170, length: 170
+ 0x0000: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0010: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0020: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0030: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0040: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0050: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0060: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0070: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0080: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x0090: aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
+ 0x00a0: aaaa aaaa aaaa aaaa aaaa
+ 164 straggler bytes
diff --git a/tests/isis-seg-fault-2.pcap b/tests/isis-seg-fault-2.pcap
new file mode 100644
index 000000000000..66a646d78eff
--- /dev/null
+++ b/tests/isis-seg-fault-2.pcap
Binary files differ
diff --git a/tests/isis-seg-fault-3-v.out b/tests/isis-seg-fault-3-v.out
new file mode 100644
index 000000000000..d16109357dbe
--- /dev/null
+++ b/tests/isis-seg-fault-3-v.out
@@ -0,0 +1,4 @@
+IS-IS, length 131146
+ L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+ lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1200s
+ chksum: 0x378e [|isis]
diff --git a/tests/isis-seg-fault-3.pcap b/tests/isis-seg-fault-3.pcap
new file mode 100644
index 000000000000..17f685f0adc7
--- /dev/null
+++ b/tests/isis-seg-fault-3.pcap
Binary files differ
diff --git a/tests/isis_poi.out b/tests/isis_poi.out
new file mode 100644
index 000000000000..129734b544b2
--- /dev/null
+++ b/tests/isis_poi.out
@@ -0,0 +1,8 @@
+IS-IS, length 43
+ L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+ lsp-id: 1280.9201.9098.00-00, seq: 0x000001e2, lifetime: 0s
+ chksum: 0x0000 (unverified), PDU length: 43, Flags: [ L2 IS ]
+ Purge Originator Identifier TLV #13, length: 7
+ Purge Originator System-ID: 1280.9202.0074
+ Hostname TLV #137, length: 5
+ Hostname: P2_re
diff --git a/tests/isis_poi.pcap b/tests/isis_poi.pcap
new file mode 100644
index 000000000000..fdd433cc9acb
--- /dev/null
+++ b/tests/isis_poi.pcap
Binary files differ
diff --git a/tests/isis_poi2.out b/tests/isis_poi2.out
new file mode 100644
index 000000000000..10eecca5c52e
--- /dev/null
+++ b/tests/isis_poi2.out
@@ -0,0 +1,9 @@
+IS-IS, length 49
+ L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+ lsp-id: 1280.9201.7082.00-00, seq: 0x0000023f, lifetime: 0s
+ chksum: 0x0000 (unverified), PDU length: 49, Flags: [ L2 IS ]
+ Purge Originator Identifier TLV #13, length: 13
+ Purge Originator System-ID: 1280.9202.7092
+ Received from System-ID: 1280.9202.0074
+ Hostname TLV #137, length: 5
+ Hostname: P1_re
diff --git a/tests/isis_poi2.pcap b/tests/isis_poi2.pcap
new file mode 100644
index 000000000000..81745243a37e
--- /dev/null
+++ b/tests/isis_poi2.pcap
Binary files differ
diff --git a/tests/isoclns-heapoverflow-2.out b/tests/isoclns-heapoverflow-2.out
new file mode 100644
index 000000000000..6bdfd01298c1
--- /dev/null
+++ b/tests/isoclns-heapoverflow-2.out
@@ -0,0 +1 @@
+fe:fe:fe:fe:fe:fe > 30:30:da:fe:fe:fe, ethertype OSI (0xfefe), length 808464432: OSI NLPID CLNP (0x81): [|clnp]
diff --git a/tests/isoclns-heapoverflow-2.pcap b/tests/isoclns-heapoverflow-2.pcap
new file mode 100644
index 000000000000..c86570be8609
--- /dev/null
+++ b/tests/isoclns-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/isoclns-heapoverflow-3.out b/tests/isoclns-heapoverflow-3.out
new file mode 100644
index 000000000000..74d2a22774f1
--- /dev/null
+++ b/tests/isoclns-heapoverflow-3.out
@@ -0,0 +1 @@
+fe:fe:fe:fe:fe:fe > 30:30:da:fe:fe:fe, ethertype OSI (0xfefe), length 808464432: OSI NLPID CLNP (0x81): 00 > e8.3030, Echo Request, length 808464417
diff --git a/tests/isoclns-heapoverflow-3.pcap b/tests/isoclns-heapoverflow-3.pcap
new file mode 100644
index 000000000000..1425bdbc14d4
--- /dev/null
+++ b/tests/isoclns-heapoverflow-3.pcap
Binary files differ
diff --git a/tests/isoclns-heapoverflow.out b/tests/isoclns-heapoverflow.out
new file mode 100644
index 000000000000..c2cfdfb231e2
--- /dev/null
+++ b/tests/isoclns-heapoverflow.out
@@ -0,0 +1 @@
+|OSI
diff --git a/tests/isoclns-heapoverflow.pcap b/tests/isoclns-heapoverflow.pcap
new file mode 100644
index 000000000000..f724db003e07
--- /dev/null
+++ b/tests/isoclns-heapoverflow.pcap
Binary files differ
diff --git a/tests/juniper_header-heapoverflow.out b/tests/juniper_header-heapoverflow.out
new file mode 100644
index 000000000000..b13cfbee090b
--- /dev/null
+++ b/tests/juniper_header-heapoverflow.out
@@ -0,0 +1 @@
+[|juniper_hdr], length 808464432
diff --git a/tests/juniper_header-heapoverflow.pcap b/tests/juniper_header-heapoverflow.pcap
new file mode 100644
index 000000000000..ea88636a54a9
--- /dev/null
+++ b/tests/juniper_header-heapoverflow.pcap
Binary files differ
diff --git a/tests/kday1.out b/tests/kday1.out
index eaaacaa57740..9cb884d4f3b2 100644
--- a/tests/kday1.out
+++ b/tests/kday1.out
@@ -1,15 +1,2 @@
-IP6, wrong link-layer encapsulation (tos 0x10, ttl 192, id 63177, offset 0, flags [DF], proto SCTP (132), length 168, options (security [bad length 110]), bad cksum a291 (->9204)!)
- c084:a291:b8aa:42aa:3e38:9ac7:826e:b930.33943 > 8497:1a30:7cd4:d4d4:d4d4:d428:13:68.6704: sctp[ForCES HP] (1) [DATA] (B)(E) [TSN: 1934917887] [SID: 256] [SSEQ 15360] [PPID 0x3c00]
- ForCES Config
- ForCES Version 14 len 88B flags 0x0a040604
- SrcID 0xff000200(AllMulticast) DstID 0xb59cbe(FE) Correlator 0x30480805f4010800
- Messy oper TLV header, type (0x600)
- excess of -240 Bytes
- [0x0000: e803 0016 ff00 0200 00b5 9cbe 3048 0805
- [0x0010: f401 0800 0a04 0604 0010 003c 0000 3ce8
- [0x0020: 0300 3c00 000e 0016 0604 0010 003c 0000
- [0x0030: 0000 ff00 ffff a69c be30 4808 0600 0108
- [0x0040: 0006 0400 0184 b59c be30 84b5 0010 0000
- [0x0050: cc05 367e 0003 0000
- ][|sctp]
+IP6, wrong link-layer encapsulation
EXIT CODE 00000100
diff --git a/tests/kday2.out b/tests/kday2.out
index 770fc3b78169..fa135729c63a 100644
--- a/tests/kday2.out
+++ b/tests/kday2.out
@@ -9,12 +9,7 @@ CFMv0 unknown (204), MD Level 0, length 168
0x0060: 0000 0000 0000 3200 0000 0000 00aa 6873
Port status TLV (0x02), length 26, Status: Unknown (0)
Unknown TLV (0x37), length 4101
- 0x0000: 3710 05ff ff05 cc09 3493 0000 0000 8000
- 0x0010: 0000 0000 0032 0000 0000 0000 aa68 7354
- 0x0020: d706 0b00 3c00 0000 3c00 0000 0080 0000
- 0x0030: fffd 4d5f d9bd c709 30ac 8176 b36d cc11
- 0x0040: 3abf 1291 f106 4ede 61f4 6297 afc4 39a4
- 0x0050: 0db9 7a
+ packet is too short
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0xa678), ack 1819218606, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 0
IP (tos 0x10, ttl 62, id 62920, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 4504 (->451a)!)
@@ -29,6 +24,6 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0020: b36d cc11 3abf 1291 f106 4ede 61f4 6297
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 21
- Error code: Unknown (66), Encapsulated PDU length: 37|trunc
+ Error code: Unknown (66), Encapsulated PDU length: 37
[|RPKI-RTR]
EXIT CODE 00000100
diff --git a/tests/kday3.out b/tests/kday3.out
index f6fd72848280..95909e06641b 100644
--- a/tests/kday3.out
+++ b/tests/kday3.out
@@ -1,7 +1,6 @@
IP (tos 0x10, ttl 64, id 63177, offset 0, flags [DF], proto TCP (6), length 168)
204.9.54.80.22 > 204.9.51.132.50079: Flags [P.], cksum 0x0282 (incorrect -> 0x3217), seq 1819218606:1819218722, ack 1238485076, win 1039, options [nop,nop,TS val 1340592078 ecr 941371882], length 116
-IP6, wrong link-layer encapsulation (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52, options (unknown 195 [bad length 159]), bad cksum 3da6 (->45ca)!)
- 27759 > 4782: tcp 24 [bad hdr length 0 - too short, < 20]
+IP6, wrong link-layer encapsulation
IP (tos 0x10, ttl 62, id 62920, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 4504 (->451a)!)
204.9.51.132.50079 > 204.243.53.80.22: Flags [.], cksum 0x858b (incorrect -> 0x85a1), ack 1819218722, win 4092, options [nop,nop,TS val 941371913 ecr 1340592084], length 0
IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 3e8c (->438c)!)
@@ -13,10 +12,7 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0010: f857 ee68 4dfd 4d5f d9bd c709 30ac 8176
0x0020: b36d cc11 3abf 1291 f106 4ede 61f4 6297
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
- RPKI-RTRv65, Error Report PDU (10), length: 66|trunc
- RPKI-RTRv115, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 12
- -----encapsulated PDU-----|trunc|trunc
+ RPKI-RTRv65, Error Report PDU (10), length: 66
[|RPKI-RTR]
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0xa678), ack 0, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 0
@@ -33,9 +29,6 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
Error code: Unknown (66), Encapsulated PDU length: 37
- -----encapsulated PDU-----|trunc|trunc
- RPKI-RTRv9, Unknown PDU (51), length: 32
- 0x0000: 0933 84cc 0000 0020 9f00 1649 d1c8 546c
- 0x0010: ff13 1980 100f fc85 8b00 0055 0000 0101
+ -----encapsulated PDU-----
[|RPKI-RTR]
EXIT CODE 00000100
diff --git a/tests/kday4.out b/tests/kday4.out
index 95b29cc3e0dd..ccdebfc8fcfc 100644
--- a/tests/kday4.out
+++ b/tests/kday4.out
@@ -3,6 +3,10 @@ IP (tos 0x10, ttl 64, id 63177, offset 0, flags [none], proto unknown (240), len
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 3da6 (->35a6)!)
212.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0x4811), ack 1819218606, win 17918, options [nop,nop,TS val 941371903 ecr 1340592074], length 0
84:b5:9c:be:30:48 Unknown SSAP 0x10 > 0c:c4:7a:08:e9:12 Unknown DSAP 0x44 Information, send seq 0, rcv seq 26, Flags [Command], length 52
+ 0x0000: 4510 0034 f5c8 4000 3e06 4504 cc09 3384 E..4..@.>.E...3.
+ 0x0010: cc09 3650 c39f 0016 49d1 c854 6c6f 1322 ..6P....I..Tlo."
+ 0x0020: 8010 0ffc 858b 0000 0101 080a 381c 3209 ............8.2.
+ 0x0030: 4fe7 cfd4 O...
IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52)
204.9.54.80.55936 > 204.9.55.10.443: Flags [.], cksum 0x0594 (incorrect -> 0x725a), ack 3589495407, win 1040, options [nop,nop,TS val 647770294 ecr 2364779354], length 0
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
@@ -14,10 +18,7 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
Error code: Unknown (66), Encapsulated PDU length: 37
- -----encapsulated PDU-----|trunc|trunc
- RPKI-RTRv115, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 12
- -----encapsulated PDU-----|trunc|trunc
+ -----encapsulated PDU-----
[|RPKI-RTR]
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0xa678), ack 1819218606, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 0
@@ -34,10 +35,7 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
Error code: Unknown (66), Encapsulated PDU length: 37
- -----encapsulated PDU-----|trunc|trunc
- RPKI-RTRv115, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 12
- -----encapsulated PDU-----|trunc|trunc
+ -----encapsulated PDU-----
[|RPKI-RTR]
IP truncated-ip - 768 bytes missing! (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 820, bad cksum 3da6 (->3aa6)!)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], seq 0:768, ack 1, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 768
@@ -55,6 +53,6 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
RPKI-RTRv65, Error Report PDU (10), length: 66
Error code: Unknown (66), Encapsulated PDU length: 100
Error text: ^@^@^@M-^?M-^?^_^[pM-xWM-nhMM-}M_M-YM-=M-G^I0M-,M-^AvM-3mM-L^Q:M-?^RM-^QM-q^FNM-^aM-tbM-^WM-/M-D9M-$^MM-9zM-%hs3M-hA^J^@B^@^@^@B^@^@^@%M-Dz^HM-i^RM-^DM-5M-^\M->0H^H^@E^P^@4M-}&@^@>^F
- RPKI-RTRv115, Error Report PDU (10), length: 66|trunc
+ RPKI-RTRv115, Error Report PDU (10), length: 66
[|RPKI-RTR]
EXIT CODE 00000100
diff --git a/tests/kday5.out b/tests/kday5.out
index 7aeae727abad..4a8ed7c97a06 100644
--- a/tests/kday5.out
+++ b/tests/kday5.out
@@ -9,12 +9,7 @@ CFMv0 unknown (204), MD Level 0, length 168
0x0060: 0000 0000 0000 3200 0000 0000 00aa 6873
Port status TLV (0x02), length 26, Status: Unknown (0)
Unknown TLV (0x37), length 4101
- 0x0000: 3710 05ff ff05 cc09 3493 0000 0000 8000
- 0x0010: 0000 0000 0032 0000 0000 0000 aa68 7354
- 0x0020: d706 0b00 3c00 0000 3c00 0000 0080 0000
- 0x0030: fffd 4d5f d9bd c709 30ac 8176 b36d cc11
- 0x0040: 3abf 1291 f106 4ede 61f4 6297 afc4 39a4
- 0x0050: 0db9 7a
+ packet is too short
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0xa678), ack 1819218606, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 0
IP (tos 0x10, ttl 62, id 62920, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 4504 (->451a)!)
diff --git a/tests/kday6.out b/tests/kday6.out
index 3eba7e67a6ae..8c49293632df 100644
--- a/tests/kday6.out
+++ b/tests/kday6.out
@@ -1,7 +1,7 @@
FRF.16 Frag, seq 693, Flags [Begin], UI e8! IS-IS, length 301989913
L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 131 (131)
lsp-id: 8383.8383.834f.00-60, seq: 0x06418fcc, lifetime: 33667s
- chksum: 0x0900(unverified), PDU length: 33667, Flags: [ Overload bit set, expense ATT bit set, L1 IS ]
+ chksum: 0x0900 (unverified), PDU length: 33667, Flags: [ Overload bit set, expense ATT bit set, L1 IS ]
Multi-Topology Capability TLV #144, length: 137
O: 0, RES: 4, MTID(s): 3945
unknown subTLV #8, length: 233
@@ -362,19 +362,8 @@ FRF.16 Frag, seq 693, Flags [Begin], UI e8! IS-IS, length 301989913
Partition DIS TLV #4, length: 4
Partition DIS TLV #4, length: 4
Partition DIS TLV #4, length: 5
- unknown TLV #13, length: 178
- 0x0000: c4e4 f9cb 0ce2 cd2e 175a 0bf3 b492 01fa
- 0x0010: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x0020: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x0030: 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a
- 0x0040: 3a3a 3a0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e28
- 0x0050: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x0060: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x0070: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x0080: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x0090: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x00a0: 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e 0e0e
- 0x00b0: 0e0e
+ Purge Originator Identifier TLV #13, length: 178
+ Purge Originator System-ID: e4f9.cb0c.e2cd
LSP Buffersize TLV #14, length: 14
LSP Buffersize: 3598
LSP Buffersize TLV #14, length: 14
@@ -455,6 +444,5 @@ FRF.16 Frag, seq 693, Flags [Begin], UI e8! IS-IS, length 301989913
LSP Buffersize: 3598
unknown TLV #58, length: 58
0x0000: 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a 3a3a
- 0x0010: 3a3a 3a
- packet exceeded snapshot (39) bytes
+ 0x0010: 3a3a 3a [|isis]
EXIT CODE 00000100
diff --git a/tests/kday7.out b/tests/kday7.out
index 94e8b6513cb8..75e24cafe72e 100644
--- a/tests/kday7.out
+++ b/tests/kday7.out
@@ -3,6 +3,10 @@ IP (tos 0x10, ttl 64, id 63177, offset 0, flags [none], proto unknown (240), len
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 3da6 (->35a6)!)
212.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0x4811), ack 1819218606, win 17918, options [nop,nop,TS val 941371903 ecr 1340592074], length 0
84:b5:9c:be:30:48 Unknown SSAP 0x10 > 0c:c4:7a:08:e9:12 Unknown DSAP 0x44 Information, send seq 0, rcv seq 26, Flags [Command], length 52
+ 0x0000: 4510 0034 f5c8 4000 3e06 4504 cc09 3384 E..4..@.>.E...3.
+ 0x0010: cc09 3650 c39f 0016 49d1 c854 6c6f 1322 ..6P....I..Tlo."
+ 0x0020: 8010 0ffc 858b 0000 0101 080a 381c 3209 ............8.2.
+ 0x0030: 4fe7 cfd4 O...
IP (tos 0x0, ttl 64, id 63178, offset 0, flags [DF], proto TCP (6), length 52)
204.9.54.80.55936 > 204.9.55.10.443: Flags [.], cksum 0x0594 (incorrect -> 0x725a), ack 3589495407, win 1040, options [nop,nop,TS val 647770294 ecr 2364779354], length 0
IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399, bad cksum a46b (->a474)!)
@@ -14,10 +18,7 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
Error code: Unknown (66), Encapsulated PDU length: 37
- -----encapsulated PDU-----|trunc|trunc
- RPKI-RTRv115, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 12
- -----encapsulated PDU-----|trunc|trunc
+ -----encapsulated PDU-----
[|RPKI-RTR]
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0xa678), ack 1819218606, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 0
@@ -34,10 +35,7 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
Error code: Unknown (66), Encapsulated PDU length: 37
- -----encapsulated PDU-----|trunc|trunc
- RPKI-RTRv115, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 12
- -----encapsulated PDU-----|trunc|trunc
+ -----encapsulated PDU-----
[|RPKI-RTR]
IP truncated-ip - 768 bytes missing! (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 820, bad cksum 3da6 (->3aa6)!)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], seq 0:768, ack 1, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 768
@@ -53,7 +51,6 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0020: b36d cc11 3abf 1291 f106 4ede 61f4 6297
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 100|trunc
- RPKI-RTRv115, Error Report PDU (10), length: 66|trunc
+ Error code: Unknown (66), Encapsulated PDU length: 100
[|RPKI-RTR]
EXIT CODE 00000100
diff --git a/tests/kday8.out b/tests/kday8.out
index 2d84b724b381..4dfb91c4ae00 100644
--- a/tests/kday8.out
+++ b/tests/kday8.out
@@ -9,12 +9,7 @@ CFMv0 unknown (204), MD Level 0, length 168
0x0060: fffa 0000 0000 3200 0000 0000 00aa 6873
Port status TLV (0x02), length 26, Status: Unknown (0)
Unknown TLV (0x37), length 4101
- 0x0000: 3710 05ff ff05 cc09 3493 0000 0000 80ff
- 0x0010: fa00 0000 0032 0000 0000 0000 aa68 7354
- 0x0020: d706 0b00 3c00 0000 3c00 0000 0080 0000
- 0x0030: fffd 4d5f d9bd c709 30ac 8176 b36d cc11
- 0x0040: 3abf 1291 f106 4ede 61f4 6297 afc4 39a4
- 0x0050: 0db9 7a
+ packet is too short
IP (tos 0x10, ttl 62, id 64806, offset 0, flags [DF], proto TCP (6), length 52)
204.9.51.132.50079 > 204.9.54.80.22: Flags [.], cksum 0x8611 (incorrect -> 0xa678), ack 1819218606, win 4094, options [nop,nop,TS val 941371775 ecr 4294967242], length 0
IP (tos 0x10, ttl 62, id 62920, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 4504 (->451a)!)
@@ -29,6 +24,6 @@ IP (tos 0x0, ttl 64, id 36752, offset 0, flags [DF], proto TCP (6), length 399,
0x0020: b36d cc11 3abf 1291 f106 4ede 61f4 6297
0x0030: afc4 39a4 0db9 7aa5 6873 33e8
RPKI-RTRv65, Error Report PDU (10), length: 66
- Error code: Unknown (66), Encapsulated PDU length: 80|trunc
+ Error code: Unknown (66), Encapsulated PDU length: 80
[|RPKI-RTR]
EXIT CODE 00000100
diff --git a/tests/lisp_eid_notify.out b/tests/lisp_eid_notify.out
new file mode 100644
index 000000000000..43c52468a6e1
--- /dev/null
+++ b/tests/lisp_eid_notify.out
@@ -0,0 +1,63 @@
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 160)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [none],
+ 3 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ LOC 20.20.8.252
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
+ LOC 20.20.8.239
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [I-xTR-ID-Present],
+ 2 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ LOC 20.20.8.252
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ xTR-ID: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
+ SITE-ID: 0
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 160)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [I-xTR-ID-Present],
+ 3 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ LOC 20.20.8.252
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
+ LOC 20.20.8.239
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ (invalid)
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [none],
+ 2 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ LOC 20.20.8.252
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Data: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
+ Data: 0x0010: 0000 0000 0000 0000
diff --git a/tests/lisp_eid_notify.pcap b/tests/lisp_eid_notify.pcap
new file mode 100644
index 000000000000..1f83378f7124
--- /dev/null
+++ b/tests/lisp_eid_notify.pcap
Binary files differ
diff --git a/tests/lisp_eid_register.out b/tests/lisp_eid_register.out
new file mode 100644
index 000000000000..7687b659eb9f
--- /dev/null
+++ b/tests/lisp_eid_register.out
@@ -0,0 +1,28 @@
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 144)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Register, flags [I-xTR-ID-Present, M-Want-Map-Notify],
+ 2 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 1 locator(s)
+ LOC 20.20.8.252
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ xTR-ID: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
+ SITE-ID: 0
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Register, flags [I-xTR-ID-Present, M-Want-Map-Notify],
+ 2 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ LOC 20.20.8.252
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ xTR-ID: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
+ SITE-ID: 0
diff --git a/tests/lisp_eid_register.pcap b/tests/lisp_eid_register.pcap
new file mode 100644
index 000000000000..a6d71ef0692a
--- /dev/null
+++ b/tests/lisp_eid_register.pcap
Binary files differ
diff --git a/tests/lisp_ipv6.out b/tests/lisp_ipv6.out
new file mode 100644
index 000000000000..39e84c3e4d5a
--- /dev/null
+++ b/tests/lisp_ipv6.out
@@ -0,0 +1,24 @@
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 168)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Register, flags [I-xTR-ID-Present, M-Want-Map-Notify],
+ 2 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:85a3::8a2e:370:7334/80, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:95a3::8a2e:370:7334/80, 1 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ xTR-ID: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
+ SITE-ID: 0
+IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 144)
+ 192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [none],
+ 2 record(s), Authentication SHA1,
+ Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
+ Authentication-Data: 0x0010: 836c d1d6
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:85a3::8a2e:370:7334/80, 1 locator(s)
+ LOC 20.20.8.253
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:95a3::8a2e:370:7334/80, 1 locator(s)
+ LOC 20.20.8.251
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
diff --git a/tests/lisp_ipv6.pcap b/tests/lisp_ipv6.pcap
new file mode 100644
index 000000000000..b878efd288a5
--- /dev/null
+++ b/tests/lisp_ipv6.pcap
Binary files differ
diff --git a/tests/llc-xid-heapoverflow.out b/tests/llc-xid-heapoverflow.out
new file mode 100644
index 000000000000..4fcad704c5aa
--- /dev/null
+++ b/tests/llc-xid-heapoverflow.out
@@ -0,0 +1 @@
+Unknown DSAP 0x30 Unnumbered, xid, Flags [Poll], length 808464412[|llc]
diff --git a/tests/llc-xid-heapoverflow.pcap b/tests/llc-xid-heapoverflow.pcap
new file mode 100644
index 000000000000..6a5f1a437236
--- /dev/null
+++ b/tests/llc-xid-heapoverflow.pcap
Binary files differ
diff --git a/tests/lldp_cdp-ev.out b/tests/lldp_cdp-ev.out
index d9fc6477872e..0029a75f9d93 100644
--- a/tests/lldp_cdp-ev.out
+++ b/tests/lldp_cdp-ev.out
@@ -1,4 +1,4 @@
-00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 388: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 0x0bea (unverified), length 366
+00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 374: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 366: CDPv2, ttl: 180s, checksum: 0x0bea (unverified), length 366
Device-ID (0x01), value length: 2 bytes: 'S1'
Version String (0x05), value length: 190 bytes:
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
@@ -17,7 +17,7 @@
Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 0.0.0.0
unknown field type (0x1a), value length: 12 bytes:
0x0000: 0000 0001 0000 0000 ffff ffff
-00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 392: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 0x971d (unverified), length 370
+00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 378: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 370: CDPv2, ttl: 180s, checksum: 0x971d (unverified), length 370
Device-ID (0x01), value length: 2 bytes: 'S2'
Version String (0x05), value length: 190 bytes:
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
@@ -124,7 +124,7 @@
PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036)
MAU type 100BASETX fdx (0x0010)
End TLV (0), length 0
-00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 388: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 0x0be9 (unverified), length 366
+00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 374: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 366: CDPv2, ttl: 180s, checksum: 0x0be9 (unverified), length 366
Device-ID (0x01), value length: 2 bytes: 'S1'
Version String (0x05), value length: 190 bytes:
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
@@ -143,7 +143,7 @@
Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 0.0.0.0
unknown field type (0x1a), value length: 12 bytes:
0x0000: 0000 0001 0000 0000 ffff ffff
-00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 392: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 0x971c (unverified), length 370
+00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 378: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 370: CDPv2, ttl: 180s, checksum: 0x971c (unverified), length 370
Device-ID (0x01), value length: 2 bytes: 'S2'
Version String (0x05), value length: 190 bytes:
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
diff --git a/tests/lldp_mudurl-v.out b/tests/lldp_mudurl-v.out
new file mode 100644
index 000000000000..57ac6ffa98f2
--- /dev/null
+++ b/tests/lldp_mudurl-v.out
@@ -0,0 +1,62 @@
+00:23:54:c2:57:02 > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 302: LLDP, length 288
+ Chassis ID TLV (1), length 7
+ Subtype MAC address (4): 00:23:54:c2:57:02
+ Port ID TLV (2), length 7
+ Subtype MAC address (3): 00:23:54:c2:57:02
+ Time to Live TLV (3), length 2: TTL 120s
+ System Name TLV (5), length 28: upstairs.ofcourseimright.com
+ System Description TLV (6), length 92
+ Ubuntu 14.04.5 LTS Linux 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:45:13 UTC 2016 i686
+ System Capabilities TLV (7), length 4
+ System Capabilities [Bridge, WLAN AP, Router, Station Only] (0x009c)
+ Enabled Capabilities [WLAN AP] (0x0008)
+ Management Address TLV (8), length 12
+ Management Address length 5, AFI IPv4 (1): 62.12.173.114
+ Interface Index Interface Numbering (2): 2
+ Management Address TLV (8), length 24
+ Management Address length 17, AFI IPv6 (2): 2001:8a8:1006:4:223:54ff:fec2:5702
+ Interface Index Interface Numbering (2): 2
+ Port Description TLV (4), length 4: eth0
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ Link aggregation Subtype (3)
+ aggregation status [supported], aggregation port ID 0
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ MAC/PHY configuration/status Subtype (1)
+ autonegotiation [supported, enabled] (0x03)
+ PMD autoneg capability [10BASE-T hdx, 10BASE-T fdx, 100BASE-TX hdx, 100BASE-TX fdx, Pause for fdx links, Asym PAUSE for fdx, 1000BASE-T hdx, 1000BASE-T fdx] (0xecc3)
+ MAU type 100BASETX fdx (0x0010)
+ Organization specific TLV (127), length 64: OUI IANA (0x00005e)
+ MUD-URL Subtype (1)
+ MUD-URL=https://imright.mud.example.com/.well-known/mud/v1/vomitv2.0
+ End TLV (0), length 0
+00:23:54:c2:57:02 > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 302: LLDP, length 288
+ Chassis ID TLV (1), length 7
+ Subtype MAC address (4): 00:23:54:c2:57:02
+ Port ID TLV (2), length 7
+ Subtype MAC address (3): 00:23:54:c2:57:02
+ Time to Live TLV (3), length 2: TTL 120s
+ System Name TLV (5), length 28: upstairs.ofcourseimright.com
+ System Description TLV (6), length 92
+ Ubuntu 14.04.5 LTS Linux 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:45:13 UTC 2016 i686
+ System Capabilities TLV (7), length 4
+ System Capabilities [Bridge, WLAN AP, Router, Station Only] (0x009c)
+ Enabled Capabilities [WLAN AP] (0x0008)
+ Management Address TLV (8), length 12
+ Management Address length 5, AFI IPv4 (1): 62.12.173.114
+ Interface Index Interface Numbering (2): 2
+ Management Address TLV (8), length 24
+ Management Address length 17, AFI IPv6 (2): 2001:8a8:1006:4:223:54ff:fec2:5702
+ Interface Index Interface Numbering (2): 2
+ Port Description TLV (4), length 4: eth0
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ Link aggregation Subtype (3)
+ aggregation status [supported], aggregation port ID 0
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ MAC/PHY configuration/status Subtype (1)
+ autonegotiation [supported, enabled] (0x03)
+ PMD autoneg capability [10BASE-T hdx, 10BASE-T fdx, 100BASE-TX hdx, 100BASE-TX fdx, Pause for fdx links, Asym PAUSE for fdx, 1000BASE-T hdx, 1000BASE-T fdx] (0xecc3)
+ MAU type 100BASETX fdx (0x0010)
+ Organization specific TLV (127), length 64: OUI IANA (0x00005e)
+ MUD-URL Subtype (1)
+ MUD-URL=https://imright.mud.example.com/.well-known/mud/v1/vomitv2.0
+ End TLV (0), length 0
diff --git a/tests/lldp_mudurl-vv.out b/tests/lldp_mudurl-vv.out
new file mode 100644
index 000000000000..556489835b79
--- /dev/null
+++ b/tests/lldp_mudurl-vv.out
@@ -0,0 +1,106 @@
+00:23:54:c2:57:02 > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 302: LLDP, length 288
+ Chassis ID TLV (1), length 7
+ Subtype MAC address (4): 00:23:54:c2:57:02
+ 0x0000: 0400 2354 c257 02
+ Port ID TLV (2), length 7
+ Subtype MAC address (3): 00:23:54:c2:57:02
+ 0x0000: 0300 2354 c257 02
+ Time to Live TLV (3), length 2: TTL 120s
+ 0x0000: 0078
+ System Name TLV (5), length 28: upstairs.ofcourseimright.com
+ 0x0000: 7570 7374 6169 7273 2e6f 6663 6f75 7273
+ 0x0010: 6569 6d72 6967 6874 2e63 6f6d
+ System Description TLV (6), length 92
+ Ubuntu 14.04.5 LTS Linux 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:45:13 UTC 2016 i686
+ 0x0000: 5562 756e 7475 2031 342e 3034 2e35 204c
+ 0x0010: 5453 204c 696e 7578 2033 2e31 332e 302d
+ 0x0020: 3130 362d 6765 6e65 7269 6320 2331 3533
+ 0x0030: 2d55 6275 6e74 7520 534d 5020 5475 6520
+ 0x0040: 4465 6320 3620 3135 3a34 353a 3133 2055
+ 0x0050: 5443 2032 3031 3620 6936 3836
+ System Capabilities TLV (7), length 4
+ System Capabilities [Bridge, WLAN AP, Router, Station Only] (0x009c)
+ Enabled Capabilities [WLAN AP] (0x0008)
+ 0x0000: 009c 0008
+ Management Address TLV (8), length 12
+ Management Address length 5, AFI IPv4 (1): 62.12.173.114
+ Interface Index Interface Numbering (2): 2
+ 0x0000: 0501 3e0c ad72 0200 0000 0200
+ Management Address TLV (8), length 24
+ Management Address length 17, AFI IPv6 (2): 2001:8a8:1006:4:223:54ff:fec2:5702
+ Interface Index Interface Numbering (2): 2
+ 0x0000: 1102 2001 08a8 1006 0004 0223 54ff fec2
+ 0x0010: 5702 0200 0000 0200
+ Port Description TLV (4), length 4: eth0
+ 0x0000: 6574 6830
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ Link aggregation Subtype (3)
+ aggregation status [supported], aggregation port ID 0
+ 0x0000: 0012 0f03 0100 0000 00
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ MAC/PHY configuration/status Subtype (1)
+ autonegotiation [supported, enabled] (0x03)
+ PMD autoneg capability [10BASE-T hdx, 10BASE-T fdx, 100BASE-TX hdx, 100BASE-TX fdx, Pause for fdx links, Asym PAUSE for fdx, 1000BASE-T hdx, 1000BASE-T fdx] (0xecc3)
+ MAU type 100BASETX fdx (0x0010)
+ 0x0000: 0012 0f01 03ec c300 10
+ Organization specific TLV (127), length 64: OUI IANA (0x00005e)
+ MUD-URL Subtype (1)
+ MUD-URL=https://imright.mud.example.com/.well-known/mud/v1/vomitv2.0
+ 0x0000: 0000 5e01 6874 7470 733a 2f2f 696d 7269
+ 0x0010: 6768 742e 6d75 642e 6578 616d 706c 652e
+ 0x0020: 636f 6d2f 2e77 656c 6c2d 6b6e 6f77 6e2f
+ 0x0030: 6d75 642f 7631 2f76 6f6d 6974 7632 2e30
+ End TLV (0), length 0
+00:23:54:c2:57:02 > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 302: LLDP, length 288
+ Chassis ID TLV (1), length 7
+ Subtype MAC address (4): 00:23:54:c2:57:02
+ 0x0000: 0400 2354 c257 02
+ Port ID TLV (2), length 7
+ Subtype MAC address (3): 00:23:54:c2:57:02
+ 0x0000: 0300 2354 c257 02
+ Time to Live TLV (3), length 2: TTL 120s
+ 0x0000: 0078
+ System Name TLV (5), length 28: upstairs.ofcourseimright.com
+ 0x0000: 7570 7374 6169 7273 2e6f 6663 6f75 7273
+ 0x0010: 6569 6d72 6967 6874 2e63 6f6d
+ System Description TLV (6), length 92
+ Ubuntu 14.04.5 LTS Linux 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:45:13 UTC 2016 i686
+ 0x0000: 5562 756e 7475 2031 342e 3034 2e35 204c
+ 0x0010: 5453 204c 696e 7578 2033 2e31 332e 302d
+ 0x0020: 3130 362d 6765 6e65 7269 6320 2331 3533
+ 0x0030: 2d55 6275 6e74 7520 534d 5020 5475 6520
+ 0x0040: 4465 6320 3620 3135 3a34 353a 3133 2055
+ 0x0050: 5443 2032 3031 3620 6936 3836
+ System Capabilities TLV (7), length 4
+ System Capabilities [Bridge, WLAN AP, Router, Station Only] (0x009c)
+ Enabled Capabilities [WLAN AP] (0x0008)
+ 0x0000: 009c 0008
+ Management Address TLV (8), length 12
+ Management Address length 5, AFI IPv4 (1): 62.12.173.114
+ Interface Index Interface Numbering (2): 2
+ 0x0000: 0501 3e0c ad72 0200 0000 0200
+ Management Address TLV (8), length 24
+ Management Address length 17, AFI IPv6 (2): 2001:8a8:1006:4:223:54ff:fec2:5702
+ Interface Index Interface Numbering (2): 2
+ 0x0000: 1102 2001 08a8 1006 0004 0223 54ff fec2
+ 0x0010: 5702 0200 0000 0200
+ Port Description TLV (4), length 4: eth0
+ 0x0000: 6574 6830
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ Link aggregation Subtype (3)
+ aggregation status [supported], aggregation port ID 0
+ 0x0000: 0012 0f03 0100 0000 00
+ Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
+ MAC/PHY configuration/status Subtype (1)
+ autonegotiation [supported, enabled] (0x03)
+ PMD autoneg capability [10BASE-T hdx, 10BASE-T fdx, 100BASE-TX hdx, 100BASE-TX fdx, Pause for fdx links, Asym PAUSE for fdx, 1000BASE-T hdx, 1000BASE-T fdx] (0xecc3)
+ MAU type 100BASETX fdx (0x0010)
+ 0x0000: 0012 0f01 03ec c300 10
+ Organization specific TLV (127), length 64: OUI IANA (0x00005e)
+ MUD-URL Subtype (1)
+ MUD-URL=https://imright.mud.example.com/.well-known/mud/v1/vomitv2.0
+ 0x0000: 0000 5e01 6874 7470 733a 2f2f 696d 7269
+ 0x0010: 6768 742e 6d75 642e 6578 616d 706c 652e
+ 0x0020: 636f 6d2f 2e77 656c 6c2d 6b6e 6f77 6e2f
+ 0x0030: 6d75 642f 7631 2f76 6f6d 6974 7632 2e30
+ End TLV (0), length 0
diff --git a/tests/lldp_mudurl.pcap b/tests/lldp_mudurl.pcap
new file mode 100644
index 000000000000..49d83a37d5f1
--- /dev/null
+++ b/tests/lldp_mudurl.pcap
Binary files differ
diff --git a/tests/lmp-v.sh b/tests/lmp-v.sh
index 138a0cd292ad..1c286bf595ae 100755
--- a/tests/lmp-v.sh
+++ b/tests/lmp-v.sh
@@ -10,10 +10,10 @@
# that won't return an error when the file does not exist. Work around.
if [ ! -f ../Makefile ]
then
- printf ' %-30s: TEST SKIPPED (no Makefile)\n' 'lmp-v'
+ printf ' %-35s: TEST SKIPPED (no Makefile)\n' 'lmp-v'
elif grep '^CC = .*gcc' ../Makefile >/dev/null
then
./TESTonce lmp-v lmp.pcap lmp-v.out '-t -T lmp -v'
else
- printf ' %-30s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v'
+ printf ' %-35s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v'
fi
diff --git a/tests/lspping-fec-ldp-v.out b/tests/lspping-fec-ldp-v.out
new file mode 100644
index 000000000000..e4a886bbfb96
--- /dev/null
+++ b/tests/lspping-fec-ldp-v.out
@@ -0,0 +1,111 @@
+MPLS (label 100656, exp 6, [S], ttl 64)
+ IP (tos 0xc0, ttl 64, id 40719, offset 0, flags [none], proto TCP (6), length 71)
+ 12.4.4.4.4100 > 12.8.8.8.179: Flags [P.], cksum 0xfd1b (correct), seq 1860641958:1860641977, ack 2969468967, win 16384, options [nop,nop,TS val 84784152 ecr 84770238], length 19: BGP
+ Keepalive Message (4), length: 19
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40723, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50878, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 6, [S], ttl 64)
+ IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71)
+ 12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], cksum 0x6c0d (correct), seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP
+ Keepalive Message (4), length: 19
+MPLS (label 100704, exp 6, [S], ttl 64)
+ IP (tos 0xc0, ttl 64, id 40726, offset 0, flags [none], proto TCP (6), length 52)
+ 12.4.4.4.2006 > 12.1.1.1.179: Flags [.], cksum 0x6451 (correct), ack 20, win 16384, options [nop,nop,TS val 84784465 ecr 133413], length 0
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40727, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50880, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40729, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50882, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40731, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50883, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40733, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50886, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp:
diff --git a/tests/lspping-fec-ldp-vv.out b/tests/lspping-fec-ldp-vv.out
new file mode 100644
index 000000000000..af0d1f64b932
--- /dev/null
+++ b/tests/lspping-fec-ldp-vv.out
@@ -0,0 +1,121 @@
+MPLS (label 100656, exp 6, [S], ttl 64)
+ IP (tos 0xc0, ttl 64, id 40719, offset 0, flags [none], proto TCP (6), length 71)
+ 12.4.4.4.4100 > 12.8.8.8.179: Flags [P.], cksum 0xfd1b (correct), seq 1860641958:1860641977, ack 2969468967, win 16384, options [nop,nop,TS val 84784152 ecr 84770238], length 19: BGP
+ Keepalive Message (4), length: 19
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40723, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+ 0x0000: 0c01 0101 20
+ 0x0000: 0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50878, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 6, [S], ttl 64)
+ IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71)
+ 12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], cksum 0x6c0d (correct), seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP
+ Keepalive Message (4), length: 19
+MPLS (label 100704, exp 6, [S], ttl 64)
+ IP (tos 0xc0, ttl 64, id 40726, offset 0, flags [none], proto TCP (6), length 52)
+ 12.4.4.4.2006 > 12.1.1.1.179: Flags [.], cksum 0x6451 (correct), seq 19, ack 20, win 16384, options [nop,nop,TS val 84784465 ecr 133413], length 0
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40727, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+ 0x0000: 0c01 0101 20
+ 0x0000: 0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50880, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40729, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+ 0x0000: 0c01 0101 20
+ 0x0000: 0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50882, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40731, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+ 0x0000: 0c01 0101 20
+ 0x0000: 0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50883, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100688, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40733, offset 0, flags [none], proto UDP (17), length 76)
+ 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 12
+ LDP IPv4 prefix subTLV (1), length: 5
+ 12.1.1.1/32
+ 0x0000: 0c01 0101 20
+ 0x0000: 0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50886, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp:
diff --git a/tests/lspping-fec-ldp.out b/tests/lspping-fec-ldp.out
new file mode 100644
index 000000000000..2df8b4c60717
--- /dev/null
+++ b/tests/lspping-fec-ldp.out
@@ -0,0 +1,13 @@
+MPLS (label 100656, exp 6, [S], ttl 64) IP 12.4.4.4.4100 > 12.8.8.8.179: Flags [P.], seq 1860641958:1860641977, ack 2969468967, win 16384, options [nop,nop,TS val 84784152 ecr 84770238], length 19: BGP
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 1, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 1, length: 32
+MPLS (label 100704, exp 6, [S], ttl 64) IP 12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP
+MPLS (label 100704, exp 6, [S], ttl 64) IP 12.4.4.4.2006 > 12.1.1.1.179: Flags [.], ack 20, win 16384, options [nop,nop,TS val 84784465 ecr 133413], length 0
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 2, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 2, length: 32
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 3, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 3, length: 32
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 4, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 4, length: 32
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 5, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 5, length: 32
diff --git a/tests/lspping-fec-rsvp-v.out b/tests/lspping-fec-rsvp-v.out
new file mode 100644
index 000000000000..f79043e86762
--- /dev/null
+++ b/tests/lspping-fec-rsvp-v.out
@@ -0,0 +1,105 @@
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40269, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50634, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40271, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50635, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40273, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50637, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40275, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50638, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40278, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503:
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50641, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529:
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp:
diff --git a/tests/lspping-fec-rsvp-vv.out b/tests/lspping-fec-rsvp-vv.out
new file mode 100644
index 000000000000..391dc5a5dabf
--- /dev/null
+++ b/tests/lspping-fec-rsvp-vv.out
@@ -0,0 +1,125 @@
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40269, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+ 0x0000: 0c01 0101 0000 5372 0c04 0404 0c04 0404
+ 0x0010: 0000 0010
+ 0x0000: 0003 0014 0c01 0101 0000 5372 0c04 0404
+ 0x0010: 0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50634, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 1
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40271, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+ 0x0000: 0c01 0101 0000 5372 0c04 0404 0c04 0404
+ 0x0010: 0000 0010
+ 0x0000: 0003 0014 0c01 0101 0000 5372 0c04 0404
+ 0x0010: 0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50635, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 2
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40273, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+ 0x0000: 0c01 0101 0000 5372 0c04 0404 0c04 0404
+ 0x0010: 0000 0010
+ 0x0000: 0003 0014 0c01 0101 0000 5372 0c04 0404
+ 0x0010: 0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50637, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 3
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40275, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+ 0x0000: 0c01 0101 0000 5372 0c04 0404 0c04 0404
+ 0x0010: 0000 0010
+ 0x0000: 0003 0014 0c01 0101 0000 5372 0c04 0404
+ 0x0010: 0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50638, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 4
+ Sender Timestamp: Receiver Timestamp:
+MPLS (label 100704, exp 7, [S], ttl 255)
+ IP (tos 0x0, ttl 64, id 40278, offset 0, flags [none], proto UDP (17), length 88)
+ 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: No return code or return code contained in the Error Code TLV (0)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp: no timestamp
+ Target FEC Stack TLV (1), length: 24
+ RSVP IPv4 Session Query subTLV (3), length: 20
+ tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+ tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+ 0x0000: 0c01 0101 0000 5372 0c04 0404 0c04 0404
+ 0x0010: 0000 0010
+ 0x0000: 0003 0014 0c01 0101 0000 5372 0c04 0404
+ 0x0010: 0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50641, offset 0, flags [none], proto UDP (17), length 60)
+ 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
+ LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+ reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+ Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+ Return Subcode: (0)
+ Sender Handle: 0x00000000, Sequence: 5
+ Sender Timestamp: Receiver Timestamp:
diff --git a/tests/lspping-fec-rsvp.out b/tests/lspping-fec-rsvp.out
new file mode 100644
index 000000000000..7013faec0c14
--- /dev/null
+++ b/tests/lspping-fec-rsvp.out
@@ -0,0 +1,10 @@
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 1, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 1, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 2, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 2, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 3, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 3, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 4, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 4, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 5, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 5, length: 32
diff --git a/tests/medsa-e.out b/tests/medsa-e.out
new file mode 100644
index 000000000000..265be0d9c3c9
--- /dev/null
+++ b/tests/medsa-e.out
@@ -0,0 +1,20 @@
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+94:10:3e:80:bc:f3 > 00:22:02:00:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.12.59483 > 198.110.48.12.123: NTPv4, Client, length 48
+00:22:02:00:18:44 > 94:10:3e:80:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 198.110.48.12.123 > 10.0.0.12.59483: NTPv4, Server, length 48
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+94:10:3e:80:bc:f3 > 00:22:02:00:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.12.59809 > 66.228.42.59.123: NTPv4, Client, length 48
+94:10:3e:80:bc:f3 > 00:22:02:00:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.12.58880 > 199.102.46.76.123: NTPv4, Client, length 48
+00:22:02:00:18:44 > 94:10:3e:80:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 199.102.46.76.123 > 10.0.0.12.58880: NTPv4, Server, length 48
+00:22:02:00:18:44 > 94:10:3e:80:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 66.228.42.59.123 > 10.0.0.12.59809: NTPv4, Server, length 48
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+94:10:3e:80:bc:f3 > 00:22:02:00:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.12.41068 > 208.97.140.69.123: NTPv4, Client, length 48
+00:22:02:00:18:44 > 94:10:3e:80:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 208.97.140.69.123 > 10.0.0.12.41068: NTPv4, Server, length 48
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+94:10:3e:80:bc:f3 > 00:22:02:00:18:44, ethertype MEDSA (0xdada), length 350: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.12.68 > 10.0.0.1.67: BOOTP/DHCP, Request from 94:10:3e:80:bc:f3, length 300
+00:22:02:00:18:44 > 94:10:3e:80:bc:f3, ethertype MEDSA (0xdada), length 350: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.1.67 > 10.0.0.12.68: BOOTP/DHCP, Reply, length 300
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+26:a1:fb:92:da:73 > 01:80:c2:00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+94:10:3e:80:bc:f3 > 00:22:02:00:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 10.0.0.12.45651 > 171.66.97.126.123: NTPv4, Client, length 48
+00:22:02:00:18:44 > 94:10:3e:80:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (0x0800) 171.66.97.126.123 > 10.0.0.12.45651: NTPv4, Server, length 48
diff --git a/tests/medsa.out b/tests/medsa.out
new file mode 100644
index 000000000000..c81ce4857dcf
--- /dev/null
+++ b/tests/medsa.out
@@ -0,0 +1,20 @@
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.3:0: IP 10.0.0.12.59483 > 198.110.48.12.123: NTPv4, Client, length 48
+MEDSA 0.3:0: IP 198.110.48.12.123 > 10.0.0.12.59483: NTPv4, Server, length 48
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.3:0: IP 10.0.0.12.59809 > 66.228.42.59.123: NTPv4, Client, length 48
+MEDSA 0.3:0: IP 10.0.0.12.58880 > 199.102.46.76.123: NTPv4, Client, length 48
+MEDSA 0.3:0: IP 199.102.46.76.123 > 10.0.0.12.58880: NTPv4, Server, length 48
+MEDSA 0.3:0: IP 66.228.42.59.123 > 10.0.0.12.59809: NTPv4, Server, length 48
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.3:0: IP 10.0.0.12.41068 > 208.97.140.69.123: NTPv4, Client, length 48
+MEDSA 0.3:0: IP 208.97.140.69.123 > 10.0.0.12.41068: NTPv4, Server, length 48
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.3:0: IP 10.0.0.12.68 > 10.0.0.1.67: BOOTP/DHCP, Request from 94:10:3e:80:bc:f3, length 300
+MEDSA 0.3:0: IP 10.0.0.1.67 > 10.0.0.12.68: BOOTP/DHCP, Reply, length 300
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.2:0: STP 802.1d, Config, Flags [none], bridge-id 8000.26:a1:fb:92:da:73.8001, length 43
+MEDSA 0.3:0: IP 10.0.0.12.45651 > 171.66.97.126.123: NTPv4, Client, length 48
+MEDSA 0.3:0: IP 171.66.97.126.123 > 10.0.0.12.45651: NTPv4, Server, length 48
diff --git a/tests/medsa.pcap b/tests/medsa.pcap
new file mode 100644
index 000000000000..ab20710e5cbb
--- /dev/null
+++ b/tests/medsa.pcap
Binary files differ
diff --git a/tests/mpls-label-heapoverflow.out b/tests/mpls-label-heapoverflow.out
new file mode 100644
index 000000000000..1419cacfcb41
--- /dev/null
+++ b/tests/mpls-label-heapoverflow.out
@@ -0,0 +1,2 @@
+MPLS (label 197379, exp 0, ttl 48)
+ (label 197387, exp 5, [S], ttl 48)[|MPLS]
diff --git a/tests/mpls-label-heapoverflow.pcap b/tests/mpls-label-heapoverflow.pcap
new file mode 100644
index 000000000000..9a63b45c9f04
--- /dev/null
+++ b/tests/mpls-label-heapoverflow.pcap
Binary files differ
diff --git a/tests/mpls-traceroute-v.out b/tests/mpls-traceroute-v.out
new file mode 100644
index 000000000000..b70c2e331142
--- /dev/null
+++ b/tests/mpls-traceroute-v.out
@@ -0,0 +1,81 @@
+MPLS (label 100704, exp 0, [S], ttl 1)
+ IP (tos 0x0, ttl 1, id 42316, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33435: UDP, length 12
+IP (tos 0x0, ttl 255, id 5014, offset 0, flags [DF], proto ICMP (1), length 168)
+ 10.5.0.1 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+ IP (tos 0x0, ttl 1, id 42316, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33435: UDP, length 12
+ MPLS extension v2, checksum 0xc55f (correct), length 12
+ MPLS Stack Entry Object (1), Class-Type: 1, length 8
+ label 100704, exp 0, [S], ttl 1
+MPLS (label 100704, exp 0, [S], ttl 1)
+ IP (tos 0x0, ttl 1, id 42317, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33436: UDP, length 12
+IP (tos 0x0, ttl 255, id 5015, offset 0, flags [DF], proto ICMP (1), length 168)
+ 10.5.0.1 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+ IP (tos 0x0, ttl 1, id 42317, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33436: UDP, length 12
+ MPLS extension v2, checksum 0xc55f (correct), length 12
+ MPLS Stack Entry Object (1), Class-Type: 1, length 8
+ label 100704, exp 0, [S], ttl 1
+MPLS (label 100704, exp 0, [S], ttl 1)
+ IP (tos 0x0, ttl 1, id 42318, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33437: UDP, length 12
+IP (tos 0x0, ttl 255, id 5016, offset 0, flags [DF], proto ICMP (1), length 168)
+ 10.5.0.1 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+ IP (tos 0x0, ttl 1, id 42318, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33437: UDP, length 12
+ MPLS extension v2, checksum 0xc55f (correct), length 12
+ MPLS Stack Entry Object (1), Class-Type: 1, length 8
+ label 100704, exp 0, [S], ttl 1
+MPLS (label 100704, exp 0, [S], ttl 2)
+ IP (tos 0x0, ttl 2, id 42319, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33438: UDP, length 12
+IP (tos 0x0, ttl 254, id 59166, offset 0, flags [DF], proto ICMP (1), length 168)
+ 10.4.0.2 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+ IP (tos 0x0, ttl 1, id 42319, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33438: UDP, length 12
+ MPLS extension v2, checksum 0xc4e4 (correct), length 12
+ MPLS Stack Entry Object (1), Class-Type: 1, length 8
+ label 102672, exp 0, [S], ttl 1
+MPLS (label 100704, exp 0, [S], ttl 2)
+ IP (tos 0x0, ttl 2, id 42320, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33439: UDP, length 12
+IP (tos 0x0, ttl 254, id 59167, offset 0, flags [DF], proto ICMP (1), length 168)
+ 10.4.0.2 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+ IP (tos 0x0, ttl 1, id 42320, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33439: UDP, length 12
+ MPLS extension v2, checksum 0xc4e4 (correct), length 12
+ MPLS Stack Entry Object (1), Class-Type: 1, length 8
+ label 102672, exp 0, [S], ttl 1
+MPLS (label 100704, exp 0, [S], ttl 2)
+ IP (tos 0x0, ttl 2, id 42321, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33440: UDP, length 12
+IP (tos 0x0, ttl 254, id 59168, offset 0, flags [DF], proto ICMP (1), length 168)
+ 10.4.0.2 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+ IP (tos 0x0, ttl 1, id 42321, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33440: UDP, length 12
+ MPLS extension v2, checksum 0xc4e4 (correct), length 12
+ MPLS Stack Entry Object (1), Class-Type: 1, length 8
+ label 102672, exp 0, [S], ttl 1
+MPLS (label 100704, exp 0, [S], ttl 3)
+ IP (tos 0x0, ttl 3, id 42322, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33441: UDP, length 12
+IP (tos 0x0, ttl 253, id 50599, offset 0, flags [DF], proto ICMP (1), length 56)
+ 12.1.1.1 > 12.4.4.4: ICMP 12.1.1.1 udp port 33441 unreachable, length 36
+ IP (tos 0x0, ttl 1, id 42322, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33441: UDP, length 12
+MPLS (label 100704, exp 0, [S], ttl 3)
+ IP (tos 0x0, ttl 3, id 42323, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33442: UDP, length 12
+IP (tos 0x0, ttl 253, id 50600, offset 0, flags [DF], proto ICMP (1), length 56)
+ 12.1.1.1 > 12.4.4.4: ICMP 12.1.1.1 udp port 33442 unreachable, length 36
+ IP (tos 0x0, ttl 1, id 42323, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33442: UDP, length 12
+MPLS (label 100704, exp 0, [S], ttl 3)
+ IP (tos 0x0, ttl 3, id 42324, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33443: UDP, length 12
+IP (tos 0x0, ttl 253, id 50601, offset 0, flags [DF], proto ICMP (1), length 56)
+ 12.1.1.1 > 12.4.4.4: ICMP 12.1.1.1 udp port 33443 unreachable, length 36
+ IP (tos 0x0, ttl 1, id 42324, offset 0, flags [none], proto UDP (17), length 40)
+ 12.4.4.4.42315 > 12.1.1.1.33443: UDP, length 12
diff --git a/tests/mpls-traceroute.out b/tests/mpls-traceroute.out
new file mode 100644
index 000000000000..fe8c1163fd93
--- /dev/null
+++ b/tests/mpls-traceroute.out
@@ -0,0 +1,18 @@
+MPLS (label 100704, exp 0, [S], ttl 1) IP 12.4.4.4.42315 > 12.1.1.1.33435: UDP, length 12
+IP 10.5.0.1 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+MPLS (label 100704, exp 0, [S], ttl 1) IP 12.4.4.4.42315 > 12.1.1.1.33436: UDP, length 12
+IP 10.5.0.1 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+MPLS (label 100704, exp 0, [S], ttl 1) IP 12.4.4.4.42315 > 12.1.1.1.33437: UDP, length 12
+IP 10.5.0.1 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+MPLS (label 100704, exp 0, [S], ttl 2) IP 12.4.4.4.42315 > 12.1.1.1.33438: UDP, length 12
+IP 10.4.0.2 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+MPLS (label 100704, exp 0, [S], ttl 2) IP 12.4.4.4.42315 > 12.1.1.1.33439: UDP, length 12
+IP 10.4.0.2 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+MPLS (label 100704, exp 0, [S], ttl 2) IP 12.4.4.4.42315 > 12.1.1.1.33440: UDP, length 12
+IP 10.4.0.2 > 12.4.4.4: ICMP time exceeded in-transit, length 148
+MPLS (label 100704, exp 0, [S], ttl 3) IP 12.4.4.4.42315 > 12.1.1.1.33441: UDP, length 12
+IP 12.1.1.1 > 12.4.4.4: ICMP 12.1.1.1 udp port 33441 unreachable, length 36
+MPLS (label 100704, exp 0, [S], ttl 3) IP 12.4.4.4.42315 > 12.1.1.1.33442: UDP, length 12
+IP 12.1.1.1 > 12.4.4.4: ICMP 12.1.1.1 udp port 33442 unreachable, length 36
+MPLS (label 100704, exp 0, [S], ttl 3) IP 12.4.4.4.42315 > 12.1.1.1.33443: UDP, length 12
+IP 12.1.1.1 > 12.4.4.4: ICMP 12.1.1.1 udp port 33443 unreachable, length 36
diff --git a/tests/mstp-v.out b/tests/mstp-v.out
index 16127b5e8492..998ebfaa5eea 100644
--- a/tests/mstp-v.out
+++ b/tests/mstp-v.out
@@ -1,9 +1,9 @@
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
- port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
+ port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0
@@ -12,11 +12,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
- port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
+ port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000
@@ -25,11 +25,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
- port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
+ port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0
@@ -38,11 +38,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
- port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
+ port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000
@@ -51,11 +51,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
- port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
+ port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0
@@ -64,11 +64,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
- port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
+ port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000
@@ -77,11 +77,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
- port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
+ port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0
@@ -90,11 +90,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
- port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
+ port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000
@@ -103,11 +103,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
- port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
+ port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000,
CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0
@@ -116,11 +116,11 @@ STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134
MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000
MSTI bridge-prio 8, port-prio 8, hops 20
STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134
- port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
- CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
+ port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000
+ CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f,
message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 96, MCID Name Brewery, rev 0,
- digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
+ v3len 96, MCID Name Brewery, rev 0,
+ digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0,
CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20
MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root
MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000
diff --git a/tests/nflog-e.sh b/tests/nflog-e.sh
index 00ac4fd0e181..46b99eec32b4 100755
--- a/tests/nflog-e.sh
+++ b/tests/nflog-e.sh
@@ -6,5 +6,5 @@ if grep '^#define HAVE_PCAP_NFLOG_H 1$' ../config.h >/dev/null
then
./TESTonce nflog-e nflog.pcap nflog-e.out '-t -e'
else
- printf ' %-30s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
+ printf ' %-35s: TEST SKIPPED (compiled w/o NFLOG)\n' 'nflog-e'
fi
diff --git a/tests/nfs-seg-fault-1.out b/tests/nfs-seg-fault-1.out
new file mode 100644
index 000000000000..8ffc80ac5cc7
--- /dev/null
+++ b/tests/nfs-seg-fault-1.out
@@ -0,0 +1 @@
+IP 10.131.101.60.923 > 10.131.101.118.2049: Flags [.], seq 1192508771:1192516731, ack 3532274502, win 3819, length 7960: NFS request xid 1260897737 7956 write fh Unknown/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2863311530 (2863311530) bytes @ 12297829382473034410
diff --git a/tests/nfs-seg-fault-1.pcap b/tests/nfs-seg-fault-1.pcap
new file mode 100644
index 000000000000..5c2d8ee7b87d
--- /dev/null
+++ b/tests/nfs-seg-fault-1.pcap
Binary files differ
diff --git a/tests/nsh-over-vxlan-gpe-v.out b/tests/nsh-over-vxlan-gpe-v.out
new file mode 100644
index 000000000000..f8db332fd7a5
--- /dev/null
+++ b/tests/nsh-over-vxlan-gpe-v.out
@@ -0,0 +1,5 @@
+IP (tos 0x0, ttl 64, id 16419, offset 0, flags [DF], proto UDP (17), length 92)
+ 127.0.0.1.4790 > 127.0.0.1.4790: VXLAN-GPE, flags [IP], vni 16777215
+ NSH, flags [OC], service-path-id 0xffffff, service-index 0xff
+ IP (tos 0x0, ttl 255, id 54321, offset 0, flags [none], proto UDP (17), length 32)
+ 192.168.0.1.10000 > 192.168.0.2.20000: UDP, length 4
diff --git a/tests/nsh-over-vxlan-gpe-vv.out b/tests/nsh-over-vxlan-gpe-vv.out
new file mode 100644
index 000000000000..52337010eecf
--- /dev/null
+++ b/tests/nsh-over-vxlan-gpe-vv.out
@@ -0,0 +1,5 @@
+IP (tos 0x0, ttl 64, id 16419, offset 0, flags [DF], proto UDP (17), length 92)
+ 127.0.0.1.4790 > 127.0.0.1.4790: [udp sum ok] VXLAN-GPE, flags [IP], vni 16777215
+ NSH, ver 0, flags [OC], next-protocol 0x1, service-path-id 0xffffff, service-index 0xff
+ IP (tos 0x0, ttl 255, id 54321, offset 0, flags [none], proto UDP (17), length 32)
+ 192.168.0.1.10000 > 192.168.0.2.20000: [udp sum ok] UDP, length 4
diff --git a/tests/nsh-over-vxlan-gpe-vvv.out b/tests/nsh-over-vxlan-gpe-vvv.out
new file mode 100644
index 000000000000..f8af28306cd7
--- /dev/null
+++ b/tests/nsh-over-vxlan-gpe-vvv.out
@@ -0,0 +1,9 @@
+IP (tos 0x0, ttl 64, id 16419, offset 0, flags [DF], proto UDP (17), length 92)
+ 127.0.0.1.4790 > 127.0.0.1.4790: [udp sum ok] VXLAN-GPE, flags [IP], vni 16777215
+ NSH, ver 0, flags [OC], length 6, md type 0x2, next-protocol 0x1, service-path-id 0xffffff, service-index 0xff
+ TLV Class 1, Type 2, Len 1
+ Value[00]: 0x12345678
+ TLV Class 2, Type 3, Len 1
+ Value[00]: 0x12345678
+ IP (tos 0x0, ttl 255, id 54321, offset 0, flags [none], proto UDP (17), length 32)
+ 192.168.0.1.10000 > 192.168.0.2.20000: [udp sum ok] UDP, length 4
diff --git a/tests/nsh-over-vxlan-gpe.out b/tests/nsh-over-vxlan-gpe.out
new file mode 100644
index 000000000000..3348a4294480
--- /dev/null
+++ b/tests/nsh-over-vxlan-gpe.out
@@ -0,0 +1 @@
+IP 127.0.0.1.4790 > 127.0.0.1.4790: VXLAN-GPE, flags [IP], vni 16777215: NSH, flags [OC], service-path-id 0xffffff, service-index 0xff: IP 192.168.0.1.10000 > 192.168.0.2.20000: UDP, length 4
diff --git a/tests/nsh-over-vxlan-gpe.pcap b/tests/nsh-over-vxlan-gpe.pcap
new file mode 100644
index 000000000000..0cc3b6712dc1
--- /dev/null
+++ b/tests/nsh-over-vxlan-gpe.pcap
Binary files differ
diff --git a/tests/of10_p3295-vv.out b/tests/of10_p3295-vv.out
index 7d1a691787af..1e9f5d5a2e7a 100644
--- a/tests/of10_p3295-vv.out
+++ b/tests/of10_p3295-vv.out
@@ -497,7 +497,7 @@ IP (tos 0x0, ttl 64, id 783, offset 0, flags [DF], proto TCP (6), length 1500)
match nw_proto 1 [|openflow]
IP (tos 0x0, ttl 64, id 784, offset 0, flags [DF], proto TCP (6), length 740)
10.0.0.20.6633 > 10.0.0.50.35256: Flags [P.], cksum 0x171c (incorrect -> 0xdfee), seq 1549:2237, ack 2585, win 154, options [nop,nop,TS val 220958532 ecr 194889014], length 688: OpenFlow
- version unknown (0x00), type 0x00, length 0, xid 0x0003000d (corrupt)
+ version unknown (0x00), type 0x00, length 0, xid 0x0003000d (invalid)
IP (tos 0x0, ttl 64, id 55503, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.50.35256 > 10.0.0.20.6633: Flags [.], cksum 0x9386 (correct), seq 2585, ack 1549, win 273, options [nop,nop,TS val 194889016 ecr 220958532], length 0
IP (tos 0x0, ttl 64, id 55504, offset 0, flags [DF], proto TCP (6), length 52)
@@ -770,7 +770,7 @@ IP (tos 0x0, ttl 64, id 795, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.20.6633 > 10.0.0.50.35256: Flags [.], cksum 0x146c (incorrect -> 0x733a), seq 2237, ack 9953, win 248, options [nop,nop,TS val 220958722 ecr 194889063], length 0
IP (tos 0x0, ttl 64, id 55532, offset 0, flags [DF], proto TCP (6), length 2680)
10.0.0.50.35256 > 10.0.0.20.6633: Flags [P.], cksum 0x1eb0 (incorrect -> 0x561b), seq 9953:12581, ack 2237, win 364, options [nop,nop,TS val 194889063 ecr 220958721], length 2628: OpenFlow
- version unknown (0x00), type 0x00, length 0, xid 0x00000000 (corrupt)
+ version unknown (0x00), type 0x00, length 0, xid 0x00000000 (invalid)
IP (tos 0x0, ttl 64, id 796, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.20.6633 > 10.0.0.50.35256: Flags [.], cksum 0x146c (incorrect -> 0x68cd), seq 2237, ack 12581, win 289, options [nop,nop,TS val 220958722 ecr 194889063], length 0
IP (tos 0x0, ttl 64, id 55534, offset 0, flags [DF], proto TCP (6), length 64)
diff --git a/tests/of10_s4810-vvvv.out b/tests/of10_s4810-vvvv.out
index dabc2f2be399..fd0e3b1f8a67 100644
--- a/tests/of10_s4810-vvvv.out
+++ b/tests/of10_s4810-vvvv.out
@@ -377,7 +377,7 @@ IP (tos 0x0, ttl 64, id 53101, offset 0, flags [DF], proto TCP (6), length 4156)
match dl_dst 00:11:22:33:00:15 [|openflow]
IP (tos 0x0, ttl 64, id 53104, offset 0, flags [DF], proto TCP (6), length 180)
10.0.0.20.6633 > 10.0.0.81.56068: Flags [P.], cksum 0x150b (incorrect -> 0x8ec7), seq 4241:4369, ack 677, win 139, options [nop,nop,TS val 47836527 ecr 1], length 128: OpenFlow
- version unknown (0x00), type 0x00, length 0, xid 0x00000000 (corrupt)
+ version unknown (0x00), type 0x00, length 0, xid 0x00000000 (invalid)
IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.81.56068 > 10.0.0.20.6633: Flags [.], cksum 0xfaa7 (correct), seq 677, ack 2873, win 952, options [nop,nop,TS val 1 ecr 47836527], length 0
IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 52)
@@ -858,7 +858,7 @@ IP (tos 0x0, ttl 64, id 53581, offset 0, flags [DF], proto TCP (6), length 1500)
duration_sec 0, duration_nsec 0, priority 65535, idle_timeout 0, hard_timeout 0, cookie 0x0000000000000025, packet_count 0 [|openflow]
IP (tos 0x0, ttl 64, id 53582, offset 0, flags [DF], proto TCP (6), length 1040)
10.0.0.81.56068 > 10.0.0.20.6633: Flags [P.], cksum 0x395e (correct), seq 8113:9101, ack 4545, win 1035, options [nop,nop,TS val 2 ecr 47837000], length 988: OpenFlow
- version unknown (0x00), type 0x00, length 0, xid 0x00000000 (corrupt)
+ version unknown (0x00), type 0x00, length 0, xid 0x00000000 (invalid)
IP (tos 0x0, ttl 64, id 53111, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.20.6633 > 10.0.0.81.56068: Flags [.], cksum 0x148b (incorrect -> 0xd387), seq 4641, ack 9101, win 302, options [nop,nop,TS val 47837000 ecr 2], length 0
IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 52)
@@ -886,11 +886,11 @@ IP (tos 0x0, ttl 64, id 53604, offset 0, flags [DF], proto TCP (6), length 189)
buffer_id NONE, total_len 119, in_port 1, reason ACTION
data (119 octets), frame decoding below
STP 802.1s, Rapid STP, CIST Flags [Proposal, Learn, Forward, Agreement], length 102
- port-role Designated, CIST root-id 8000.08:9e:01:62:d5:f4, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:9e:01:62:d5:f4, CIST port-id 8034,
+ port-role Designated, CIST root-id 8000.08:9e:01:62:d5:f4, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:9e:01:62:d5:f4, CIST port-id 8034,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name pica8, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name pica8, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:9e:01:62:d5:f4, CIST remaining-hops 20
IP (tos 0x0, ttl 64, id 53605, offset 0, flags [DF], proto TCP (6), length 168)
10.0.0.81.56068 > 10.0.0.20.6633: Flags [P.], cksum 0x4a03 (correct), seq 10350:10466, ack 4641, win 1035, options [nop,nop,TS val 3 ecr 47837000], length 116: OpenFlow
@@ -1236,6 +1236,10 @@ IP (tos 0x0, ttl 64, id 53123, offset 0, flags [DF], proto TCP (6), length 144)
action type OUTPUT, len 8, port 1
data (60 octets), frame decoding below
67:68:00:00:00:00 > 61:62:63:64:65:66 Null Information, send seq 0, rcv seq 0, Flags [Command], length 46
+ 0x0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
+ 0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
+ 0x0020: 0000 0000 0000 0000 0000 0000 0000 0112 ................
+ 0x0030: 0008 0000 0045 .....E
version 1.0, type BARRIER_REQUEST, length 8, xid 0x00000045
IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
10.0.0.81.56068 > 10.0.0.20.6633: Flags [P.], cksum 0xb6f1 (correct), seq 14734:14742, ack 4821, win 1035, options [nop,nop,TS val 3 ecr 47837403], length 8: OpenFlow
@@ -1315,11 +1319,11 @@ IP (tos 0x0, ttl 64, id 53775, offset 0, flags [DF], proto TCP (6), length 189)
buffer_id NONE, total_len 119, in_port 1, reason NO_MATCH
data (119 octets), frame decoding below
STP 802.1s, Rapid STP, CIST Flags [Proposal, Learn, Forward, Agreement], length 102
- port-role Designated, CIST root-id 8000.08:9e:01:62:d5:f4, CIST ext-pathcost 0
- CIST regional-root-id 8000.08:9e:01:62:d5:f4, CIST port-id 8034,
+ port-role Designated, CIST root-id 8000.08:9e:01:62:d5:f4, CIST ext-pathcost 0
+ CIST regional-root-id 8000.08:9e:01:62:d5:f4, CIST port-id 8034,
message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
- v3len 64, MCID Name pica8, rev 0,
- digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
+ v3len 64, MCID Name pica8, rev 0,
+ digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0,
CIST bridge-id 8000.08:9e:01:62:d5:f4, CIST remaining-hops 20
IP (tos 0x0, ttl 64, id 53128, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.20.6633 > 10.0.0.81.56068: Flags [.], cksum 0x148b (incorrect -> 0xb3e0), seq 4857, ack 14903, win 331, options [nop,nop,TS val 47839052 ecr 6], length 0
diff --git a/tests/ospf2-seg-fault-1-v.out b/tests/ospf2-seg-fault-1-v.out
new file mode 100644
index 000000000000..7b06bb141080
--- /dev/null
+++ b/tests/ospf2-seg-fault-1-v.out
@@ -0,0 +1,9 @@
+IP (tos 0xc0, ttl 1, id 4106, offset 0, flags [none], proto OSPF (89), length 172)
+ 40.35.1.2 > 224.0.0.5: OSPFv2, LS-Update, length 152
+ Router-ID 10.255.245.35, Backbone Area, Authentication Type: none (0), 1 LSA
+ LSA #1
+ Advertising Router 10.255.245.37, seq 0x80000002, age 9s, length 104
+ Area Local Opaque LSA (10), Opaque-Type Traffic Engineering LSA (1), Opaque-ID 9
+ Options: [External]
+ Link TLV (2), length: 100
+ Bandwidth Constraints subTLV (17), length: 1 < 4 (invalid)
diff --git a/tests/ospf2-seg-fault-1.pcap b/tests/ospf2-seg-fault-1.pcap
new file mode 100644
index 000000000000..269c6df98dd0
--- /dev/null
+++ b/tests/ospf2-seg-fault-1.pcap
Binary files differ
diff --git a/tests/otv-heapoverflow-1.out b/tests/otv-heapoverflow-1.out
new file mode 100644
index 000000000000..4bef9dda7c4f
--- /dev/null
+++ b/tests/otv-heapoverflow-1.out
@@ -0,0 +1,10 @@
+IP 192.168.0.134.47808 > 192.168.0.24.47808: UDP, length 6
+IP 192.168.0.134.47808 > 192.168.0.24.47808: UDP, length 12
+IP 192.168.0.24.47808 > 192.168.0.134.47808: UDP, length 6
+IP 192.168.0.24.47808 > 192.168.0.255.47808: UDP, length 18
+IP 192.168.0.105.47808 > 192.168.0.255.47808: UDP, length 25
+IP 192.168.0.24.47808 > 192.168.0.134.47808: UDP, length 31
+IP 192.168.0.18.47808 > 192.168.0.255.47808: UDP, length 24
+IP 192.168.0.24.40896 > 192.168.0.134.47808: UDP, length 30
+IP 192.168.0.24.47808 > 192.168.0.255.47808: UDP, length 20
+IP 192.168.0.9.37123 > 97.34.1.224.8472: OTV, flags [I] (0x9d), overlay 12124160, [|OTV]
diff --git a/tests/otv-heapoverflow-1.pcap b/tests/otv-heapoverflow-1.pcap
new file mode 100644
index 000000000000..c5e16bf61060
--- /dev/null
+++ b/tests/otv-heapoverflow-1.pcap
Binary files differ
diff --git a/tests/otv-heapoverflow-2.out b/tests/otv-heapoverflow-2.out
new file mode 100644
index 000000000000..7ea809f64a6e
--- /dev/null
+++ b/tests/otv-heapoverflow-2.out
@@ -0,0 +1,11 @@
+IP 192.168.0.134.47808 > 192.168.0.24.47808: UDP, length 6
+IP 192.168.0.134.47808 > 192.168.0.24.47808: UDP, length 12
+IP 192.168.0.24.47808 > 192.168.0.134.47808: UDP, length 6
+IP 192.168.0.24.47808 > 192.168.0.255.47808: UDP, length 18
+IP 192.168.0.105.47808 > 192.168.0.255.47808: UDP, length 25
+IP 192.168.0.24.47808 > 192.168.0.134.47808: UDP, length 31
+IP 192.168.0.18.47808 > 192.168.0.255.47808: UDP, length 24
+IP 192.168.0.24.40896 > 192.168.0.134.47808: UDP, length 30
+IP 192.168.0.24.47808 > 192.168.0.255.47808: UDP, length 20
+IP 192.168.0.9.37123 > 97.34.1.224.8472: OTV, flags [I] (0x9d), overlay 12124160, instance 4587520
+[|ether]
diff --git a/tests/otv-heapoverflow-2.pcap b/tests/otv-heapoverflow-2.pcap
new file mode 100644
index 000000000000..69d6e7856e1e
--- /dev/null
+++ b/tests/otv-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/pcap-invalid-version-1.out b/tests/pcap-invalid-version-1.out
new file mode 100644
index 000000000000..5edcddacaf74
--- /dev/null
+++ b/tests/pcap-invalid-version-1.out
@@ -0,0 +1 @@
+EXIT CODE 00000100
diff --git a/tests/pcap-invalid-version-1.pcap b/tests/pcap-invalid-version-1.pcap
new file mode 100644
index 000000000000..9dd0429d22f7
--- /dev/null
+++ b/tests/pcap-invalid-version-1.pcap
Binary files differ
diff --git a/tests/pcap-invalid-version-2.out b/tests/pcap-invalid-version-2.out
new file mode 100644
index 000000000000..5edcddacaf74
--- /dev/null
+++ b/tests/pcap-invalid-version-2.out
@@ -0,0 +1 @@
+EXIT CODE 00000100
diff --git a/tests/pcap-invalid-version-2.pcap b/tests/pcap-invalid-version-2.pcap
new file mode 100644
index 000000000000..4217d1e7a9ec
--- /dev/null
+++ b/tests/pcap-invalid-version-2.pcap
Binary files differ
diff --git a/tests/pcap-ng-invalid-vers-1.out b/tests/pcap-ng-invalid-vers-1.out
new file mode 100644
index 000000000000..5edcddacaf74
--- /dev/null
+++ b/tests/pcap-ng-invalid-vers-1.out
@@ -0,0 +1 @@
+EXIT CODE 00000100
diff --git a/tests/pcap-ng-invalid-vers-1.pcap b/tests/pcap-ng-invalid-vers-1.pcap
new file mode 100644
index 000000000000..7bbb7ab0cdae
--- /dev/null
+++ b/tests/pcap-ng-invalid-vers-1.pcap
Binary files differ
diff --git a/tests/pcap-ng-invalid-vers-2.out b/tests/pcap-ng-invalid-vers-2.out
new file mode 100644
index 000000000000..5edcddacaf74
--- /dev/null
+++ b/tests/pcap-ng-invalid-vers-2.out
@@ -0,0 +1 @@
+EXIT CODE 00000100
diff --git a/tests/pcap-ng-invalid-vers-2.pcap b/tests/pcap-ng-invalid-vers-2.pcap
new file mode 100644
index 000000000000..77595f4bda1a
--- /dev/null
+++ b/tests/pcap-ng-invalid-vers-2.pcap
Binary files differ
diff --git a/tests/q933-heapoverflow-2.out b/tests/q933-heapoverflow-2.out
new file mode 100644
index 000000000000..1a40c7318f7f
--- /dev/null
+++ b/tests/q933-heapoverflow-2.out
@@ -0,0 +1,24 @@
+Q.922, invalid address
+UI 00! Q.922, hdr-len 4, DLCI 5769024, Flags [none], NLPID unknown (0x11), length 41:
+ 0x0000: 886b 68 .kh
+Q.922, invalid address
+UI 00! Q.922, hdr-len 4, DLCI 5769024, Flags [none], NLPID unknown (0x14), length 160:
+ 0x0000: a530 b0 .0.
+Q.922, invalid address
+UI 00! Q.922, hdr-len 4, DLCI 5801792, Flags [none], NLPID unknown (0x11), length 179:
+ 0x0000: 886b 68 .kh
+Q.922, invalid address
+UI 00! Q.922, hdr-len 4, DLCI 5769024, Flags [none], NLPID unknown (0x14), length 30:
+ 0x0000: a530 b0 .0.
+Q.922, invalid address
+UI 00! Q.922, hdr-len 4, DLCI 1856, Flags [none], NLPID unknown (0x11), length 85:
+ 0x0000: 886b 68 .kh
+Q.922, invalid address
+Q.922, invalid address
+UI 00! Q.922, hdr-len 4, DLCI 526144, Flags [none], NLPID unknown (0x14), length 46:
+ 0x0000: a530 b0 .0.
+Q.922, invalid address
+UI 2c! Pad! Q.922, hdr-len 2, DLCI 288, Flags [none], NLPID NULL (0x00), length 24:
+ 0x0000: 1188 6b68 ..kh
+Q.922, invalid address
+UI 2c! Pad! Q.933, CCITT, codeset 0[|q.933]
diff --git a/tests/q933-heapoverflow-2.pcap b/tests/q933-heapoverflow-2.pcap
new file mode 100644
index 000000000000..c38c7b6f8843
--- /dev/null
+++ b/tests/q933-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/radiotap-heapoverflow.out b/tests/radiotap-heapoverflow.out
new file mode 100644
index 000000000000..a81d18406b4d
--- /dev/null
+++ b/tests/radiotap-heapoverflow.out
@@ -0,0 +1 @@
+[|802.11]
diff --git a/tests/radiotap-heapoverflow.pcap b/tests/radiotap-heapoverflow.pcap
new file mode 100644
index 000000000000..82c6e1903093
--- /dev/null
+++ b/tests/radiotap-heapoverflow.pcap
Binary files differ
diff --git a/tests/radius-port1700-v.out b/tests/radius-port1700-v.out
new file mode 100644
index 000000000000..389c763071d0
--- /dev/null
+++ b/tests/radius-port1700-v.out
@@ -0,0 +1,4 @@
+IP (tos 0x0, ttl 64, id 44978, offset 0, flags [none], proto UDP (17), length 53)
+ 127.0.0.1.42172 > 127.0.0.1.1700: RADIUS, length: 25
+ CoA-Request (43), id: 0xa6, Authenticator: 7fbf02c6662b5990838a5e6e331b3ff0
+ User-Name Attribute (1), length: 5, Value: bob
diff --git a/tests/radius-rfc4675-v.out b/tests/radius-rfc4675-v.out
index ff0e96f72e14..c1cea563eb36 100644
--- a/tests/radius-rfc4675-v.out
+++ b/tests/radius-rfc4675-v.out
@@ -5,7 +5,7 @@ IP (tos 0x0, ttl 64, id 20820, offset 0, flags [none], proto UDP (17), length 10
User-Password Attribute (2), length: 18, Value:
NAS-IP-Address Attribute (4), length: 6, Value: 127.0.0.1
NAS-Port Attribute (5), length: 6, Value: 1
- Message-Authenticator Attribute (80), length: 18, Value: .....b..7-...b.
+ Message-Authenticator Attribute (80), length: 18, Value: .....b..7-....b.
IP (tos 0x0, ttl 64, id 20821, offset 0, flags [none], proto UDP (17), length 81)
127.0.0.1.1812 > 127.0.0.1.53334: RADIUS, length: 53
Access-Accept (2), id: 0x46, Authenticator: 766a0314eaf4b95f1ec271ae19cb3bdc
diff --git a/tests/relts-0x80000000.out b/tests/relts-0x80000000.out
new file mode 100644
index 000000000000..195404a98b3b
--- /dev/null
+++ b/tests/relts-0x80000000.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto IGMP (2), length 12336, bad cksum 3030 (->69ac)!)
+ 48.48.48.48 > 48.48.48.48: igmp dvmrp Prune src 48.48.48.48 grp 48.48.48.48 timer 68y5w3h14m8s
diff --git a/tests/relts-0x80000000.pcap b/tests/relts-0x80000000.pcap
new file mode 100644
index 000000000000..eb825fb64280
--- /dev/null
+++ b/tests/relts-0x80000000.pcap
Binary files differ
diff --git a/tests/resp_1.out b/tests/resp_1.out
new file mode 100644
index 000000000000..88c9140344f4
--- /dev/null
+++ b/tests/resp_1.out
@@ -0,0 +1,150 @@
+IP 127.0.0.1.35901 > 127.0.0.1.6379: Flags [S], seq 1159918511, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35901: Flags [S.], seq 1309831771, ack 1159918512, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 2004405846,nop,wscale 7], length 0
+IP 127.0.0.1.35901 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35901 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 6: RESP "PING"
+IP 127.0.0.1.6379 > 127.0.0.1.35901: Flags [.], ack 7, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35901: Flags [P.], seq 1:8, ack 7, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 7: RESP "PONG"
+IP 127.0.0.1.35901 > 127.0.0.1.6379: Flags [.], ack 8, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35901 > 127.0.0.1.6379: Flags [F.], seq 7, ack 8, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35901: Flags [F.], seq 8, ack 8, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35901 > 127.0.0.1.6379: Flags [.], ack 9, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35902 > 127.0.0.1.6379: Flags [S], seq 3880036895, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35902: Flags [S.], seq 95825237, ack 3880036896, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 2004405846,nop,wscale 7], length 0
+IP 127.0.0.1.35902 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35902 > 127.0.0.1.6379: Flags [P.], seq 1:15, ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 14: RESP "PING"
+IP 127.0.0.1.6379 > 127.0.0.1.35902: Flags [.], ack 15, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35902: Flags [P.], seq 1:8, ack 15, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 7: RESP "PONG"
+IP 127.0.0.1.35902 > 127.0.0.1.6379: Flags [.], ack 8, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35902 > 127.0.0.1.6379: Flags [F.], seq 15, ack 8, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35902: Flags [F.], seq 8, ack 16, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35902 > 127.0.0.1.6379: Flags [.], ack 9, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35903 > 127.0.0.1.6379: Flags [S], seq 3040658582, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35903: Flags [S.], seq 2458684268, ack 3040658583, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 2004405846,nop,wscale 7], length 0
+IP 127.0.0.1.35903 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35903 > 127.0.0.1.6379: Flags [P.], seq 1:46, ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 45: RESP "SET" "key:000000000943" "xxx"
+IP 127.0.0.1.6379 > 127.0.0.1.35903: Flags [.], ack 46, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35903: Flags [P.], seq 1:6, ack 46, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 5: RESP "OK"
+IP 127.0.0.1.35903 > 127.0.0.1.6379: Flags [.], ack 6, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35903 > 127.0.0.1.6379: Flags [F.], seq 46, ack 6, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35903: Flags [F.], seq 6, ack 47, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35903 > 127.0.0.1.6379: Flags [.], ack 7, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35904 > 127.0.0.1.6379: Flags [S], seq 2555867980, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35904: Flags [S.], seq 4291997072, ack 2555867981, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 2004405846,nop,wscale 7], length 0
+IP 127.0.0.1.35904 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35904 > 127.0.0.1.6379: Flags [P.], seq 1:37, ack 1, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 36: RESP "GET" "key:000000000199"
+IP 127.0.0.1.6379 > 127.0.0.1.35904: Flags [.], ack 37, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35904: Flags [P.], seq 1:10, ack 37, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 9: RESP "xxx"
+IP 127.0.0.1.35904 > 127.0.0.1.6379: Flags [.], ack 10, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35904 > 127.0.0.1.6379: Flags [F.], seq 37, ack 10, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35904: Flags [F.], seq 10, ack 38, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35904 > 127.0.0.1.6379: Flags [.], ack 11, win 342, options [nop,nop,TS val 2004405846 ecr 2004405846], length 0
+IP 127.0.0.1.35905 > 127.0.0.1.6379: Flags [S], seq 2342248419, win 43690, options [mss 65495,sackOK,TS val 2004405846 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35905: Flags [S.], seq 2490886259, ack 2342248420, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405846,nop,wscale 7], length 0
+IP 127.0.0.1.35905 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35905 > 127.0.0.1.6379: Flags [P.], seq 1:42, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 41: RESP "INCR" "counter:000000000293"
+IP 127.0.0.1.6379 > 127.0.0.1.35905: Flags [.], ack 42, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35905: Flags [P.], seq 1:5, ack 42, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 4: RESP "3"
+IP 127.0.0.1.35905 > 127.0.0.1.6379: Flags [.], ack 5, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35905 > 127.0.0.1.6379: Flags [F.], seq 42, ack 5, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35905: Flags [F.], seq 5, ack 43, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35905 > 127.0.0.1.6379: Flags [.], ack 6, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35906 > 127.0.0.1.6379: Flags [S], seq 131158412, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35906: Flags [S.], seq 49781958, ack 131158413, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35906 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35906 > 127.0.0.1.6379: Flags [P.], seq 1:37, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 36: RESP "LPUSH" "mylist" "xxx"
+IP 127.0.0.1.6379 > 127.0.0.1.35906: Flags [.], ack 37, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35906: Flags [P.], seq 1:9, ack 37, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 8: RESP "47158"
+IP 127.0.0.1.35906 > 127.0.0.1.6379: Flags [.], ack 9, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35906 > 127.0.0.1.6379: Flags [F.], seq 37, ack 9, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35906: Flags [F.], seq 9, ack 38, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35906 > 127.0.0.1.6379: Flags [.], ack 10, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35907 > 127.0.0.1.6379: Flags [S], seq 1454742392, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35907: Flags [S.], seq 4166501195, ack 1454742393, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35907 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35907 > 127.0.0.1.6379: Flags [P.], seq 1:27, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 26: RESP "LPOP" "mylist"
+IP 127.0.0.1.6379 > 127.0.0.1.35907: Flags [.], ack 27, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35907: Flags [P.], seq 1:10, ack 27, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 9: RESP "xxx"
+IP 127.0.0.1.35907 > 127.0.0.1.6379: Flags [.], ack 10, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35907 > 127.0.0.1.6379: Flags [F.], seq 27, ack 10, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35907: Flags [F.], seq 10, ack 28, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35907 > 127.0.0.1.6379: Flags [.], ack 11, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35908 > 127.0.0.1.6379: Flags [S], seq 545589487, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35908: Flags [S.], seq 2823817844, ack 545589488, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35908 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35908 > 127.0.0.1.6379: Flags [P.], seq 1:53, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 52: RESP "SADD" "myset" "element:000000000063"
+IP 127.0.0.1.6379 > 127.0.0.1.35908: Flags [.], ack 53, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35908: Flags [P.], seq 1:5, ack 53, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 4: RESP "1"
+IP 127.0.0.1.35908 > 127.0.0.1.6379: Flags [.], ack 5, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35908 > 127.0.0.1.6379: Flags [F.], seq 53, ack 5, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35908: Flags [F.], seq 5, ack 54, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35908 > 127.0.0.1.6379: Flags [.], ack 6, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35909 > 127.0.0.1.6379: Flags [S], seq 296698850, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35909: Flags [S.], seq 3970806453, ack 296698851, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35909 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35909 > 127.0.0.1.6379: Flags [P.], seq 1:26, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 25: RESP "SPOP" "myset"
+IP 127.0.0.1.6379 > 127.0.0.1.35909: Flags [.], ack 26, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35909: Flags [P.], seq 1:28, ack 26, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 27: RESP "element:000000000063"
+IP 127.0.0.1.35909 > 127.0.0.1.6379: Flags [.], ack 28, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35909 > 127.0.0.1.6379: Flags [F.], seq 26, ack 28, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35909: Flags [F.], seq 28, ack 27, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35909 > 127.0.0.1.6379: Flags [.], ack 29, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35910 > 127.0.0.1.6379: Flags [S], seq 2082555059, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35910: Flags [S.], seq 1762470779, ack 2082555060, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35910 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35910 > 127.0.0.1.6379: Flags [P.], seq 1:37, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 36: RESP "LPUSH" "mylist" "xxx"
+IP 127.0.0.1.6379 > 127.0.0.1.35910: Flags [.], ack 37, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35910: Flags [P.], seq 1:9, ack 37, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 8: RESP "47158"
+IP 127.0.0.1.35910 > 127.0.0.1.6379: Flags [.], ack 9, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35910 > 127.0.0.1.6379: Flags [F.], seq 37, ack 9, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35910: Flags [F.], seq 9, ack 38, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35910 > 127.0.0.1.6379: Flags [.], ack 10, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35911 > 127.0.0.1.6379: Flags [S], seq 823555559, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35911: Flags [S.], seq 1343119127, ack 823555560, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35911 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35911 > 127.0.0.1.6379: Flags [P.], seq 1:44, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 43: RESP "LRANGE" "mylist" "0" "99"
+IP 127.0.0.1.6379 > 127.0.0.1.35911: Flags [.], ack 44, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35911: Flags [P.], seq 1:907, ack 44, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 906: RESP "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx"
+IP 127.0.0.1.35911 > 127.0.0.1.6379: Flags [.], ack 907, win 356, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35911 > 127.0.0.1.6379: Flags [F.], seq 44, ack 907, win 356, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35911: Flags [F.], seq 907, ack 45, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35911 > 127.0.0.1.6379: Flags [.], ack 908, win 356, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35912 > 127.0.0.1.6379: Flags [S], seq 2379661641, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35912: Flags [S.], seq 1832740480, ack 2379661642, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35912 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35912 > 127.0.0.1.6379: Flags [P.], seq 1:45, ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 44: RESP "LRANGE" "mylist" "0" "299"
+IP 127.0.0.1.6379 > 127.0.0.1.35912: Flags [.], ack 45, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35912: Flags [P.], seq 1:2707, ack 45, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 2706: RESP "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx"
+IP 127.0.0.1.35912 > 127.0.0.1.6379: Flags [.], ack 2707, win 1365, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35912 > 127.0.0.1.6379: Flags [F.], seq 45, ack 2707, win 1365, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35912: Flags [F.], seq 2707, ack 46, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35912 > 127.0.0.1.6379: Flags [.], ack 2708, win 1365, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35913 > 127.0.0.1.6379: Flags [S], seq 1669304377, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35913: Flags [S.], seq 1910612537, ack 1669304378, win 43690, options [mss 65495,sackOK,TS val 2004405847 ecr 2004405847,nop,wscale 7], length 0
+IP 127.0.0.1.35913 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405847 ecr 2004405847], length 0
+IP 127.0.0.1.35913 > 127.0.0.1.6379: Flags [P.], seq 1:45, ack 1, win 342, options [nop,nop,TS val 2004405848 ecr 2004405847], length 44: RESP "LRANGE" "mylist" "0" "449"
+IP 127.0.0.1.6379 > 127.0.0.1.35913: Flags [.], ack 45, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35913: Flags [P.], seq 1:4057, ack 45, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 4056: RESP "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx"
+IP 127.0.0.1.35913 > 127.0.0.1.6379: Flags [.], ack 4057, win 1365, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35913 > 127.0.0.1.6379: Flags [F.], seq 45, ack 4057, win 1365, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35913: Flags [F.], seq 4057, ack 46, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35913 > 127.0.0.1.6379: Flags [.], ack 4058, win 1365, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35914 > 127.0.0.1.6379: Flags [S], seq 1695153288, win 43690, options [mss 65495,sackOK,TS val 2004405848 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35914: Flags [S.], seq 488402032, ack 1695153289, win 43690, options [mss 65495,sackOK,TS val 2004405848 ecr 2004405848,nop,wscale 7], length 0
+IP 127.0.0.1.35914 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35914 > 127.0.0.1.6379: Flags [P.], seq 1:45, ack 1, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 44: RESP "LRANGE" "mylist" "0" "599"
+IP 127.0.0.1.6379 > 127.0.0.1.35914: Flags [.], ack 45, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35914: Flags [P.], seq 1:5407, ack 45, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 5406: RESP "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx" "xxx"
+IP 127.0.0.1.35914 > 127.0.0.1.6379: Flags [.], ack 5407, win 1365, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35914 > 127.0.0.1.6379: Flags [F.], seq 45, ack 5407, win 1365, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35914: Flags [F.], seq 5407, ack 46, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35914 > 127.0.0.1.6379: Flags [.], ack 5408, win 1365, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35915 > 127.0.0.1.6379: Flags [S], seq 3952529642, win 43690, options [mss 65495,sackOK,TS val 2004405848 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35915: Flags [S.], seq 2079771045, ack 3952529643, win 43690, options [mss 65495,sackOK,TS val 2004405848 ecr 2004405848,nop,wscale 7], length 0
+IP 127.0.0.1.35915 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35915 > 127.0.0.1.6379: Flags [P.], seq 1:336, ack 1, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 335: RESP "MSET" "key:000000000525" "xxx" "key:000000000050" "xxx" "key:000000000416" "xxx" "key:000000000263" "xxx" "key:000000000941" "xxx" "key:000000000148" "xxx" "key:000000000739" "xxx" "key:000000000571" "xxx" "key:000000000974" "xxx" "key:000000000495" "xxx"
+IP 127.0.0.1.6379 > 127.0.0.1.35915: Flags [.], ack 336, win 350, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35915: Flags [P.], seq 1:6, ack 336, win 350, options [nop,nop,TS val 2004405848 ecr 2004405848], length 5: RESP "OK"
+IP 127.0.0.1.35915 > 127.0.0.1.6379: Flags [.], ack 6, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35915 > 127.0.0.1.6379: Flags [F.], seq 336, ack 6, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35915: Flags [F.], seq 6, ack 337, win 350, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
+IP 127.0.0.1.35915 > 127.0.0.1.6379: Flags [.], ack 7, win 342, options [nop,nop,TS val 2004405848 ecr 2004405848], length 0
diff --git a/tests/resp_1_benchmark.pcap b/tests/resp_1_benchmark.pcap
new file mode 100644
index 000000000000..b746f1c384a7
--- /dev/null
+++ b/tests/resp_1_benchmark.pcap
Binary files differ
diff --git a/tests/resp_2.out b/tests/resp_2.out
new file mode 100644
index 000000000000..37333d79f702
--- /dev/null
+++ b/tests/resp_2.out
@@ -0,0 +1,14 @@
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [S], seq 270581733, win 43690, options [mss 65495,sackOK,TS val 2004413385 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35934: Flags [S.], seq 3524975383, ack 270581734, win 43690, options [mss 65495,sackOK,TS val 2004413385 ecr 2004413385,nop,wscale 7], length 0
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 2004413385 ecr 2004413385], length 0
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [P.], seq 1:13, ack 1, win 342, options [nop,nop,TS val 2004413683 ecr 2004413385], length 12: RESP "set test 1"
+IP 127.0.0.1.6379 > 127.0.0.1.35934: Flags [.], ack 13, win 342, options [nop,nop,TS val 2004413683 ecr 2004413683], length 0
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [P.], seq 13:157, ack 1, win 342, options [nop,nop,TS val 2004413683 ecr 2004413683], length 144: RESP "incr test" "set test2 redis" "get test2" "lpush test3 r" "lpush test3 e" "lpush test3 d" "lpush test3 i" "lpush test3 s" "lrange test3 0 -1" "del test4"
+IP 127.0.0.1.6379 > 127.0.0.1.35934: Flags [.], ack 157, win 350, options [nop,nop,TS val 2004413683 ecr 2004413683], length 0
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [P.], seq 157:168, ack 1, win 342, options [nop,nop,TS val 2004413683 ecr 2004413683], length 11: RESP "get test4"
+IP 127.0.0.1.6379 > 127.0.0.1.35934: Flags [.], ack 168, win 350, options [nop,nop,TS val 2004413683 ecr 2004413683], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35934: Flags [P.], seq 1:1289, ack 168, win 350, options [nop,nop,TS val 2004413683 ecr 2004413683], length 1288: RESP "OK" "2" "OK" "redis" "170" "171" "172" "173" "174" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "i" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "d" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "s" "i" "d" "e" "r" "i" "s" "i" "e" "r" "s" "i" "d" "e" "r" "0" null
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [.], ack 1289, win 1365, options [nop,nop,TS val 2004413683 ecr 2004413683], length 0
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [F.], seq 168, ack 1289, win 1365, options [nop,nop,TS val 2004413984 ecr 2004413683], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.35934: Flags [F.], seq 1289, ack 169, win 350, options [nop,nop,TS val 2004413984 ecr 2004413984], length 0
+IP 127.0.0.1.35934 > 127.0.0.1.6379: Flags [.], ack 1290, win 1365, options [nop,nop,TS val 2004413984 ecr 2004413984], length 0
diff --git a/tests/resp_2_inline.pcap b/tests/resp_2_inline.pcap
new file mode 100644
index 000000000000..e22b5f216306
--- /dev/null
+++ b/tests/resp_2_inline.pcap
Binary files differ
diff --git a/tests/resp_3.out b/tests/resp_3.out
new file mode 100644
index 000000000000..1852f4e056c8
--- /dev/null
+++ b/tests/resp_3.out
@@ -0,0 +1,163 @@
+IP 127.0.0.1.52759 > 127.0.0.1.6379: Flags [F.], seq 2169831382, ack 489972337, win 342, options [nop,nop,TS val 1132418034 ecr 1132417734], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52759: Flags [F.], seq 1, ack 1, win 342, options [nop,nop,TS val 1132418034 ecr 1132418034], length 0
+IP 127.0.0.1.52759 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132418034 ecr 1132418034], length 0
+IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [S], seq 264055152, win 43690, options [mss 65495,sackOK,TS val 1132418037 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [S.], seq 4227148888, ack 264055153, win 43690, options [mss 65495,sackOK,TS val 1132418037 ecr 1132418037,nop,wscale 7], length 0
+IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132418037 ecr 1132418037], length 0
+IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 1132418037 ecr 1132418037], length 6: RESP empty
+IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [.], ack 7, win 342, options [nop,nop,TS val 1132418037 ecr 1132418037], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [P.], seq 1:28, ack 7, win 342, options [nop,nop,TS val 1132418037 ecr 1132418037], length 27: RESP "ERR unknown command '$0'"
+IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 28, win 342, options [nop,nop,TS val 1132418037 ecr 1132418037], length 0
+IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [F.], seq 7, ack 28, win 342, options [nop,nop,TS val 1132418337 ecr 1132418037], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [F.], seq 28, ack 8, win 342, options [nop,nop,TS val 1132418337 ecr 1132418337], length 0
+IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 29, win 342, options [nop,nop,TS val 1132418337 ecr 1132418337], length 0
+IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [S], seq 4029577365, win 43690, options [mss 65495,sackOK,TS val 1132418340 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52763: Flags [S.], seq 365322185, ack 4029577366, win 43690, options [mss 65495,sackOK,TS val 1132418340 ecr 1132418340,nop,wscale 7], length 0
+IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132418340 ecr 1132418340], length 0
+IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [P.], seq 1:4, ack 1, win 342, options [nop,nop,TS val 1132418340 ecr 1132418340], length 3: RESP ""
+IP 127.0.0.1.6379 > 127.0.0.1.52763: Flags [.], ack 4, win 342, options [nop,nop,TS val 1132418340 ecr 1132418340], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52763: Flags [P.], seq 1:27, ack 4, win 342, options [nop,nop,TS val 1132418340 ecr 1132418340], length 26: RESP "ERR unknown command '+'"
+IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [.], ack 27, win 342, options [nop,nop,TS val 1132418340 ecr 1132418340], length 0
+IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [F.], seq 4, ack 27, win 342, options [nop,nop,TS val 1132418640 ecr 1132418340], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52763: Flags [F.], seq 27, ack 5, win 342, options [nop,nop,TS val 1132418640 ecr 1132418640], length 0
+IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [.], ack 28, win 342, options [nop,nop,TS val 1132418640 ecr 1132418640], length 0
+IP 127.0.0.1.52764 > 127.0.0.1.6379: Flags [S], seq 3994485171, win 43690, options [mss 65495,sackOK,TS val 1132418642 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52764: Flags [S.], seq 3089553256, ack 3994485172, win 43690, options [mss 65495,sackOK,TS val 1132418642 ecr 1132418642,nop,wscale 7], length 0
+IP 127.0.0.1.52764 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132418642 ecr 1132418642], length 0
+IP 127.0.0.1.52764 > 127.0.0.1.6379: Flags [P.], seq 1:4, ack 1, win 342, options [nop,nop,TS val 1132418642 ecr 1132418642], length 3: RESP ""
+IP 127.0.0.1.6379 > 127.0.0.1.52764: Flags [.], ack 4, win 342, options [nop,nop,TS val 1132418642 ecr 1132418642], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52764: Flags [P.], seq 1:27, ack 4, win 342, options [nop,nop,TS val 1132418642 ecr 1132418642], length 26: RESP "ERR unknown command '-'"
+IP 127.0.0.1.52764 > 127.0.0.1.6379: Flags [.], ack 27, win 342, options [nop,nop,TS val 1132418642 ecr 1132418642], length 0
+IP 127.0.0.1.52764 > 127.0.0.1.6379: Flags [F.], seq 4, ack 27, win 342, options [nop,nop,TS val 1132418942 ecr 1132418642], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52764: Flags [F.], seq 27, ack 5, win 342, options [nop,nop,TS val 1132418942 ecr 1132418942], length 0
+IP 127.0.0.1.52764 > 127.0.0.1.6379: Flags [.], ack 28, win 342, options [nop,nop,TS val 1132418942 ecr 1132418942], length 0
+IP 127.0.0.1.52765 > 127.0.0.1.6379: Flags [S], seq 3235592213, win 43690, options [mss 65495,sackOK,TS val 1132418944 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52765: Flags [S.], seq 1213611847, ack 3235592214, win 43690, options [mss 65495,sackOK,TS val 1132418944 ecr 1132418944,nop,wscale 7], length 0
+IP 127.0.0.1.52765 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132418944 ecr 1132418944], length 0
+IP 127.0.0.1.52765 > 127.0.0.1.6379: Flags [P.], seq 1:4, ack 1, win 342, options [nop,nop,TS val 1132418944 ecr 1132418944], length 3: RESP ""
+IP 127.0.0.1.6379 > 127.0.0.1.52765: Flags [.], ack 4, win 342, options [nop,nop,TS val 1132418944 ecr 1132418944], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52765: Flags [P.], seq 1:27, ack 4, win 342, options [nop,nop,TS val 1132418945 ecr 1132418944], length 26: RESP "ERR unknown command ':'"
+IP 127.0.0.1.52765 > 127.0.0.1.6379: Flags [.], ack 27, win 342, options [nop,nop,TS val 1132418945 ecr 1132418945], length 0
+IP 127.0.0.1.52765 > 127.0.0.1.6379: Flags [F.], seq 4, ack 27, win 342, options [nop,nop,TS val 1132419244 ecr 1132418945], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52765: Flags [F.], seq 27, ack 5, win 342, options [nop,nop,TS val 1132419244 ecr 1132419244], length 0
+IP 127.0.0.1.52765 > 127.0.0.1.6379: Flags [.], ack 28, win 342, options [nop,nop,TS val 1132419244 ecr 1132419244], length 0
+IP 127.0.0.1.52766 > 127.0.0.1.6379: Flags [S], seq 1161779316, win 43690, options [mss 65495,sackOK,TS val 1132419247 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52766: Flags [S.], seq 1206331179, ack 1161779317, win 43690, options [mss 65495,sackOK,TS val 1132419247 ecr 1132419247,nop,wscale 7], length 0
+IP 127.0.0.1.52766 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132419247 ecr 1132419247], length 0
+IP 127.0.0.1.52766 > 127.0.0.1.6379: Flags [P.], seq 1:89, ack 1, win 342, options [nop,nop,TS val 1132419247 ecr 1132419247], length 88: RESP "0392049029024920492304923049032940329402394092304932049230492034932094032940234902340"
+IP 127.0.0.1.6379 > 127.0.0.1.52766: Flags [.], ack 89, win 342, options [nop,nop,TS val 1132419247 ecr 1132419247], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52766: Flags [P.], seq 1:112, ack 89, win 342, options [nop,nop,TS val 1132419247 ecr 1132419247], length 111: RESP "ERR unknown command ':0392049029024920492304923049032940329402394092304932049230492034932094032940234902340'"
+IP 127.0.0.1.52766 > 127.0.0.1.6379: Flags [.], ack 112, win 342, options [nop,nop,TS val 1132419247 ecr 1132419247], length 0
+IP 127.0.0.1.52766 > 127.0.0.1.6379: Flags [F.], seq 89, ack 112, win 342, options [nop,nop,TS val 1132419547 ecr 1132419247], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52766: Flags [F.], seq 112, ack 90, win 342, options [nop,nop,TS val 1132419547 ecr 1132419547], length 0
+IP 127.0.0.1.52766 > 127.0.0.1.6379: Flags [.], ack 113, win 342, options [nop,nop,TS val 1132419547 ecr 1132419547], length 0
+IP 127.0.0.1.52767 > 127.0.0.1.6379: Flags [S], seq 3453687710, win 43690, options [mss 65495,sackOK,TS val 1132419549 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52767: Flags [S.], seq 4076862539, ack 3453687711, win 43690, options [mss 65495,sackOK,TS val 1132419549 ecr 1132419549,nop,wscale 7], length 0
+IP 127.0.0.1.52767 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 0
+IP 127.0.0.1.52767 > 127.0.0.1.6379: Flags [P.], seq 1:39, ack 1, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 38: RESP length too large
+IP 127.0.0.1.6379 > 127.0.0.1.52767: Flags [.], ack 39, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52767: Flags [P.], seq 1:48, ack 39, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 47: RESP "ERR Protocol error: invalid multibulk length"
+IP 127.0.0.1.52767 > 127.0.0.1.6379: Flags [.], ack 48, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52767: Flags [F.], seq 48, ack 39, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 0
+IP 127.0.0.1.52767 > 127.0.0.1.6379: Flags [F.], seq 39, ack 49, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52767: Flags [.], ack 40, win 342, options [nop,nop,TS val 1132419549 ecr 1132419549], length 0
+IP 127.0.0.1.52768 > 127.0.0.1.6379: Flags [S], seq 3109305893, win 43690, options [mss 65495,sackOK,TS val 1132419852 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52768: Flags [S.], seq 4202059680, ack 3109305894, win 43690, options [mss 65495,sackOK,TS val 1132419852 ecr 1132419852,nop,wscale 7], length 0
+IP 127.0.0.1.52768 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132419852 ecr 1132419852], length 0
+IP 127.0.0.1.52768 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 1132419852 ecr 1132419852], length 6: RESP length negative and not -1
+IP 127.0.0.1.6379 > 127.0.0.1.52768: Flags [.], ack 7, win 342, options [nop,nop,TS val 1132419852 ecr 1132419852], length 0
+IP 127.0.0.1.52768 > 127.0.0.1.6379: Flags [F.], seq 7, ack 1, win 342, options [nop,nop,TS val 1132420152 ecr 1132419852], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52768: Flags [F.], seq 1, ack 8, win 342, options [nop,nop,TS val 1132420152 ecr 1132420152], length 0
+IP 127.0.0.1.52768 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132420152 ecr 1132420152], length 0
+IP 127.0.0.1.52769 > 127.0.0.1.6379: Flags [S], seq 4072438166, win 43690, options [mss 65495,sackOK,TS val 1132420154 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52769: Flags [S.], seq 156730490, ack 4072438167, win 43690, options [mss 65495,sackOK,TS val 1132420154 ecr 1132420154,nop,wscale 7], length 0
+IP 127.0.0.1.52769 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132420154 ecr 1132420154], length 0
+IP 127.0.0.1.52769 > 127.0.0.1.6379: Flags [P.], seq 1:11, ack 1, win 342, options [nop,nop,TS val 1132420154 ecr 1132420154], length 10: RESP length negative and not -1 "hi"
+IP 127.0.0.1.6379 > 127.0.0.1.52769: Flags [.], ack 11, win 342, options [nop,nop,TS val 1132420154 ecr 1132420154], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52769: Flags [P.], seq 1:57, ack 11, win 342, options [nop,nop,TS val 1132420154 ecr 1132420154], length 56: RESP "ERR unknown command '$-20'" "ERR unknown command 'hi'"
+IP 127.0.0.1.52769 > 127.0.0.1.6379: Flags [.], ack 57, win 342, options [nop,nop,TS val 1132420154 ecr 1132420154], length 0
+IP 127.0.0.1.52769 > 127.0.0.1.6379: Flags [F.], seq 11, ack 57, win 342, options [nop,nop,TS val 1132420454 ecr 1132420154], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52769: Flags [F.], seq 57, ack 12, win 342, options [nop,nop,TS val 1132420454 ecr 1132420454], length 0
+IP 127.0.0.1.52769 > 127.0.0.1.6379: Flags [.], ack 58, win 342, options [nop,nop,TS val 1132420454 ecr 1132420454], length 0
+IP 127.0.0.1.52770 > 127.0.0.1.6379: Flags [S], seq 374549345, win 43690, options [mss 65495,sackOK,TS val 1132420457 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52770: Flags [S.], seq 1146630634, ack 374549346, win 43690, options [mss 65495,sackOK,TS val 1132420457 ecr 1132420457,nop,wscale 7], length 0
+IP 127.0.0.1.52770 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132420457 ecr 1132420457], length 0
+IP 127.0.0.1.52770 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 1132420457 ecr 1132420457], length 6: RESP [|RESP]
+IP 127.0.0.1.6379 > 127.0.0.1.52770: Flags [.], ack 7, win 342, options [nop,nop,TS val 1132420457 ecr 1132420457], length 0
+IP 127.0.0.1.52770 > 127.0.0.1.6379: Flags [F.], seq 7, ack 1, win 342, options [nop,nop,TS val 1132420757 ecr 1132420457], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52770: Flags [F.], seq 1, ack 8, win 342, options [nop,nop,TS val 1132420757 ecr 1132420757], length 0
+IP 127.0.0.1.52770 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132420757 ecr 1132420757], length 0
+IP 127.0.0.1.52771 > 127.0.0.1.6379: Flags [S], seq 2541241523, win 43690, options [mss 65495,sackOK,TS val 1132420760 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52771: Flags [S.], seq 3482468888, ack 2541241524, win 43690, options [mss 65495,sackOK,TS val 1132420760 ecr 1132420760,nop,wscale 7], length 0
+IP 127.0.0.1.52771 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132420760 ecr 1132420760], length 0
+IP 127.0.0.1.52771 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 1132420760 ecr 1132420760], length 6: RESP [|RESP]
+IP 127.0.0.1.6379 > 127.0.0.1.52771: Flags [.], ack 7, win 342, options [nop,nop,TS val 1132420760 ecr 1132420760], length 0
+IP 127.0.0.1.52771 > 127.0.0.1.6379: Flags [F.], seq 7, ack 1, win 342, options [nop,nop,TS val 1132421059 ecr 1132420760], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52771: Flags [F.], seq 1, ack 8, win 342, options [nop,nop,TS val 1132421059 ecr 1132421059], length 0
+IP 127.0.0.1.52771 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132421059 ecr 1132421059], length 0
+IP 127.0.0.1.52772 > 127.0.0.1.6379: Flags [S], seq 3376019145, win 43690, options [mss 65495,sackOK,TS val 1132421060 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52772: Flags [S.], seq 2449011991, ack 3376019146, win 43690, options [mss 65495,sackOK,TS val 1132421060 ecr 1132421060,nop,wscale 7], length 0
+IP 127.0.0.1.52772 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132421060 ecr 1132421060], length 0
+IP 127.0.0.1.52772 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,nop,TS val 1132421060 ecr 1132421060], length 6: RESP [|RESP]
+IP 127.0.0.1.6379 > 127.0.0.1.52772: Flags [.], ack 7, win 342, options [nop,nop,TS val 1132421060 ecr 1132421060], length 0
+IP 127.0.0.1.52772 > 127.0.0.1.6379: Flags [F.], seq 7, ack 1, win 342, options [nop,nop,TS val 1132421360 ecr 1132421060], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52772: Flags [F.], seq 1, ack 8, win 342, options [nop,nop,TS val 1132421360 ecr 1132421360], length 0
+IP 127.0.0.1.52772 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132421360 ecr 1132421360], length 0
+IP 127.0.0.1.52773 > 127.0.0.1.6379: Flags [S], seq 3567970909, win 43690, options [mss 65495,sackOK,TS val 1132421363 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52773: Flags [S.], seq 3366370739, ack 3567970910, win 43690, options [mss 65495,sackOK,TS val 1132421363 ecr 1132421363,nop,wscale 7], length 0
+IP 127.0.0.1.52773 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132421363 ecr 1132421363], length 0
+IP 127.0.0.1.52773 > 127.0.0.1.6379: Flags [P.], seq 1:6, ack 1, win 342, options [nop,nop,TS val 1132421363 ecr 1132421363], length 5: RESP null
+IP 127.0.0.1.6379 > 127.0.0.1.52773: Flags [.], ack 6, win 342, options [nop,nop,TS val 1132421363 ecr 1132421363], length 0
+IP 127.0.0.1.52773 > 127.0.0.1.6379: Flags [F.], seq 6, ack 1, win 342, options [nop,nop,TS val 1132421663 ecr 1132421363], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52773: Flags [F.], seq 1, ack 7, win 342, options [nop,nop,TS val 1132421663 ecr 1132421663], length 0
+IP 127.0.0.1.52773 > 127.0.0.1.6379: Flags [.], ack 2, win 342, options [nop,nop,TS val 1132421663 ecr 1132421663], length 0
+IP 127.0.0.1.52775 > 127.0.0.1.6379: Flags [S], seq 3374943379, win 43690, options [mss 65495,sackOK,TS val 1132421665 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52775: Flags [S.], seq 363870070, ack 3374943380, win 43690, options [mss 65495,sackOK,TS val 1132421665 ecr 1132421665,nop,wscale 7], length 0
+IP 127.0.0.1.52775 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132421665 ecr 1132421665], length 0
+IP 127.0.0.1.52775 > 127.0.0.1.6379: Flags [P.], seq 1:6, ack 1, win 342, options [nop,nop,TS val 1132421665 ecr 1132421665], length 5: RESP null
+IP 127.0.0.1.6379 > 127.0.0.1.52775: Flags [.], ack 6, win 342, options [nop,nop,TS val 1132421665 ecr 1132421665], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52775: Flags [P.], seq 1:29, ack 6, win 342, options [nop,nop,TS val 1132421665 ecr 1132421665], length 28: RESP "ERR unknown command '$-1'"
+IP 127.0.0.1.52775 > 127.0.0.1.6379: Flags [.], ack 29, win 342, options [nop,nop,TS val 1132421665 ecr 1132421665], length 0
+IP 127.0.0.1.52775 > 127.0.0.1.6379: Flags [F.], seq 6, ack 29, win 342, options [nop,nop,TS val 1132421965 ecr 1132421665], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52775: Flags [F.], seq 29, ack 7, win 342, options [nop,nop,TS val 1132421965 ecr 1132421965], length 0
+IP 127.0.0.1.52775 > 127.0.0.1.6379: Flags [.], ack 30, win 342, options [nop,nop,TS val 1132421965 ecr 1132421965], length 0
+IP 127.0.0.1.52776 > 127.0.0.1.6379: Flags [S], seq 2780863902, win 43690, options [mss 65495,sackOK,TS val 1132421969 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52776: Flags [S.], seq 2789065616, ack 2780863903, win 43690, options [mss 65495,sackOK,TS val 1132421969 ecr 1132421969,nop,wscale 7], length 0
+IP 127.0.0.1.52776 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132421969 ecr 1132421969], length 0
+IP 127.0.0.1.52776 > 127.0.0.1.6379: Flags [P.], seq 1:64, ack 1, win 342, options [nop,nop,TS val 1132421969 ecr 1132421969], length 63: RESP "INCR" "z" "INCR" "z" "INCR" "z"
+IP 127.0.0.1.6379 > 127.0.0.1.52776: Flags [.], ack 64, win 342, options [nop,nop,TS val 1132421969 ecr 1132421969], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52776: Flags [P.], seq 1:16, ack 64, win 342, options [nop,nop,TS val 1132421969 ecr 1132421969], length 15: RESP "69" "70" "71"
+IP 127.0.0.1.52776 > 127.0.0.1.6379: Flags [.], ack 16, win 342, options [nop,nop,TS val 1132421969 ecr 1132421969], length 0
+IP 127.0.0.1.52776 > 127.0.0.1.6379: Flags [F.], seq 64, ack 16, win 342, options [nop,nop,TS val 1132422270 ecr 1132421969], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52776: Flags [F.], seq 16, ack 65, win 342, options [nop,nop,TS val 1132422270 ecr 1132422270], length 0
+IP 127.0.0.1.52776 > 127.0.0.1.6379: Flags [.], ack 17, win 342, options [nop,nop,TS val 1132422270 ecr 1132422270], length 0
+IP 127.0.0.1.52777 > 127.0.0.1.6379: Flags [S], seq 357339476, win 43690, options [mss 65495,sackOK,TS val 1132422271 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52777: Flags [S.], seq 3123925211, ack 357339477, win 43690, options [mss 65495,sackOK,TS val 1132422271 ecr 1132422271,nop,wscale 7], length 0
+IP 127.0.0.1.52777 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132422271 ecr 1132422271], length 0
+IP 127.0.0.1.52777 > 127.0.0.1.6379: Flags [P.], seq 1:21, ack 1, win 342, options [nop,nop,TS val 1132422271 ecr 1132422271], length 20: RESP "PING" "PING" "PING"
+IP 127.0.0.1.6379 > 127.0.0.1.52777: Flags [.], ack 21, win 342, options [nop,nop,TS val 1132422271 ecr 1132422271], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52777: Flags [P.], seq 1:22, ack 21, win 342, options [nop,nop,TS val 1132422271 ecr 1132422271], length 21: RESP "PONG" "PONG" "PONG"
+IP 127.0.0.1.52777 > 127.0.0.1.6379: Flags [.], ack 22, win 342, options [nop,nop,TS val 1132422271 ecr 1132422271], length 0
+IP 127.0.0.1.52777 > 127.0.0.1.6379: Flags [F.], seq 21, ack 22, win 342, options [nop,nop,TS val 1132422571 ecr 1132422271], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52777: Flags [F.], seq 22, ack 22, win 342, options [nop,nop,TS val 1132422571 ecr 1132422571], length 0
+IP 127.0.0.1.52777 > 127.0.0.1.6379: Flags [.], ack 23, win 342, options [nop,nop,TS val 1132422571 ecr 1132422571], length 0
+IP 127.0.0.1.52778 > 127.0.0.1.6379: Flags [S], seq 2069568772, win 43690, options [mss 65495,sackOK,TS val 1132422573 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52778: Flags [S.], seq 1085796497, ack 2069568773, win 43690, options [mss 65495,sackOK,TS val 1132422573 ecr 1132422573,nop,wscale 7], length 0
+IP 127.0.0.1.52778 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132422573 ecr 1132422573], length 0
+IP 127.0.0.1.52778 > 127.0.0.1.6379: Flags [P.], seq 1:21, ack 1, win 342, options [nop,nop,TS val 1132422573 ecr 1132422573], length 20: RESP "PING" "PING" "PING"
+IP 127.0.0.1.6379 > 127.0.0.1.52778: Flags [.], ack 21, win 342, options [nop,nop,TS val 1132422573 ecr 1132422573], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52778: Flags [P.], seq 1:22, ack 21, win 342, options [nop,nop,TS val 1132422573 ecr 1132422573], length 21: RESP "PONG" "PONG" "PONG"
+IP 127.0.0.1.52778 > 127.0.0.1.6379: Flags [.], ack 22, win 342, options [nop,nop,TS val 1132422573 ecr 1132422573], length 0
+IP 127.0.0.1.52778 > 127.0.0.1.6379: Flags [F.], seq 21, ack 22, win 342, options [nop,nop,TS val 1132422873 ecr 1132422573], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52778: Flags [F.], seq 22, ack 22, win 342, options [nop,nop,TS val 1132422873 ecr 1132422873], length 0
+IP 127.0.0.1.52778 > 127.0.0.1.6379: Flags [.], ack 23, win 342, options [nop,nop,TS val 1132422873 ecr 1132422873], length 0
+IP 127.0.0.1.52779 > 127.0.0.1.6379: Flags [S], seq 1578479120, win 43690, options [mss 65495,sackOK,TS val 1132422875 ecr 0,nop,wscale 7], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52779: Flags [S.], seq 2529957046, ack 1578479121, win 43690, options [mss 65495,sackOK,TS val 1132422875 ecr 1132422875,nop,wscale 7], length 0
+IP 127.0.0.1.52779 > 127.0.0.1.6379: Flags [.], ack 1, win 342, options [nop,nop,TS val 1132422875 ecr 1132422875], length 0
+IP 127.0.0.1.52779 > 127.0.0.1.6379: Flags [P.], seq 1:24, ack 1, win 342, options [nop,nop,TS val 1132422875 ecr 1132422875], length 23: RESP "PING" "PING" "PING"
+IP 127.0.0.1.6379 > 127.0.0.1.52779: Flags [.], ack 24, win 342, options [nop,nop,TS val 1132422875 ecr 1132422875], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52779: Flags [P.], seq 1:22, ack 24, win 342, options [nop,nop,TS val 1132422875 ecr 1132422875], length 21: RESP "PONG" "PONG" "PONG"
+IP 127.0.0.1.52779 > 127.0.0.1.6379: Flags [.], ack 22, win 342, options [nop,nop,TS val 1132422875 ecr 1132422875], length 0
+IP 127.0.0.1.52779 > 127.0.0.1.6379: Flags [F.], seq 24, ack 22, win 342, options [nop,nop,TS val 1132423175 ecr 1132422875], length 0
+IP 127.0.0.1.6379 > 127.0.0.1.52779: Flags [F.], seq 22, ack 25, win 342, options [nop,nop,TS val 1132423175 ecr 1132423175], length 0
+IP 127.0.0.1.52779 > 127.0.0.1.6379: Flags [.], ack 23, win 342, options [nop,nop,TS val 1132423175 ecr 1132423175], length 0
diff --git a/tests/resp_3_malicious.pcap b/tests/resp_3_malicious.pcap
new file mode 100644
index 000000000000..02cd53f5f1a1
--- /dev/null
+++ b/tests/resp_3_malicious.pcap
Binary files differ
diff --git a/tests/rpl-14-daovvv.out b/tests/rpl-14-daovvv.out
index 7869e6bf7f45..7e4b8a5f6005 100644
--- a/tests/rpl-14-daovvv.out
+++ b/tests/rpl-14-daovvv.out
@@ -1 +1 @@
-IP6 (hlim 64, next-header ICMPv6 (58) payload length: 24) fe80::216:3eff:fe11:3424 > ff02::1: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:pandora is fun0x0al,seq:1,instance:1,Dagid,40]
+IP6 (hlim 64, next-header ICMPv6 (58) payload length: 24) fe80::216:3eff:fe11:3424 > ff02::1: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:7061:6e64:6f72:6120:6973:2066:756e:a6c,seq:1,instance:1,Dagid,40]
diff --git a/tests/rpl-19-pickdag.out b/tests/rpl-19-pickdag.out
index 2460ada4fa87..d3c41eedeccf 100644
--- a/tests/rpl-19-pickdag.out
+++ b/tests/rpl-19-pickdag.out
@@ -1 +1 @@
-IP6 (hlim 64, next-header ICMPv6 (58) payload length: 56) fe80::216:3eff:fe11:3424 > fe80::216:3eff:fe11:3424: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:T10x000x000x000x000x000x000x000x000x000x000x000x000x000x00,seq:10,instance:42,Dagid,40] opt:rpltarget len:25 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0
+IP6 (hlim 64, next-header ICMPv6 (58) payload length: 56) fe80::216:3eff:fe11:3424 > fe80::216:3eff:fe11:3424: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:5431::,seq:10,instance:42,Dagid,40] opt:rpltarget len:25 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0
diff --git a/tests/rpl-19-pickdagvvv.out b/tests/rpl-19-pickdagvvv.out
index bd934537dc81..deee03315198 100644
--- a/tests/rpl-19-pickdagvvv.out
+++ b/tests/rpl-19-pickdagvvv.out
@@ -1 +1 @@
-IP6 (hlim 64, next-header ICMPv6 (58) payload length: 56) fe80::216:3eff:fe11:3424 > fe80::216:3eff:fe11:3424: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:T10x000x000x000x000x000x000x000x000x000x000x000x000x000x00,seq:10,instance:42,Dagid,40] opt:rpltarget len:25 0x0000: 0080 2001 0db8 0001 0000 0216 3eff fe11 0x0010: 3424 0000 0000 00 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0
+IP6 (hlim 64, next-header ICMPv6 (58) payload length: 56) fe80::216:3eff:fe11:3424 > fe80::216:3eff:fe11:3424: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object [dagid:5431::,seq:10,instance:42,Dagid,40] opt:rpltarget len:25 0x0000: 0080 2001 0db8 0001 0000 0216 3eff fe11 0x0010: 3424 0000 0000 00 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0 opt:pad0
diff --git a/tests/rpl-26-senddaovv.out b/tests/rpl-26-senddaovv.out
index 6d11c81c9904..1b642bb723d8 100644
--- a/tests/rpl-26-senddaovv.out
+++ b/tests/rpl-26-senddaovv.out
@@ -1 +1 @@
-IP6 (hlim 64, next-header ICMPv6 (58) payload length: 24) fe80::216:3eff:fe11:3424 > ff02::1: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object Ack [dagid:thisismydicedag2,seq:11,instance:43,status:0]
+IP6 (hlim 64, next-header ICMPv6 (58) payload length: 24) fe80::216:3eff:fe11:3424 > ff02::1: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object Ack [dagid:7468:6973:6973:6d79:6469:6365:6461:6732,seq:11,instance:43,status:0]
diff --git a/tests/rsvp-inf-loop-2-v.out b/tests/rsvp-inf-loop-2-v.out
new file mode 100644
index 000000000000..03696fb7352f
--- /dev/null
+++ b/tests/rsvp-inf-loop-2-v.out
@@ -0,0 +1,12 @@
+IP (tos 0x0, ttl 254, id 0, offset 0, flags [none], proto RSVP (46), length 268, options (RA))
+ 10.31.0.1 > 10.33.0.1:
+ RSVPv1 Path Message (1), Flags: [none], length: 244, ttl: 254, checksum: 0x0ca3
+ Session Object (1) Flags: [reject if unknown], Class-Type: Tunnel IPv4 (7), length: 16
+ IPv4 Tunnel EndPoint: 10.33.0.1, Tunnel ID: 0x0004, Extended Tunnel ID: 10.31.0.1
+ RSVP Hop Object (3) Flags: [reject if unknown], Class-Type: IPv4 (1), length: 12
+ Previous/Next Interface: 10.1.2.1, Logical Interface Handle: 0x98006700
+ Time Values Object (5) Flags: [reject if unknown], Class-Type: 1 (1), length: 8
+ Refresh Period: 30000ms
+ ERO Object (20) Flags: [reject if unknown], Class-Type: IPv4 (1), length: 36
+ Subobject Type: IPv4 prefix, length 8, Strict, 10.1.2.2/32, Flags: [none]
+ Subobject Type: IPv4 prefix, length 8 ERROR: Prefix length 70 != 32 (invalid)
diff --git a/tests/rsvp-inf-loop-2.pcap b/tests/rsvp-inf-loop-2.pcap
new file mode 100644
index 000000000000..e2caa2adfe0b
--- /dev/null
+++ b/tests/rsvp-inf-loop-2.pcap
Binary files differ
diff --git a/tests/rtp-seg-fault-1.out b/tests/rtp-seg-fault-1.out
new file mode 100644
index 000000000000..d18ab8cfc2cf
--- /dev/null
+++ b/tests/rtp-seg-fault-1.out
@@ -0,0 +1,2 @@
+IP (tos 0x0, ttl 255, id 158, offset 0, flags [DF], proto UDP (17), length 37, bad cksum d7e0 (->9cf8)!)
+ 208.21.2.184.1512 > 10.1.1.99.53: udp/rtp 57323 c31 +* 4652 3815804996 [|rtp]
diff --git a/tests/rtp-seg-fault-1.pcap b/tests/rtp-seg-fault-1.pcap
new file mode 100644
index 000000000000..5a0510c3c8bd
--- /dev/null
+++ b/tests/rtp-seg-fault-1.pcap
Binary files differ
diff --git a/tests/rtp-seg-fault-2.out b/tests/rtp-seg-fault-2.out
new file mode 100644
index 000000000000..1c504da2f696
--- /dev/null
+++ b/tests/rtp-seg-fault-2.out
@@ -0,0 +1,2 @@
+IP (tos 0x0, ttl 252, id 8264, offset 0, flags [none], proto UDP (17), length 100, bad cksum f803 (->c00f)!)
+ 208.21.2.184.1512 > 10.1.1.99.514: udp/rtp -12 c31 + 31926 3881022529 455123981 [|rtp]
diff --git a/tests/rtp-seg-fault-2.pcap b/tests/rtp-seg-fault-2.pcap
new file mode 100644
index 000000000000..77fefbfa2316
--- /dev/null
+++ b/tests/rtp-seg-fault-2.pcap
Binary files differ
diff --git a/tests/scps_invalid.out b/tests/scps_invalid.out
new file mode 100644
index 000000000000..31e83844d970
--- /dev/null
+++ b/tests/scps_invalid.out
@@ -0,0 +1,2 @@
+IP 182.181.202.230.52750 > 83.253.102.83.63764: Flags [S], seq 3757264999, win 8192, options [mss 1452,nop,wscale 2,nop,nop,scps[bad opt]>
+IP 182.181.158.21.53052 > 83.253.102.83.30122: Flags [S], seq 2824624414, win 8192, options [mss 1452,nop,wscale 2,nop,nop,scps[bad opt]>
diff --git a/tests/scps_invalid.pcap b/tests/scps_invalid.pcap
new file mode 100644
index 000000000000..e420baebccd9
--- /dev/null
+++ b/tests/scps_invalid.pcap
Binary files differ
diff --git a/tests/snmp-heapoverflow-1.out b/tests/snmp-heapoverflow-1.out
new file mode 100644
index 000000000000..b8856074d61f
--- /dev/null
+++ b/tests/snmp-heapoverflow-1.out
@@ -0,0 +1,21 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0030: 3030 00
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0030: 3030 00
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0030: 3030 00
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0020: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
+ 0x0030: 3030 00
+IP 48.48.48.48.12336 > 48.48.48.48.161: [|snmp]
diff --git a/tests/snmp-heapoverflow-1.pcap b/tests/snmp-heapoverflow-1.pcap
new file mode 100644
index 000000000000..83e57595ea31
--- /dev/null
+++ b/tests/snmp-heapoverflow-1.pcap
Binary files differ
diff --git a/tests/snmp-heapoverflow-2.out b/tests/snmp-heapoverflow-2.out
new file mode 100644
index 000000000000..987891597a6c
--- /dev/null
+++ b/tests/snmp-heapoverflow-2.out
@@ -0,0 +1 @@
+IP 48.48.48.48.12336 > 48.48.48.48.162: [|snmp]
diff --git a/tests/snmp-heapoverflow-2.pcap b/tests/snmp-heapoverflow-2.pcap
new file mode 100644
index 000000000000..19fd248719cb
--- /dev/null
+++ b/tests/snmp-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/spb_bpduv4-v.out b/tests/spb_bpduv4-v.out
new file mode 100644
index 000000000000..019b249ece52
--- /dev/null
+++ b/tests/spb_bpduv4-v.out
@@ -0,0 +1,400 @@
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
+STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205
+ port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0
+ CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003,
+ message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s
+ v3len 80, MCID Name IEEE802.1 SPB Default, rev 0,
+ digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0,
+ CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20
+ MSTI 10, Flags [Learn, Forward], port-role Designated
+ MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0
+ MSTI bridge-prio 8, port-prio 8, hops 20
+ v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0,
+ digest c8bd946a00815f86ace612b9f8616283
+ Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0,
+ Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32,
+ Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000
+
diff --git a/tests/stp-heapoverflow-1.out b/tests/stp-heapoverflow-1.out
new file mode 100644
index 000000000000..f4cc053e3dbf
--- /dev/null
+++ b/tests/stp-heapoverflow-1.out
@@ -0,0 +1,27 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 30 00000
+[|stp 808464415]
diff --git a/tests/stp-heapoverflow-1.pcap b/tests/stp-heapoverflow-1.pcap
new file mode 100644
index 000000000000..21fcce936548
--- /dev/null
+++ b/tests/stp-heapoverflow-1.pcap
Binary files differ
diff --git a/tests/stp-heapoverflow-2.out b/tests/stp-heapoverflow-2.out
new file mode 100644
index 000000000000..17dc5ef7b300
--- /dev/null
+++ b/tests/stp-heapoverflow-2.out
@@ -0,0 +1,27 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+STP 802.1d[|stp 808464415]
diff --git a/tests/stp-heapoverflow-2.pcap b/tests/stp-heapoverflow-2.pcap
new file mode 100644
index 000000000000..83b572ffe4dd
--- /dev/null
+++ b/tests/stp-heapoverflow-2.pcap
Binary files differ
diff --git a/tests/stp-heapoverflow-3.out b/tests/stp-heapoverflow-3.out
new file mode 100644
index 000000000000..273a0df9862b
--- /dev/null
+++ b/tests/stp-heapoverflow-3.out
@@ -0,0 +1,27 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 30 000
+[|stp 808464415]
diff --git a/tests/stp-heapoverflow-3.pcap b/tests/stp-heapoverflow-3.pcap
new file mode 100644
index 000000000000..3f33b0dcda08
--- /dev/null
+++ b/tests/stp-heapoverflow-3.pcap
Binary files differ
diff --git a/tests/stp-heapoverflow-4.out b/tests/stp-heapoverflow-4.out
new file mode 100644
index 000000000000..f2c32585a081
--- /dev/null
+++ b/tests/stp-heapoverflow-4.out
@@ -0,0 +1,27 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 3030 00000000
+STP 802.1d, Config, Flags [Learn, Forward][|stp 808464415]
diff --git a/tests/stp-heapoverflow-4.pcap b/tests/stp-heapoverflow-4.pcap
new file mode 100644
index 000000000000..76d29593ef03
--- /dev/null
+++ b/tests/stp-heapoverflow-4.pcap
Binary files differ
diff --git a/tests/stp-heapoverflow-5.out b/tests/stp-heapoverflow-5.out
new file mode 100644
index 000000000000..17dc5ef7b300
--- /dev/null
+++ b/tests/stp-heapoverflow-5.out
@@ -0,0 +1,27 @@
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
+ 0x0000: 3030 3030 3030 000000
+STP 802.1d[|stp 808464415]
diff --git a/tests/stp-heapoverflow-5.pcap b/tests/stp-heapoverflow-5.pcap
new file mode 100644
index 000000000000..83b572ffe4dd
--- /dev/null
+++ b/tests/stp-heapoverflow-5.pcap
Binary files differ
diff --git a/tests/tcp-auth-heapoverflow.out b/tests/tcp-auth-heapoverflow.out
new file mode 100644
index 000000000000..b7ff7f7ab3b1
--- /dev/null
+++ b/tests/tcp-auth-heapoverflow.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [DF], proto TCP (6), length 12336, bad cksum 3030 (->29a8)!)
+ 48.48.48.48.12336 > 48.48.48.48.12336: Flags [.U], seq 808464432:808476696, ack 808464432, win 12336, urg 12336, options [tcp-ao keyid 48 rnextkeyid 48 mac 0x303030303030[|tcp]
diff --git a/tests/tcp-auth-heapoverflow.pcap b/tests/tcp-auth-heapoverflow.pcap
new file mode 100644
index 000000000000..a9f823dd359f
--- /dev/null
+++ b/tests/tcp-auth-heapoverflow.pcap
Binary files differ
diff --git a/tests/tcp_header_heapoverflow.out b/tests/tcp_header_heapoverflow.out
new file mode 100644
index 000000000000..0f830aba5c4b
--- /dev/null
+++ b/tests/tcp_header_heapoverflow.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto TCP (6), length 12336, bad cksum 3030 (->69a8)!)
+ 48.48.48.48.12336 > 48.48.48.48.12336: [|tcp]
diff --git a/tests/tcp_header_heapoverflow.pcap b/tests/tcp_header_heapoverflow.pcap
new file mode 100644
index 000000000000..3d6b7c78c1b6
--- /dev/null
+++ b/tests/tcp_header_heapoverflow.pcap
Binary files differ
diff --git a/tests/tftp-heapoverflow.out b/tests/tftp-heapoverflow.out
new file mode 100644
index 000000000000..0d68d453b81b
--- /dev/null
+++ b/tests/tftp-heapoverflow.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [DF], proto UDP (17), length 12336, bad cksum 3030 (->299d)!)
+ 48.48.48.48.69 > 48.48.48.48.12336: 12308 RRQ "00" [|tftp]
diff --git a/tests/tftp-heapoverflow.pcap b/tests/tftp-heapoverflow.pcap
new file mode 100644
index 000000000000..c8800f6c3b62
--- /dev/null
+++ b/tests/tftp-heapoverflow.pcap
Binary files differ
diff --git a/tests/trunc_aack.out b/tests/trunc_aack.out
new file mode 100644
index 000000000000..4b652c003222
--- /dev/null
+++ b/tests/trunc_aack.out
@@ -0,0 +1 @@
+PAP, Auth-ACK (0x02), id 1[|pap]
diff --git a/tests/truncated-aack.pcap b/tests/truncated-aack.pcap
new file mode 100644
index 000000000000..f90b9e950c30
--- /dev/null
+++ b/tests/truncated-aack.pcap
Binary files differ
diff --git a/tests/udld-inf-loop-1-v.out b/tests/udld-inf-loop-1-v.out
new file mode 100644
index 000000000000..daeabbdd401a
--- /dev/null
+++ b/tests/udld-inf-loop-1-v.out
@@ -0,0 +1,9 @@
+UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
+ Checksum 0x3956 (unverified)
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 0 (invalid)
diff --git a/tests/udld-inf-loop-1.pcap b/tests/udld-inf-loop-1.pcap
new file mode 100644
index 000000000000..652935c92e6d
--- /dev/null
+++ b/tests/udld-inf-loop-1.pcap
Binary files differ
diff --git a/tests/udld-v.out b/tests/udld-v.out
index cb55b8aa654e..d4361f4a1fe0 100644
--- a/tests/udld-v.out
+++ b/tests/udld-v.out
@@ -1,261 +1,261 @@
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x03), length 60
Checksum 0x6d85 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 4,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 1
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 8, ^@^@^@^@
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 1
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805d (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 1
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 1
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805e (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 1
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 1
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805c (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 2
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 2
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805d (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 2
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 2
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805b (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 3
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 3
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805c (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 3
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 3
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805a (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 4
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 4
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805b (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 4
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 4
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x8059 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 5
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 5
UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80
Checksum 0x805a (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 7s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 5
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 7s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 5
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795c (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 1
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 1
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795d (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 1
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 1
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795b (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 2
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 2
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795c (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 2
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 2
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795a (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 3
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 3
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795b (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 3
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 3
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7959 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 4
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 4
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x795a (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 4
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 4
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7958 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 5
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 5
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7959 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 5
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 5
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7957 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 6
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 6
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7958 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 6
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 6
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7956 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 7
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 7
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7957 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 7
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 7
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7955 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 8
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 8
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7956 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 8
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 8
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7954 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3
- Port-ID TLV (0x0002) TLV, length 5, Fa0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S2
- Sequence Number TLV (0x0007) TLV, length 4, 9
+ Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
+ Port-ID TLV (0x0002) TLV, length 9, Fa0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1031Z7JG^@^EGi0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S2
+ Sequence Number TLV (0x0007) TLV, length 8, 9
UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80
Checksum 0x7955 (unverified)
- Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG
- Port-ID TLV (0x0002) TLV, length 5, Gi0/1
- Echo TLV (0x0003) TLV, length 24,
- Message Interval TLV (0x0004) TLV, length 1, 15s
- Timeout Interval TLV (0x0005) TLV, length 1, 5s
- Device Name TLV (0x0006) TLV, length 2, S1
- Sequence Number TLV (0x0007) TLV, length 4, 9
+ Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
+ Port-ID TLV (0x0002) TLV, length 9, Gi0/1
+ Echo TLV (0x0003) TLV, length 28, ^@^@^@^A^@^KFOC1025X4W3^@^EFa0/1
+ Message Interval TLV (0x0004) TLV, length 5, 15s
+ Timeout Interval TLV (0x0005) TLV, length 5, 5s
+ Device Name TLV (0x0006) TLV, length 6, S1
+ Sequence Number TLV (0x0007) TLV, length 8, 9
diff --git a/tests/udp-length-heapoverflow.out b/tests/udp-length-heapoverflow.out
new file mode 100644
index 000000000000..1515117a74a7
--- /dev/null
+++ b/tests/udp-length-heapoverflow.out
@@ -0,0 +1,2 @@
+IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 3030 (->699d)!)
+ 48.48.48.48.12336 > 48.48.48.48.12336: [|udp]
diff --git a/tests/udp-length-heapoverflow.pcap b/tests/udp-length-heapoverflow.pcap
new file mode 100644
index 000000000000..67e899fbfc61
--- /dev/null
+++ b/tests/udp-length-heapoverflow.pcap
Binary files differ
diff --git a/tests/unaligned-nfs-1.out b/tests/unaligned-nfs-1.out
new file mode 100644
index 000000000000..e74aa309960d
--- /dev/null
+++ b/tests/unaligned-nfs-1.out
@@ -0,0 +1,2 @@
+IP (tos 0x0, ttl 63, id 38810, offset 0, flags [DF], proto TCP (6), length 168)
+ 128.112.130.130.2049 > 140.180.226.200.1023: Flags [P.], cksum 0x6f82 (correct), seq 271994717:271994833, ack 3625862383, win 12274, options [nop,nop,TS val 801481683 ecr 243357584], length 116: NFS reply xid 3532485149 reply ok 112
diff --git a/tests/unaligned-nfs-1.pcap b/tests/unaligned-nfs-1.pcap
new file mode 100644
index 000000000000..5f12c13697f2
--- /dev/null
+++ b/tests/unaligned-nfs-1.pcap
Binary files differ
diff --git a/tests/vxlan.out b/tests/vxlan.out
new file mode 100644
index 000000000000..b42258602533
--- /dev/null
+++ b/tests/vxlan.out
@@ -0,0 +1,20 @@
+ 1 36:dc:85:1e:b3:40 > 00:16:3e:08:71:cf, ethertype IPv4 (0x0800), length 148: 192.168.203.1.45149 > 192.168.202.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:16:3e:37:f6:04 > 00:30:88:01:00:02, ethertype IPv4 (0x0800), length 98: 192.168.203.3 > 192.168.203.5: ICMP echo request, id 1292, seq 1, length 64
+ 2 00:16:3e:08:71:cf > 36:dc:85:1e:b3:40, ethertype IPv4 (0x0800), length 92: 192.168.202.1.42710 > 192.168.203.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:30:88:01:00:02 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.203.3 tell 192.168.203.5, length 28
+ 3 36:dc:85:1e:b3:40 > 00:16:3e:08:71:cf, ethertype IPv4 (0x0800), length 92: 192.168.203.1.52102 > 192.168.202.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:16:3e:37:f6:04 > 00:30:88:01:00:02, ethertype ARP (0x0806), length 42: Reply 192.168.203.3 is-at 00:16:3e:37:f6:04, length 28
+ 4 00:16:3e:08:71:cf > 36:dc:85:1e:b3:40, ethertype IPv4 (0x0800), length 148: 192.168.202.1.32894 > 192.168.203.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:30:88:01:00:02 > 00:16:3e:37:f6:04, ethertype IPv4 (0x0800), length 98: 192.168.203.5 > 192.168.203.3: ICMP echo reply, id 1292, seq 1, length 64
+ 5 36:dc:85:1e:b3:40 > 00:16:3e:08:71:cf, ethertype IPv4 (0x0800), length 148: 192.168.203.1.45149 > 192.168.202.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:16:3e:37:f6:04 > 00:30:88:01:00:02, ethertype IPv4 (0x0800), length 98: 192.168.203.3 > 192.168.203.5: ICMP echo request, id 1292, seq 2, length 64
+ 6 00:16:3e:08:71:cf > 36:dc:85:1e:b3:40, ethertype IPv4 (0x0800), length 148: 192.168.202.1.32894 > 192.168.203.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:30:88:01:00:02 > 00:16:3e:37:f6:04, ethertype IPv4 (0x0800), length 98: 192.168.203.5 > 192.168.203.3: ICMP echo reply, id 1292, seq 2, length 64
+ 7 36:dc:85:1e:b3:40 > 00:16:3e:08:71:cf, ethertype IPv4 (0x0800), length 148: 192.168.203.1.45149 > 192.168.202.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:16:3e:37:f6:04 > 00:30:88:01:00:02, ethertype IPv4 (0x0800), length 98: 192.168.203.3 > 192.168.203.5: ICMP echo request, id 1292, seq 3, length 64
+ 8 00:16:3e:08:71:cf > 36:dc:85:1e:b3:40, ethertype IPv4 (0x0800), length 148: 192.168.202.1.32894 > 192.168.203.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:30:88:01:00:02 > 00:16:3e:37:f6:04, ethertype IPv4 (0x0800), length 98: 192.168.203.5 > 192.168.203.3: ICMP echo reply, id 1292, seq 3, length 64
+ 9 36:dc:85:1e:b3:40 > 00:16:3e:08:71:cf, ethertype IPv4 (0x0800), length 148: 192.168.203.1.45149 > 192.168.202.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:16:3e:37:f6:04 > 00:30:88:01:00:02, ethertype IPv4 (0x0800), length 98: 192.168.203.3 > 192.168.203.5: ICMP echo request, id 1292, seq 4, length 64
+ 10 00:16:3e:08:71:cf > 36:dc:85:1e:b3:40, ethertype IPv4 (0x0800), length 148: 192.168.202.1.32894 > 192.168.203.1.4789: VXLAN, flags [I] (0x08), vni 100
+00:30:88:01:00:02 > 00:16:3e:37:f6:04, ethertype IPv4 (0x0800), length 98: 192.168.203.5 > 192.168.203.3: ICMP echo reply, id 1292, seq 4, length 64
diff --git a/tests/vxlan.pcap b/tests/vxlan.pcap
new file mode 100644
index 000000000000..04f0c2f9045d
--- /dev/null
+++ b/tests/vxlan.pcap
Binary files differ
diff --git a/tests/zmtp1-inf-loop-1.out b/tests/zmtp1-inf-loop-1.out
new file mode 100644
index 000000000000..240484818bd4
--- /dev/null
+++ b/tests/zmtp1-inf-loop-1.out
@@ -0,0 +1,2 @@
+IP 196.59.48.65.14214 > 192.168.1.1.179: Flags [P.], seq 2470159403:2470159437, ack 160570221, win 8224, length 34: ZMTP/1.0
+ frame flags+body (64-bit) length 18446744073709551607 (25 captured), flags 0xff [|zmtp1]
diff --git a/tests/zmtp1-inf-loop-1.pcap b/tests/zmtp1-inf-loop-1.pcap
new file mode 100644
index 000000000000..280e397cc726
--- /dev/null
+++ b/tests/zmtp1-inf-loop-1.pcap
Binary files differ