CloFix Advanced Protection
Under Attack Mode, Browser Integrity Check, and sensitivity presets with challenge passage for verified clients. Runs custom WAF logic with isolated engines for precise request control.
Overview
💡 How it works: Advanced Protection evaluates browser integrity signals and the active sensitivity / Under Attack setting before the request proceeds. Missing browser headers or Under Attack Mode send HTML navigations through the JS challenge; successful clients receive a verification cookie and skip re-challenge when challenge passage is on. Excluded paths (APIs, health, dashboard) bypass these checks so machine clients on allowlisted prefixes keep working. Raise `sensitivity` or flip `under_attack on` during incidents; dial back when traffic normalizes. Manage from `/waf-dashboard/advanced` or domain `advanced_protection { }`.
Feature details
Under Attack Mode
Force JS challenge on all HTML navigations (“I'm Under Attack”) when `under_attack on` or sensitivity `under_attack`
Browser Integrity Check
Challenge or block requests missing typical browser headers (Accept-Language, Sec-Fetch-*, etc.) when enabled
Sensitivity Presets
`low` (log), `medium` (challenge), `high` (block), `under_attack` (challenge all HTML) - one toggle to raise enforcement
Challenge Passage
Skip re-challenge when a valid verification cookie is present - real users pass once and continue
Exclude Paths
Keep APIs and health checks out of integrity challenges (default `/api/,/graphql,/.well-known/,/health,/waf-dashboard,/waf-login`)
Cloudflare-Style Controls
Familiar Under Attack + integrity model for operators migrating from CDN WAFs
Works With JS Challenges
Uses the existing challenge template flow (`javascript_challenges`) for passage cookies
Dashboard
`/waf-dashboard/advanced` for live toggles and sensitivity
Per-Domain
Enable Under Attack only on the host under load without affecting other domains
Config Block
`advanced_protection { enabled on; under_attack off; browser_integrity on; sensitivity medium; challenge_passage on; exclude_paths …; }`
How CloFix WAF uses it
💡 How it works: Advanced Protection evaluates browser integrity signals and the active sensitivity / Under Attack setting before the request proceeds. Missing browser headers or Under Attack Mode send HTML navigations through the JS challenge; successful clients receive a verification cookie and skip re-challenge when challenge passage is on. Excluded paths (APIs, health, dashboard) bypass these checks so machine clients on allowlisted prefixes keep working. Raise `sensitivity` or flip `under_attack on` during incidents; dial back when traffic normalizes. Manage from `/waf-dashboard/advanced` or domain `advanced_protection { }`.
Canonical URL: https://clofix.com/features/clofix-waf/advanced-protection-engine/