Project

General

Profile

Security #8991 » test.yaml

Jason Ish, 08/31/2026 11:12 PM

 
# SURI-02 characterization test.
#
# This documents CURRENT behavior on affected builds and therefore PASSES on them.
# It is written this way so it can be merged without breaking CI.
#
# To convert it into a post-fix regression test, swap the two counts below:
# sid 9100001 becomes count 1 (the request the endpoint executed is inspected)
# http.url /benign-aaaaaa becomes count 0 (the discarded request is not reported)
#
# The capture is a real bidirectional exchange against a Linux 6.8 endpoint with
# net.ipv4.tcp_timestamps=1. The server returned HTTP 200 for /primer and for
# /malicious-xxx, and never parsed /benign-aaaaaa.

pcap: EXACT3.pcap

args:
- -k none

checks:
# Affected behavior: the request the endpoint actually executed is NOT inspected.
- filter:
count: 0
match:
event_type: alert
alert.signature_id: 9100001

# Affected behavior: Suricata reports a request the endpoint discarded via PAWS.
- filter:
count: 1
match:
event_type: http
http.url: "/benign-aaaaaa"

# Affected behavior: no timestamp event is raised for the stale segment.
- filter:
count: 0
match:
event_type: alert
alert.signature_id: 9100002
(5-5/6)