fix(fed): sanitize peer rows, cap peer bytes, add --peer-blocklist
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 24s
CI / Tests (Linux, race detector) (push) Successful in 34s
CI / Dependency audit (push) Successful in 14s
Release / Plan (reuse the published image?) (push) Successful in 3s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 13s
Release / Gitea release (push) Successful in 4s

Peer events and summary rows are rebuilt from validated fields (address,
country code, category) and the forged/unban flags from peers are
ignored. The live relay drops a peer that exceeds about 1 MB/s, also
within a single window. --peer-blocklist=off keeps the hub's blocklist
to local observations. UI polish: plural forms, blocklist preview and
downloads follow the active slice, compact IP cards on phones. Docs for
the 1.1.0 interface.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-14 18:10:54 -03:00
1 parent f4b295f582
commit 783b0cba3e
31 files changed
+355 -127

No files matched your search

+6
View File
@@ -412,6 +412,12 @@ aside#detail li { overflow-wrap: anywhere; margin-bottom: 2px; }
table.stack td::before { content: attr(data-label); color: var(--ink-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; flex: none; }
table.stack td > * { min-width: 0; }
table.stack td.nw, table.stack td.nw * { white-space: normal; }
table.stack tr.row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 8px 10px; margin: 6px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); }
table.stack tr.row td { display: block; text-align: left; min-width: 0; padding: 0; }
table.stack tr.row td::before { display: block; margin-bottom: 0; }
table.stack tr.row td:first-child { grid-column: 1 / -1; font-weight: 600; }
table.stack tr.row td:first-child::before { display: none; }
table.stack tr.row td:nth-child(4), table.stack tr.row td:nth-child(5) { grid-column: 1 / -1; }
.origin { max-width: none; white-space: normal; }
.kv { grid-template-columns: 1fr; gap: 0; }
.kv dt { margin-top: 8px; }