• Joined on 2026-04-19
mnovak pushed to main at mnovak/Pictor-public 2026-11-16 12:57:56 +01:00
3e3af33b66 [repo] Init: MPL-2.0 licence and .gitignore
mnovak created repository mnovak/Pictor-public 2026-11-16 12:50:45 +01:00
mnovak commented on issue mnovak/Amicitia-Tabellarius#8 2026-11-16 11:40:50 +01:00
Deploy: NixOS module with non-logging reverse proxy; container image

NixOS module and VM test merged as 0e6be382803367f19a831cd90d32108175bb69b3 (PR #17), not evaluated yet (no Nix on the machine it was written on). Open until nix flake check passes and the…

mnovak closed pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:50 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)
mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:49 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Merged into main with --no-ff as 0e6be382803367f19a831cd90d32108175bb69b3 (remote hash verified). The self-review is review 380 on this PR.

mnovak pushed to main at mnovak/Amicitia-Tabellarius 2026-11-16 11:40:48 +01:00
0e6be38280 [relay] F23: merge feature/home-relay — quotas, NixOS module (unrun), VM test (unrun)
0fbcb34b53 [deploy] F23: the README says the module and its VM test have not run yet
dd576f9feb [relay] F23: quotas (507), a NixOS module behind Caddy with TLS and no logs, and a VM test that no address is kept
Compare 3 commits »
mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q7 — test honesty. The test greps for the client's address after a session with successes, refusals (404, 400) and a 507. It has no positive control: if the grep could never match (a wrong interface, a different address format), it would pass vacuously. A control that turns Caddy's log on and expects a match is the next thing to add when it first runs on Linux.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Adversarial self-review — F23, the home relay

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q6 — defence in depth. IPAddressDeny=any + IPAddressAllow=localhost: even a compromised relay process cannot open a connection to anywhere but loopback. With DynamicUser, ProtectSystem=strict and the rest. Unrun (see Not verified).

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q1 — privacy: 507 after the token. A per-mailbox 507 before the token check would tell anyone who knows a mailbox id that it is busy. The planted bug the mailbox cap checked before the token proves the test sees it.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q2 — expired invites do not count. The hourly purge removes them later. Counting them would let an hour of spam block new invites longer than the 7-day rule says. A planted bug proved the test.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q3 — protocol change: a new status, 507. No new field, nothing new stored. Old clients see a non-2xx, which they already treat as try again later. Documented with date and reason, as CLAUDE.md section 3 asks. Abuse is bounded, not prevented: a flood can still fill the caps. Proof of work or invite-only mailbox creation is for a later protocol version.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q5 — the relay never learns who connected. Caddy adds X-Forwarded-For by default; it and X-Real-IP and Forwarded are removed. The relay logged nothing anyway; now it does not even receive the address. Not tested: the VM test checks logs, not headers. A header check would need the relay to echo headers, which it must never do.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:32 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)

Q4 — no log at all from Caddy. Not access log off, errors on: Caddy's TLS-handshake and upstream errors can carry a client address. The cost is that an operator debugging a problem must switch logging on, and the README says what that writes.

mnovak pushed to feature/home-relay at mnovak/Amicitia-Tabellarius 2026-11-16 11:40:31 +01:00
0fbcb34b53 [deploy] F23: the README says the module and its VM test have not run yet
mnovak created pull request mnovak/Amicitia-Tabellarius#17 2026-11-16 11:40:31 +01:00
[relay] F23: quotas (507), NixOS module behind Caddy with TLS and no logs, VM test (unrun)
mnovak pushed to feature/home-relay at mnovak/Amicitia-Tabellarius 2026-11-16 11:39:27 +01:00
dd576f9feb [relay] F23: quotas (507), a NixOS module behind Caddy with TLS and no logs, and a VM test that no address is kept
mnovak created branch feature/home-relay in mnovak/Amicitia-Tabellarius 2026-11-16 11:39:27 +01:00
mnovak pushed tag v0.8.0 to mnovak/FiscusPublic 2026-11-16 03:17:58 +01:00
mnovak merged pull request mnovak/FiscusPublic#10 2026-11-16 03:17:56 +01:00
[ledger] Shared projects: project.shared and project.unshared, one budget at a time; v0.8.0