servewaf answers rproxy's question about each request and takes its report (closes #170) #180

Merged
clawbot merged 1 commits from issue-170-servewaf into next 2026-11-05 00:32:09 +01:00
1 Commits
Author SHA1 Message Date
sneak 872172e958 servewaf answers rproxy's question about each request and takes its report (closes #170)
check / check (push) Successful in 10m27s
`smallwebwaf servewaf` runs today's checks on the visitor's request each
question carries, answers rproxy, and passes nothing to an app. rproxy reports
every request servewaf answered. A report counts an allowed request's bytes and
writes servewaf's second log line. The table holds a copy of what a report
needs, never the request, so a report cannot reach a request being handled.

Judgement call: a question's body is read before any check; over 64 KiB gets 400.
Judgement call: a report's bytes and durations have ceilings, so they cannot overflow.
Judgement call: a `close` disposition for SWWAF_BAN_RESPONSE=close.

Model: opus-5-5
2026-11-04 23:07:20 +00:00