Actions
Security #7458
closedaf-packet: defrag option can lead to truncated packets
Git IDs:
Severity:
HIGH
Disclosure Date:
Description
Given a default AF_PACKET IDS configuration, the default snaplen
is set to 1524
. However, the defrag
option can reassemble fragmented packets up to the maximum packet size. Suricata will then see these packets as truncated, create an alert, but not go any further with the packets.
A quick test with --set default-packet-size=5000
helps with smaller packets, as seen with Wireguard, but can only be increased to just over 32000
before other parameters need to be adjusted.
If the defrag
option is used, should we set up AF_PACKET
to handle full-size packets by default?
Actions