mirror of https://github.com/OISF/suricata
defrag/ipv6: support maximum payload length
The maximum IPv6 payload of 65535 bytes results in a packet of 65575 bytes when the fixed header is included. This was truncated to a u16 before decoding a reassembled packet, causing it to bypass further inspection. Use a u32 for the IPv6 decoder length so maximum sized reassembled packets are fully inspected. Ticket: #8818pull/16213/head
parent
1acc170fde
commit
a01636c84b
Loading…
Reference in New Issue