Observation-only nftables table (prerouting -150, counters and a
rate-limited log, never drops or modifies), a per-minute counters file,
probe sources ingress and ingresscnt, a per-host hourly aggregate in the
hub (exact totals, sampled ports/ASNs/countries, banned share by the
hub's own ban state, no ban feedback loop), GET /api/v1/ingress, a
Defense section, doctor check, docs EN/pt-BR and tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A LambdaMail redeploy swapped rspamd and clamav addresses and the hub judged
the next minute with the stale containers.map, filing SURBL/DNS traffic under
clamav and freshclam under dns. The host kit now runs urutau-containers-watch
(docker events -> map rewrite) and the probe polls the file every 2 s.
new_geo is skipped for large CDNs/clouds: anycast addresses carry a
meaningless database country (1.1.1.1 in AU, Cloudflare edges in CA).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests started probes with a deferred cancel and never waited for Run, so a
final state write could race t.TempDir's RemoveAll ('directory not empty').
startRun now registers a cleanup that cancels and waits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The probe image linked the whole hub (24 MB uncompressed, over the 15 MB
limit). cmd/urutau-probe links only probeagent, tail and wire (6.8 MB);
'urutau probe' still works and shares probeagent.Main. The shellcheck step
bind-mounted the workspace, which the runner's DinD daemon cannot see.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each server runs an ultralight probe (scratch image, ~7 MiB RSS) that
tails the logs, ships raw lines to the hub over HTTPS with an on-disk
spool, and applies enforce decisions locally. The hub keeps one node per
probe (primary node = the 1.x data dir, unchanged), does all analysis and
serves the UI. Peer federation is removed. 'urutau import' brings 1.x
data dirs in with hash and count verification. UI: probes page, host
qualified incidents, IPs never wrap, egress heatmap labels, live and
replay globes no longer auto-rotate, replay repeat, live traffic metrics.
BREAKING CHANGE: URUTAU_PEERS, URUTAU_PEER_* and /api/v1/peer/* are gone;
log path variables move from the hub to the probe. See docs/migration-2.0.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>