diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-11-05 13:53:14 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-11-05 14:35:02 +0100 |
commit | e1bd3ba13512695f5856528feb327d328d1bc0c1 (patch) | |
tree | 64b7c242d0a7356899ad97b8258a36586770dc86 /tests | |
parent | 9183b5cd3811019985f0638cbc990a8c829c1254 (diff) | |
download | tcpdump-e1bd3ba13512695f5856528feb327d328d1bc0c1.tar.gz |
timed: Add three test capture files
These capture files triggered a buffer over-read fixed by
6f2cd8cee6372b2d3f4783ce30a603b31839d31f.
Two pcap files were updated to pass the sanity checks.
Update the outputs of the tests accordingly.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TESTLIST | 3 | ||||
-rw-r--r-- | tests/kh-timed-001-oobr.out | 17 | ||||
-rw-r--r-- | tests/kh-timed-001-oobr.pcap | bin | 0 -> 344 bytes | |||
-rw-r--r-- | tests/kh-timed-002-oobr.out | 1 | ||||
-rw-r--r-- | tests/kh-timed-002-oobr.pcap | bin | 0 -> 88 bytes | |||
-rw-r--r-- | tests/kh-timed-004-oobr.out | 5 | ||||
-rw-r--r-- | tests/kh-timed-004-oobr.pcap | bin | 0 -> 152 bytes |
7 files changed, 26 insertions, 0 deletions
diff --git a/tests/TESTLIST b/tests/TESTLIST index 003c7dd4..c42aa904 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -642,6 +642,9 @@ bgp_mp_reach_nlri-oobr bgp_mp_reach_nlri-oobr.pcap bgp_mp_reach_nlri-oobr.ou # bad packets from Katie Holly mlppp-oobr mlppp-oobr.pcap mlppp-oobr.out +kh-timed-001-oobr kh-timed-001-oobr.pcap kh-timed-001-oobr.out +kh-timed-002-oobr kh-timed-002-oobr.pcap kh-timed-002-oobr.out +kh-timed-004-oobr kh-timed-004-oobr.pcap kh-timed-004-oobr.out # bad packets from Kim Gwan Yeong mptcp-dss-oobr mptcp-dss-oobr.pcap mptcp-dss-oobr.out -v diff --git a/tests/kh-timed-001-oobr.out b/tests/kh-timed-001-oobr.out new file mode 100644 index 00000000..8fd3180c --- /dev/null +++ b/tests/kh-timed-001-oobr.out @@ -0,0 +1,17 @@ + 1 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: + 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0020: 3030 00 + 2 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: + 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0020: 3030 00 + 3 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: + 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0020: 3030 00 + 4 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: + 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0020: 3030 00 + 5 05:27:12.808464432 IP truncated-ip - 14 bytes missing! 48.48.48.48.525 > 48.48.48.48.12336: (tsp_type 0x30) vers 48 seq 12336 name [|timed] diff --git a/tests/kh-timed-001-oobr.pcap b/tests/kh-timed-001-oobr.pcap Binary files differnew file mode 100644 index 00000000..cce27efa --- /dev/null +++ b/tests/kh-timed-001-oobr.pcap diff --git a/tests/kh-timed-002-oobr.out b/tests/kh-timed-002-oobr.out new file mode 100644 index 00000000..a9e0f996 --- /dev/null +++ b/tests/kh-timed-002-oobr.out @@ -0,0 +1 @@ + 1 05:27:12.808464432 IP 48.48.48.48.525 > 48.48.48.48.12336: (tsp_type 0x30) vers 48 seq 12336 name [|timed] diff --git a/tests/kh-timed-002-oobr.pcap b/tests/kh-timed-002-oobr.pcap Binary files differnew file mode 100644 index 00000000..f38f0ece --- /dev/null +++ b/tests/kh-timed-002-oobr.pcap diff --git a/tests/kh-timed-004-oobr.out b/tests/kh-timed-004-oobr.out new file mode 100644 index 00000000..2ac6f85b --- /dev/null +++ b/tests/kh-timed-004-oobr.out @@ -0,0 +1,5 @@ + 1 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: + 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0020: 3030 00 + 2 05:27:12.808464432 IP truncated-ip - 14 bytes missing! 48.48.48.48.525 > 48.48.48.48.12336: (tsp_type 0x30) vers 48 seq 12336 name [|timed] diff --git a/tests/kh-timed-004-oobr.pcap b/tests/kh-timed-004-oobr.pcap Binary files differnew file mode 100644 index 00000000..0a3326b5 --- /dev/null +++ b/tests/kh-timed-004-oobr.pcap |