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>
15 lines
401 B
Desktop File
15 lines
401 B
Desktop File
[Unit]
|
|
Description=Urutau: inbound attempts observation (nftables, counters and log only)
|
|
After=network-online.target docker.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/sbin/nft -f /etc/urutau/ingress.nft
|
|
ExecStartPost=-/usr/local/sbin/urutau-ingress-tick
|
|
ExecStop=/usr/sbin/nft delete table inet urutau_ingress
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|