mirror of https://github.com/OISF/suricata
doc/pcre: note that flow captures need a flow
Add a note to the pcre extraction section stating that a flow: capture is dropped when the packet is inspected without a flow, and that such a packet still alerts. ICMPv4 error messages are one way to get such a packet: FlowCreateCheck returns false for them, while DecodeICMPV4 has already set p->payload, so they reach the detection engine with something to inspect and nowhere to store a flow variable. A packet the flow engine could not give a flow to once the memcap was reached and no used flow could be reclaimed is the other. The pkt: and alert: scopes described in the same section are unaffected, because a packet variable is stored on the packet and an alert variable on the alert. Issue: 8862pull/16213/head
parent
6afe490b46
commit
c717cc1e9b
Loading…
Reference in New Issue