--- /dev/null
+# Description
+
+Test exception policy logic for stream reassembly.
+
+DEBUG is required to enable the "eps" logic.
%YAML 1.1
---
+stats:
+ enabled: yes
+
outputs:
- eve-log:
enabled: yes
flows: all # start or all: 'start' logs only a single drop
# per flow direction. All logs each dropped pkt.
- flow
+ - stats:
+ totals: yes # stats for all threads merged together
+ threads: no # per thread stats
+ deltas: no # include delta values
action-order:
- pass
- drop
count: 1
match:
event_type: drop
- drop.reason: "stream memcap"
+ drop.reason: "stream reassembly"
- filter:
count: 28
match:
match:
event_type: flow
flow.action: drop
+ - filter:
+ count: 1
+ match:
+ event_type: stats
+ stats.ips.drop_reason.stream_reassembly: 1
--- /dev/null
+# Description
+
+Test exception policy logic for stream reassembly.
+
+DEBUG is required to enable the "eps" logic.
flows: all # start or all: 'start' logs only a single drop
# per flow direction. All logs each dropped pkt.
- flow
+ - stats:
+ totals: yes # stats for all threads merged together
+ threads: no # per thread stats
+ deltas: no # include delta values
count: 1
match:
event_type: drop
- drop.reason: "stream memcap"
+ drop.reason: "stream reassembly"
- filter:
count: 28
match:
match:
event_type: flow
flow.action: drop
+ - filter:
+ count: 1
+ match:
+ event_type: stats
+ stats.ips.drop_reason.stream_reassembly: 1
--- /dev/null
+# Description
+
+Test exception policy logic for stream reassembly.
+
+DEBUG is required to enable the "eps" logic.
flows: all # start or all: 'start' logs only a single drop
# per flow direction. All logs each dropped pkt.
- flow
+ - stats:
+ totals: yes # stats for all threads merged together
+ threads: no # per thread stats
+ deltas: no # include delta values
count: 1
match:
event_type: drop
- drop.reason: "stream memcap"
+ drop.reason: "stream reassembly"
- filter:
count: 0
match:
match:
event_type: flow
flow.action: drop
+ - filter:
+ count: 1
+ match:
+ event_type: stats
+ stats.ips.drop_reason.stream_reassembly: 1