feat(ingress): firewall telemetry of inbound attempts (host kit --ingress)
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>
This commit is contained in:
1 parent
4143bf599e
commit
aefdcea8d2
40 files changed
+1684
-11
No files matched your search
@@ -73,6 +73,8 @@ A sonda roda em cada servidor monitorado. Não abre porta: segue os arquivos de
|
||||
| `--fail2ban-log` | `URUTAU_FAIL2BAN_LOG` | `/logs/host/fail2ban.log` | log do fail2ban; vazio desliga |
|
||||
| `--probe-log` | `URUTAU_PROBE_LOG` | `/logs/host/probe.log` | log do kernel de conexões a portas sem serviço |
|
||||
| `--egress-log` | `URUTAU_EGRESS_LOG` | `/logs/host/egress.log` | log do kernel de novas conexões de saída |
|
||||
| `--ingress-log` | `URUTAU_INGRESS_LOG` | `/logs/host/ingress.log` | log do kernel amostrado de novas tentativas de entrada (kit do host `--ingress`) |
|
||||
| `--ingresscnt-log` | `URUTAU_INGRESS_COUNTERS` | `/logs/host/ingress.counters` | contadores exatos de entrada, uma linha por minuto |
|
||||
| `--egress-containers` | `URUTAU_EGRESS_CONTAINERS` | `/logs/host/containers.map` | mapa `"<ip> <contêiner>"`, enviado inteiro quando muda |
|
||||
| `--resolv` | `URUTAU_RESOLV` | `/etc/resolv.conf` (o do host, montado) | lista de resolvedores, enviada inteira quando muda |
|
||||
| `--enforce-log` | `URUTAU_ENFORCE_LOG` | `/logs/enforce/decisions.log` | onde as decisões de ban são acrescentadas; vazio ignora comandos de ban |
|
||||
|
||||
Reference in new issue
Block a user