]> The Tcpdump Group git mirrors - tcpdump/commitdiff
added additional kh test cases
authorMichael Richardson <[email protected]>
Mon, 9 Sep 2019 22:35:43 +0000 (18:35 -0400)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 24 Sep 2019 12:12:09 +0000 (14:12 +0200)
tests/TESTLIST
tests/kh-tcpdump-001.out [new file with mode: 0644]
tests/kh-tcpdump-001.pcap [new file with mode: 0644]
tests/kh-tcpdump-002.out [new file with mode: 0644]
tests/kh-tcpdump-002.pcap [new file with mode: 0644]
tests/kh-tcpdump-003.out [new file with mode: 0644]
tests/kh-tcpdump-004.pcap [new file with mode: 0644]

index 83088cdff055ac2b50530ee00091a17fdb12bbce..c5d79311b687487f23b243434be6b5b4301332b8 100644 (file)
@@ -631,7 +631,7 @@ dns-zlip-1          dns-zlip-1.pcap         dns-zlip-1.out
 dns-zlip-2             dns-zlip-2.pcap         dns-zlip-2.out
 dns-zlip-3             dns-zlip-3.pcap         dns-zlip-3.out
 
-# CVE 2019-ABCD
+# CVE-2019-15120
 kh-addrfail-001         kh-addrfail-001.pcap    kh-addrfail-001.out
 kh-addrfail-002         kh-addrfail-002.pcap    kh-addrfail-002.out
 kh-addrfail-003         kh-addrfail-003.pcap    kh-addrfail-003.out
@@ -643,3 +643,9 @@ kh-addrfail-008         kh-addrfail-008.pcap    kh-addrfail-008.out
 kh-addrfail-009         kh-addrfail-009.pcap    kh-addrfail-009.out
 kh-addrfail-010         kh-addrfail-010.pcap    kh-addrfail-010.out
 kh-addrfail-011         kh-addrfail-011.pcap    kh-addrfail-011.out
+kh-tcpdump-001          kh-tcpdump-001.pcap     kh-tcpdump-001.out
+kh-tcpdump-002          kh-tcpdump-002.pcap     kh-tcpdump-002.out
+kh-tcpdump-003          kh-tcpdump-003.pcap     kh-tcpdump-003.out
+
+
+# CVE-2019-15116
\ No newline at end of file
diff --git a/tests/kh-tcpdump-001.out b/tests/kh-tcpdump-001.out
new file mode 100644 (file)
index 0000000..e68f867
--- /dev/null
@@ -0,0 +1,17 @@
+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
+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
+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
+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 truncated-ip - 14 bytes missing! 48.48.48.48.525 > 48.48.48.48.12336: (tsp_type 0x30) vers 48 seq 12336 [|timed]
diff --git a/tests/kh-tcpdump-001.pcap b/tests/kh-tcpdump-001.pcap
new file mode 100644 (file)
index 0000000..118c7eb
Binary files /dev/null and b/tests/kh-tcpdump-001.pcap differ
diff --git a/tests/kh-tcpdump-002.out b/tests/kh-tcpdump-002.out
new file mode 100644 (file)
index 0000000..d4d7d51
--- /dev/null
@@ -0,0 +1 @@
+IP 48.48.48.48.525 > 48.48.48.48.12336: (tsp_type 0x30) vers 48 seq 12336 [|timed]
diff --git a/tests/kh-tcpdump-002.pcap b/tests/kh-tcpdump-002.pcap
new file mode 100644 (file)
index 0000000..f38f0ec
Binary files /dev/null and b/tests/kh-tcpdump-002.pcap differ
diff --git a/tests/kh-tcpdump-003.out b/tests/kh-tcpdump-003.out
new file mode 100644 (file)
index 0000000..5edcdda
--- /dev/null
@@ -0,0 +1 @@
+EXIT CODE 00000100
diff --git a/tests/kh-tcpdump-004.pcap b/tests/kh-tcpdump-004.pcap
new file mode 100644 (file)
index 0000000..d5f5aa3
Binary files /dev/null and b/tests/kh-tcpdump-004.pcap differ