Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions tests/TESTLIST
Original file line number Diff line number Diff line change
Expand Up @@ -836,3 +836,22 @@ unsupported-link-type-dbus unsupported-link-type-dbus.pcap unsupported-link-type

# LSP Ping
lsp-ping-timestamp lsp-ping-timestamp.pcap lsp-ping-timestamp.out -vv

# B.A.T.M.A.N. Advanced
batman-adv-15-iv-unicast-ip6mc batman-adv-15-iv.pcap batman-adv-15-iv-unicast-ip6mc.out "batadv 15 unicast and ip6 dst ff02::1 and icmp6 and icmp6[icmp6type] = icmp6-echo"
batman-adv-15-iv-bcast-ip6mc batman-adv-15-iv.pcap batman-adv-15-iv-bcast-ip6mc.out "batadv 15 bcast and ip6 dst ff02::1 and icmp6 and icmp6[icmp6type] = icmp6-echo"
batman-adv-15-iv-unicast-ip6u batman-adv-15-iv.pcap batman-adv-15-iv-unicast-ip6uc.out "batadv 15 unicast and ip6 dst fe80::ff:fe00:102 and icmp6 and icmp6[icmp6type] = icmp6-echo"
batman-adv-15-iv-ucastfrag-ip6uc batman-adv-15-iv.pcap batman-adv-15-iv-ucastfrag-ip6uc.out "batadv 15 unicast_frag"
batman-adv-15-iv-ucast4addr-dhcp4 batman-adv-15-iv.pcap batman-adv-15-iv-ucast4addr-dhcp4.out "batadv 15 unicast_4addr and ip and udp dst port 67"
batman-adv-15-iv-ogm batman-adv-15-iv.pcap batman-adv-15-iv-ogm.out "batadv 15 iv_ogm && ether[22:2] = 0x0200 and ether[24:2] = 0x0000 and ether[26:2] = 0x0001"
batman-adv-15-iv-ogm2 batman-adv-15-iv.pcap batman-adv-15-iv-ogm2.out "batadv 15 ogm2 && ether[22:2] = 0x0200 and ether[24:2] = 0x0000 and ether[26:2] = 0x0002"
batman-adv-15-iv-elp batman-adv-15-iv.pcap batman-adv-15-iv-elp.out "batadv 15 elp && ether[16:2] = 0x0200 and ether[18:2] = 0x0000 and ether[20:2] = 0x0002"

batman-adv-15-v-unicast-ip6mc batman-adv-15-v.pcap batman-adv-15-v-unicast-ip6mc.out "batadv 15 unicast and ip6 dst ff02::1 and icmp6 and icmp6[icmp6type] = icmp6-echo"
batman-adv-15-v-bcast-ip6mc batman-adv-15-v.pcap batman-adv-15-v-bcast-ip6mc.out "batadv 15 bcast and ip6 dst ff02::1 and icmp6 and icmp6[icmp6type] = icmp6-echo"
batman-adv-15-v-unicast-ip6u batman-adv-15-v.pcap batman-adv-15-v-unicast-ip6uc.out "batadv 15 unicast and ip6 dst fe80::ff:fe00:102 and icmp6 and icmp6[icmp6type] = icmp6-echo"
batman-adv-15-v-ucastfrag-ip6uc batman-adv-15-v.pcap batman-adv-15-v-ucastfrag-ip6uc.out "batadv 15 unicast_frag"
batman-adv-15-v-ucast4addr-dhcp4 batman-adv-15-v.pcap batman-adv-15-v-ucast4addr-dhcp4.out "batadv 15 unicast_4addr and ip and udp dst port 67"
batman-adv-15-v-ogm batman-adv-15-v.pcap batman-adv-15-v-ogm.out "batadv 15 iv_ogm && ether[22:2] = 0x0200 and ether[24:2] = 0x0000 and ether[26:2] = 0x0001"
batman-adv-15-v-ogm2 batman-adv-15-v.pcap batman-adv-15-v-ogm2.out "batadv 15 ogm2 && ether[22:2] = 0x0200 and ether[24:2] = 0x0000 and ether[26:2] = 0x0002"
batman-adv-15-v-elp batman-adv-15-v.pcap batman-adv-15-v-elp.out "batadv 15 elp && ether[16:2] = 0x0200 and ether[18:2] = 0x0000 and ether[20:2] = 0x0002"
30 changes: 30 additions & 0 deletions tests/batman-adv-15-iv-bcast-ip6mc.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
1 23:11:09.388508 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 146:
0x0000: 010f 3100 0000 0003 0200 0000 0001 3333 ..1...........33
0x0010: 0000 0001 0200 0000 0101 86dd 600d 0392 ............`...
0x0020: 0040 3a01 fe80 0000 0000 0000 0000 00ff .@:.............
0x0030: fe00 0101 ff02 0000 0000 0000 0000 0000 ................
0x0040: 0000 0001 8000 edd6 5457 0001 8dcd c65f ........TW....._
0x0050: 0000 0000 27d0 0500 0000 0000 1011 1213 ....'...........
0x0060: 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 .............!"#
0x0070: 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 $%&'()*+,-./0123
0x0080: 3435 3637 4567
2 23:11:10.392503 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 146:
0x0000: 010f 3100 0000 0004 0200 0000 0001 3333 ..1...........33
0x0010: 0000 0001 0200 0000 0101 86dd 600d 0392 ............`...
0x0020: 0040 3a01 fe80 0000 0000 0000 0000 00ff .@:.............
0x0030: fe00 0101 ff02 0000 0000 0000 0000 0000 ................
0x0040: 0000 0001 8000 a9ce 5457 0002 8ecd c65f ........TW....._
0x0050: 0000 0000 6ad7 0500 0000 0000 1011 1213 ....j...........
0x0060: 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 .............!"#
0x0070: 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 $%&'()*+,-./0123
0x0080: 3435 3637 4567
3 23:11:11.388463 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 146:
0x0000: 010f 3100 0000 0005 0200 0000 0001 3333 ..1...........33
0x0010: 0000 0001 0200 0000 0101 86dd 600d 0392 ............`...
0x0020: 0040 3a01 fe80 0000 0000 0000 0000 00ff .@:.............
0x0030: fe00 0101 ff02 0000 0000 0000 0000 0000 ................
0x0040: 0000 0001 8000 6bc9 5457 0003 8fcd c65f ......k.TW....._
0x0050: 0000 0000 a7db 0500 0000 0000 1011 1213 ................
0x0060: 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 .............!"#
0x0070: 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 $%&'()*+,-./0123
0x0080: 3435 3637 4567
Empty file added tests/batman-adv-15-iv-elp.out
Empty file.
100 changes: 100 additions & 0 deletions tests/batman-adv-15-iv-ogm.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
1 23:11:01.096532 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9b8 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
2 23:11:01.208421 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9b8 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0026 0024 0401 0014 0101 0002 .....&.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
3 23:11:06.216481 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9b9 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
4 23:11:06.332492 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9b9 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 002f 0024 0401 0014 0101 0002 ...../.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
5 23:11:11.336494 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9ba 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
6 23:11:11.444420 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9ba 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0038 0024 0401 0014 0101 0002 .....8.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
7 23:11:16.456497 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9bb 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
8 23:11:16.564437 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9bb 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0041 0024 0401 0014 0101 0002 .....A.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
9 23:11:21.576843 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9bc 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
10 23:11:21.688530 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9bc 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0049 0024 0401 0014 0101 0002 .....I.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
11 23:11:26.700454 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9bd 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
12 23:11:26.808484 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9bd 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0050 0024 0401 0014 0101 0002 .....P.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
13 23:11:31.816573 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9be 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
14 23:11:31.924423 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9be 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0058 0024 0401 0014 0101 0002 .....X.$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
15 23:11:36.936519 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9bf 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
16 23:11:37.044458 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3105 811e d9bf 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0000 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
17 23:11:42.056754 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9c0 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
18 23:11:42.168511 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3105 811e d9c0 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0009 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
19 23:11:47.176509 02:00:00:00:00:01 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3200 811e d9c1 0200 0000 0001 0200 ..2.............
0x0010: 0000 0001 00ff 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
20 23:11:47.288462 02:00:00:00:00:02 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4305), length 74:
0x0000: 000f 3104 811e d9c1 0200 0000 0001 0200 ..1.............
0x0010: 0000 0001 0014 0024 0401 0014 0101 0002 .......$........
0x0020: 9c2d be5c 8000 0000 ab66 f181 0000 0000 .-.\.....f......
0x0030: 0602 0004 1800 0000 0201 0000 ............
Empty file added tests/batman-adv-15-iv-ogm2.out
Empty file.
48 changes: 48 additions & 0 deletions tests/batman-adv-15-iv-ucast4addr-dhcp4.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
1 23:11:24.548910 02:00:00:00:00:01 > 02:00:00:00:00:02, ethertype Unknown (0x4305), length 374:
0x0000: 420f 3201 0200 0000 0002 0200 0000 0001 B.2.............
0x0010: 0100 ffff ffff ffff 0200 0000 0101 0800 ................
0x0020: 4510 0148 0000 0000 8011 3996 0000 0000 E..H......9.....
0x0030: ffff ffff 0044 0043 0134 3698 0101 0600 .....D.C.46.....
0x0040: 40ef eb27 0000 0000 0000 0000 0000 0000 @..'............
0x0050: 0000 0000 0000 0000 0200 0000 0101 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0110: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0120: 0000 0000 0000 0000 6382 5363 3501 0137 ........c.Sc5..7
0x0130: 0c01 1c02 030f 0677 2c2f 1a79 2aff 0000 .......w,/.y*...
0x0140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0160: 0000 0000 0000 0000 ........
2 23:11:27.928869 02:00:00:00:00:01 > 02:00:00:00:00:02, ethertype Unknown (0x4305), length 374:
0x0000: 420f 3201 0200 0000 0002 0200 0000 0001 B.2.............
0x0010: 0100 ffff ffff ffff 0200 0000 0101 0800 ................
0x0020: 4510 0148 0000 0000 8011 3996 0000 0000 E..H......9.....
0x0030: ffff ffff 0044 0043 0134 3695 0101 0600 .....D.C.46.....
0x0040: 40ef eb27 0003 0000 0000 0000 0000 0000 @..'............
0x0050: 0000 0000 0000 0000 0200 0000 0101 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0110: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0120: 0000 0000 0000 0000 6382 5363 3501 0137 ........c.Sc5..7
0x0130: 0c01 1c02 030f 0677 2c2f 1a79 2aff 0000 .......w,/.y*...
0x0140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0160: 0000 0000 0000 0000 ........
Loading