waf: decide every visitor request within rproxy's timeout (closes #394) #395

Open
clawbot wants to merge 1 commits from issue-394-decide-in-time into next
pull from: issue-394-decide-in-time
1 Commits
Author SHA1 Message Date
sneak 7a627f44e1 waf: decide every visitor request within rproxy's timeout (closes #394)
check / check (push) In progress
The Core Rule Set is the one check whose time a visitor can stretch.
At paranoia level 4 it took over 2 s on a request with an 8 KiB
request line, three 8 KiB Cookie lines and a 64 KiB form body.
SWW_WAF_CORE_RULE_SET_BODY_INSPECTION_SIZE now takes at most 8K, which
brings that request under 1 s.

A test per kind of input times the Core Rule Set on the worst request
within the limits, at the slowest settings. SPEC.md lists the limits
that bound it.

Model: opus-5-5
2026-11-15 17:52:21 +00:00