]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
decode-event: Add test for too small UDP and TCP packets 1263/head
authorCole Dishington <Cole.Dishington@alliedtelesis.co.nz>
Wed, 24 May 2023 23:25:08 +0000 (11:25 +1200)
committerJason Ish <jason.ish@oisf.net>
Tue, 20 Jun 2023 16:30:42 +0000 (10:30 -0600)
commit045e37a1a2e06d9b5d5089e5619b21f476e98754
treef236a312646011fedcc5105def9a11caca9689fe
parentab8efce8aaf8809d85ed388ca353a3baa1d471e8
decode-event: Add test for too small UDP and TCP packets

Add test for IPv4 and IPv6 packets that set proto/next-header to UDP and
TCP but have no payload.

Bug: #6086.
tests/decode-too-small/README.md [new file with mode: 0644]
tests/decode-too-small/test.pcap [new file with mode: 0644]
tests/decode-too-small/test.py [new file with mode: 0644]
tests/decode-too-small/test.rules [new file with mode: 0644]
tests/decode-too-small/test.yaml [new file with mode: 0644]