mirror of https://github.com/OISF/suricata
icmpv4: improve dest unreachable logic
When a ICMPv4 destination unreachable packet contains an embedded packet this packet is parsed. When it's found to be invalid, the whole ICMP packet is tagged as invalid. In some cases the unreachable packet would still be used. This patch fixes this by checking the packet is invalid flag as well in the ICMPV4_DEST_UNREACH_IS_VALID macro.pull/1799/head
parent
2fbfd6efcc
commit
fe445367bd
Loading…
Reference in New Issue