fix(egress): container map refreshed on start; no new_geo for anycast CDNs (2.2.2)
CI / Format and vet (pull_request) Successful in 1m43s
CI / Dependency audit (pull_request) Successful in 39s
CI / Tests (Linux, race detector) (pull_request) Successful in 2m37s

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>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-19 15:25:23 -03:00
1 parent 87178dbc94
commit 65015158dc
17 files changed
+81 -14

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ import (
const (
chanSize = 4096
batchBytes = 128 << 10 // well under the hub limit; keeps the probe heap small
filePollEach = 10 * time.Second
filePollEach = 2 * time.Second
)
// item is what the followers and the file watcher hand to the collector.