@ -67,28 +67,26 @@ Exception policies are implemented for:
- Expected behavior
- Expected behavior
* - stream.memcap
* - stream.memcap
- memcap-policy
- memcap-policy
- If a stream memcap limit is reached, call the memcap policy on the packet
- If a stream memcap limit is reached, apply the memcap policy to the packet and/or
and flow.
flow.
* - stream.midstream
* - stream.midstream
- midstream-policy
- midstream-policy
- If a session is picked up midstream, call the memcap policy on the packet
- If a session is picked up midstream, apply the midstream policy to the flow.
and flow.
* - stream.reassembly.memcap
* - stream.reassembly.memcap
- memcap-policy
- memcap-policy
- If stream reassembly reaches memcap limit, call the memcap policy on the
- If stream reassembly reaches memcap limit, apply memcap policy to the
packet and flow.
packet and/or flow.
* - flow.memcap
* - flow.memcap
- memcap-policy
- memcap-policy
- Apply policy when the memcap limit for flows is reached and no flow could
- Apply policy when the memcap limit for flows is reached and no flow could
be freed up. Apply policy to the packet.
be freed up. **Policy can only be applied to the packet.**
* - defrag.memcap
* - defrag.memcap
- memcap-policy
- memcap-policy
- Apply policy when the memcap limit for defrag is reached and no tracker
- Apply policy when the memcap limit for defrag is reached and no tracker
could be picked up. Apply policy to the packet.
could be picked up. **Policy can only be applied to the packet.**
* - app-layer
* - app-layer
- error-policy
- error-policy
- Apply policy if a parser reaches an error state. Apply policy to the
- Apply policy if a parser reaches an error state. Policy can be applied to packet and/or flow.
packet and flow.
To change any of these, go to the specific section in the suricata.yaml file
To change any of these, go to the specific section in the suricata.yaml file
(for more configuration details, check the :doc: `suricata.yaml's<suricata-yaml>`
(for more configuration details, check the :doc: `suricata.yaml's<suricata-yaml>`