]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode-udp: Allow shorter UDP packets than the remaining payload length
authorLukas Sismis <lsismis@oisf.net>
Fri, 18 Nov 2022 15:13:58 +0000 (16:13 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 26 Jan 2023 05:59:14 +0000 (06:59 +0100)
commitd18e52ed93e996bc0335d4a100b2ac7f12b3848d
tree18c6ca505bd53c2553acf1aa566afee4c50d8ccf
parentba99241957b8fd2f1478bf3d1929eedb4f7094ab
decode-udp:  Allow shorter UDP packets than the remaining payload length

If the packet is shorter than IP payload length we no longer flag it as an
invalid UDP packet. UDP packet can be therefore shorter than IP payload.
Keyword "udp.hlen_invalid" became outdated as we no longer flag short UDP
packets as invalid.

Redmine ticket: #5693
rules/decoder-events.rules
src/decode-udp.c
src/detect-engine-event.c