From: Francois-Xavier Le Bail Date: Tue, 19 Jan 2021 13:58:48 +0000 (+0100) Subject: TCP: Add a test with data in the RST segment, truncated example X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/d4fe5e32fdd85c6a4f623c05f40795f5fb7b8f07 TCP: Add a test with data in the RST segment, truncated example --- diff --git a/tests/TESTLIST b/tests/TESTLIST index 830d5285..7176ba04 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -39,6 +39,8 @@ tcp-handshake-nano-ttttt tcp-handshake-nano.pcap tcp-handshake-nano-ttttt.out -t # TCP with data in the RST segment tcp_rst_data tcp_rst_data.pcap tcp_rst_data.out -v +# TCP with data in the RST segment, truncated example +tcp_rst_data-trunc tcp_rst_data-trunc.pcap tcp_rst_data-trunc.out -v # BGP tests bgp_vpn_attrset bgp_vpn_attrset.pcap bgp_vpn_attrset.out -v diff --git a/tests/tcp_rst_data-trunc.out b/tests/tcp_rst_data-trunc.out new file mode 100644 index 00000000..59ab515d --- /dev/null +++ b/tests/tcp_rst_data-trunc.out @@ -0,0 +1,2 @@ + 1 22:03:19.190965 IP (tos 0x20, ttl 243, id 8243, offset 0, flags [DF], proto TCP (6), length 98) + 199.204.31.89.80 > 172.16.133.41.52875: Flags [R.], seq 1617159969:1617160027, ack 1936660873, win 5785, length 58 [!RST+ BIG-IP: [0x11c5672:3045] {peer] diff --git a/tests/tcp_rst_data-trunc.pcap b/tests/tcp_rst_data-trunc.pcap new file mode 100644 index 00000000..91ff569b Binary files /dev/null and b/tests/tcp_rst_data-trunc.pcap differ