]> The Tcpdump Group git mirrors - tcpdump/commitdiff
PGM: add POLL/POLR test
authorBryce Wood <[email protected]>
Tue, 11 Jun 2019 00:33:42 +0000 (00:33 +0000)
committerfxlb <[email protected]>
Tue, 11 Jun 2019 07:40:52 +0000 (09:40 +0200)
tests/TESTLIST
tests/pgm_poll_polr.out [new file with mode: 0644]
tests/pgm_poll_polr.pcap [new file with mode: 0644]

index 131ebf3fc062ac6ffa11c49dbed9c09eb883f807..37ab406c4eb71858aebe7d24512dd45c15930671 100644 (file)
@@ -205,6 +205,9 @@ epgm_zmtp1v epgm_zmtp1.pcap         epgm_zmtp1v.out -v -T pgm_zmtp1
 # fuzzed pcap
 zmtp1-inf-loop-1 zmtp1-inf-loop-1.pcapng zmtp1-inf-loop-1.out -T zmtp1
 
+# native PGM POLL/POLR
+pgm_poll_polr  pgm_poll_polr.pcap      pgm_poll_polr.out       -v
+
 # MS NLB tests
 msnlb          msnlb.pcap              msnlb.out
 msnlb2         msnlb2.pcapng           msnlb2.out
diff --git a/tests/pgm_poll_polr.out b/tests/pgm_poll_polr.out
new file mode 100644 (file)
index 0000000..1494aa0
--- /dev/null
@@ -0,0 +1,40 @@
+    1  00:23:25.857579 IP (tos 0x0, ttl 1, id 45546, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 0 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+    2  00:23:25.858513 IP (tos 0x0, ttl 1, id 45547, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 0 round 0 [24]
+    3  00:23:26.860519 IP (tos 0x0, ttl 1, id 45553, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 1 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+    4  00:23:26.861113 IP (tos 0x0, ttl 1, id 45554, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 1 round 0 [24]
+    5  00:23:27.861861 IP (tos 0x0, ttl 1, id 45664, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 2 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+    6  00:23:27.862356 IP (tos 0x0, ttl 1, id 45665, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 2 round 0 [24]
+    7  00:23:28.904540 IP (tos 0x0, ttl 1, id 45785, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 3 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+    8  00:23:28.904976 IP (tos 0x0, ttl 1, id 45786, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 3 round 0 [24]
+    9  00:23:29.911224 IP (tos 0x0, ttl 1, id 45828, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 4 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+   10  00:23:29.911436 IP (tos 0x0, ttl 1, id 45829, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 4 round 0 [24]
+   11  00:23:30.912040 IP (tos 0x0, ttl 1, id 45879, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 5 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+   12  00:23:30.912181 IP (tos 0x0, ttl 1, id 45880, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 5 round 0 [24]
+   13  00:23:31.912569 IP (tos 0x0, ttl 1, id 46126, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 6 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+   14  00:23:31.912784 IP (tos 0x0, ttl 1, id 46127, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 6 round 0 [24]
+   15  00:23:32.914834 IP (tos 0x0, ttl 1, id 46360, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 7 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+   16  00:23:32.915259 IP (tos 0x0, ttl 1, id 46361, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 7 round 0 [24]
+   17  00:23:33.915505 IP (tos 0x0, ttl 1, id 46372, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 8 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+   18  00:23:33.917959 IP (tos 0x0, ttl 1, id 46373, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 8 round 0 [24]
+   19  00:23:34.915913 IP (tos 0x0, ttl 1, id 46546, offset 0, flags [DF], proto PGM (113), length 64)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.1234 > 239.255.194.10.5678: PGM, length 0 0x83f2d6491cb3 POLL seq 9 round 0 nla 10.0.2.15 ivl 0 rnd 0x00000000 mask 0x00000000 [44]
+   20  00:23:34.916198 IP (tos 0x0, ttl 1, id 46547, offset 0, flags [DF], proto PGM (113), length 44)
+    10.0.2.15 > 239.255.194.10: 10.0.2.15.5678 > 239.255.194.10.1234: PGM, length 0 0x83f2d6491cb3 POLR seq 9 round 0 [24]
diff --git a/tests/pgm_poll_polr.pcap b/tests/pgm_poll_polr.pcap
new file mode 100644 (file)
index 0000000..fc44d82
Binary files /dev/null and b/tests/pgm_poll_polr.pcap differ