waf: run the trap paths, rule files and Core Rule Set during the GeoJS wait (closes #405) #408

Merged
clawbot merged 5 commits from issue-405-decide-beside-lookup into next 2026-11-17 06:11:53 +01:00
Showing only changes of commit 7904647254 - Show all commits
+5 -5
View File
@@ -2537,11 +2537,11 @@ body can add up to more than the body. From 1 KiB of JSON, Coraza makes at most
A request can reach all of these at once. At paranoia level 4, with no rule A request can reach all of these at once. At paranoia level 4, with no rule
switched off, the Core Rule Set takes under a second on one core of a current switched off, the Core Rule Set takes under a second on one core of a current
server to inspect it. `waf` refuses such a request after 500 milliseconds. server to inspect it. `waf` refuses it if the inspection takes over 500
Coraza cannot stop an inspection part-way, so the inspection runs to its end milliseconds. Coraza cannot stop an inspection part-way, so the inspection runs
with nobody waiting for it. These limits keep one request from holding a to its end with nobody waiting for it. These limits keep one request from
processor for more than about a second. Enough such requests at once can still holding a processor for more than about a second. Enough such requests at once
overload `waf` past `SWW_RPROXY_WAF_BACKEND_TIMEOUT_MS`. can still overload `waf` past `SWW_RPROXY_WAF_BACKEND_TIMEOUT_MS`.
### The report ### The report