]> The Tcpdump Group git mirrors - tcpdump/commitdiff
AoE: Add a test for the previous fix
authorDenis Ovsienko <[email protected]>
Thu, 31 Aug 2017 20:15:37 +0000 (21:15 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 18 Aug 2019 18:35:51 +0000 (20:35 +0200)
Add a test using the capture file supplied by Bhargava Shastry
SecT/TU Berlin.

tests/TESTLIST
tests/aoe-oobr-1.out [new file with mode: 0644]
tests/aoe-oobr-1.pcap [new file with mode: 0644]

index 624cb3a48c6a832ad6f4e3125458690beebca025..42b50c240ad05dfbc429f489a6ae722705468a5b 100644 (file)
@@ -571,6 +571,7 @@ olsr-oobr-1         olsr-oobr-1.pcap                olsr-oobr-1.out -v
 olsr-oobr-2            olsr-oobr-2.pcap                olsr-oobr-2.out -v
 ikev1_id_ipv6_addr_subnet-oobr ikev1_id_ipv6_addr_subnet-oobr.pcap     ikev1_id_ipv6_addr_subnet-oobr.out      -v
 isakmp-various-oobr    isakmp-various-oobr.pcap        isakmp-various-oobr.out -v
+aoe-oobr-1             aoe-oobr-1.pcap                 aoe-oobr-1.out  -v -c1
 
 # bad packets from Katie Holly
 mlppp-oobr             mlppp-oobr.pcap                 mlppp-oobr.out
diff --git a/tests/aoe-oobr-1.out b/tests/aoe-oobr-1.out
new file mode 100644 (file)
index 0000000..a959283
--- /dev/null
@@ -0,0 +1,3 @@
+AoE length 18, Ver 1, Flags: [Response, MBZ-0x02, MBZ-0x01]
+       Major: 0x40f6, Minor: 0x02, Command: Reserve/Release, Tag: 0x01010101
+       RCmd: Set reserve list, NMacs: 1 [|aoe]
diff --git a/tests/aoe-oobr-1.pcap b/tests/aoe-oobr-1.pcap
new file mode 100644 (file)
index 0000000..ce06c21
Binary files /dev/null and b/tests/aoe-oobr-1.pcap differ