Files
urutau/internal/server/web/defense.css
T
Lucas RayanandClaude Sonnet 5.5 aefdcea8d2 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>
2026-11-23 09:09:16 -03:00

28 lines
1.9 KiB
CSS

/* Defense page */
.df-page { display: grid; gap: var(--grid-gap, 16px); min-width: 0; }
.df-kpis .card-metric { min-width: 0; }
.df-sum { padding: 0 0 8px; }
.df-bl { color: var(--ink-muted); font-size: .875rem; margin: 4px 0 12px; overflow-wrap: anywhere; }
.df-en { margin-top: var(--grid-gap, 16px); }
.df-en .panel { min-width: 0; }
.df-en-title { font-size: 1.125rem; margin: 0 0 4px; }
.df-mode { margin: 0 0 8px; }
.df-en-p { margin: 0 0 8px; overflow-wrap: anywhere; }
.df-en-meta { overflow-wrap: anywhere; }
.df-en-how { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--info); background: var(--info-soft); border-radius: 4px; overflow-wrap: anywhere; }
.df-en-sum { font-size: 1.0625rem; font-weight: 600; margin: 0 0 4px; overflow-wrap: anywhere; }
.df-skips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-muted); font-size: .875rem; }
.df-skips .num { font-weight: 600; color: var(--ink); }
.df-scroll { max-height: 440px; overflow: auto; }
.df-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.df-table th, .df-table td { padding: 5px var(--s-3, 10px); border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; vertical-align: top; }
.df-table th { color: var(--ink-muted); font-weight: 500; position: sticky; top: 0; background: var(--surface-panel); }
.df-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.df-act { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.df-skipwhy { color: var(--ink-muted); font-size: .75rem; }
@media (max-width: 900px) { .df-en .span-4, .df-en .span-8 { grid-column: 1 / -1; } }
.df-nowrap { white-space: nowrap; }
@media (max-width: 700px) { .df-table { min-width: 640px; } .df-table td, .df-table th { overflow-wrap: normal; } }
/* Firewall: inbound attempts */
.df-en + .df-en { margin-top: var(--grid-gap, 16px); }