admin
7465713a2f
@
v0.129.0: CAMPAIGN-4 fixes — rate-limiter key (F-B) + volume-blind estimate (F-A) + no-op claim status (F-C)
F-B (MED, security): shared clientIP(r) helper (XFF first-hop, else SplitHostPort
host, else raw) replaces requestIP + the duplicated inline derivation in handleLogin,
so login AND escrow re-auth key on the port-stripped host IP — distinct direct
connections no longer evade the failed-attempt counter. XFF-trust out of scope (commented).
F-A (MED, honesty): volumeSizer seam reads volume size from a container view
(docker run --rm -v vol:/vol:ro alpine du -sb /vol), replacing the host-path du that
returned 0 inside the containerized controller. Failed read -> size_unknown +
fits_on_dest forced false (never "fits"). Export pre-flight hard-aborts only on a
KNOWN doesn.t-fit. HDD branch unchanged.
F-C (LOW-MED): escrowClaimAPIHandler relays agent 404 -> clean 404 and 409 -> 409;
410 and genuine-unreachable 502 unchanged (was: 404 fell through to 502).
Tests + red-proofs: ratelimit_ip_test.go (F-B x6), estimate_volsize_test.go (F-A x3),
TestEscrowClaim_ProxySemantics +3 (F-C). Alpine busybox du -sb verified prod-valid.
Claude-Session: https://claude.ai/code/session_01LbMm4T7Ayzs1unB9pN6Uqd
@
2026-07-14 09:52:11 +02:00
..
2026-07-13 19:01:31 +02:00
2026-07-11 21:12:48 +02:00
2026-06-14 21:58:49 +02:00
2026-07-14 09:52:11 +02:00
2026-02-26 21:20:09 +01:00
2026-07-13 08:27:52 +02:00
2026-06-30 21:49:47 +02:00
2026-06-29 21:45:57 +02:00
2026-02-26 21:20:09 +01:00
2026-07-12 18:42:39 +02:00
2026-02-25 13:39:45 +01:00
2026-06-26 10:28:58 +02:00
2026-02-26 21:20:09 +01:00
2026-07-11 16:45:57 +02:00
2026-06-29 13:13:40 +02:00
2026-07-10 15:43:29 +02:00
2026-06-13 15:38:40 +02:00
2026-07-12 10:08:39 +02:00
2026-07-09 23:58:30 +02:00
2026-06-22 23:34:33 +02:00
2026-02-21 12:33:17 +01:00
2026-07-13 19:01:31 +02:00
2026-07-12 10:07:47 +02:00
2026-06-10 13:57:27 +02:00
2026-07-11 15:03:41 +02:00
2026-07-12 18:42:39 +02:00
2026-07-02 14:38:51 +02:00
2026-07-12 10:07:47 +02:00
2026-07-06 14:05:12 +02:00
2026-07-11 21:12:48 +02:00
2026-07-11 15:03:41 +02:00
2026-07-14 09:52:11 +02:00