Docs menu
Switch to enforce
Every install starts in monitor mode: requests are labeled and counted, and nothing is blocked until you change mode to enforce in agents.yaml.
Before you enforce, read Checks to run against real traffic. It lists what the verifier has not yet seen in real traffic, starting with what could cause false claimed_failed results, the verdict policies block on, and what to look for in your own counts.
- Watch first. Run in monitor mode for at least a week. Look at the counts for each operator.
- A high
claimed_failedshare for an operator that should be legitimate usually means its IP list is stale, or your proxy settings are wrong. It rarely means spoofing. - Also look at
proxySuspect, at decisions markedguarded, and at the items in real-traffic-checks.md.
- A high
- Run doctor against production and fix every failure (Check with doctor).
- Enforce one rule at a time.
- Set
mode: enforce, and addmonitor: trueto every path rule you are not yet sure of. Those keep recording what they would do. - Remove the flags one by one.
- Leave
unknown_automationatallowunless you have a specific reason.
- Set
- Keep the guard on.
guards.search_engines: protectkeeps verified search engines reachable whatever the rules say. It also stops failed search-engine claims from being blocked until this server has seen a verified request from that operator. - Know the kill switches.
- Setting
POSTERNA_MODE=monitoron the server stops all enforcement at the next start. - The dashboard can switch a site to monitor remotely. That switch can only turn enforcement off, never on.
- Posterna also suspends enforcement on its own in two cases: when most requests look internal (a proxy setting is missing), and per operator when half of its IP-checked claims fail (the breaker).
- Setting
The policy file reference explains the guard, the breaker, the kill switches and the proxy guard in full.