secubox-deb/packages/secubox-torrent/debian
CyberMind-FR 940aa64fcf feat(haproxy,torrent): declarative per-vhost waf_bypass + durable torrent exposure (ref #917)
haproxyctl: honour an opt-in `waf_bypass = true` field per vhost so the
generator emits `use_backend <backend>` (nginx_vhosts) instead of forcing
mitmproxy_inspector under waf_enabled. Makes the WAF-bypass of media/large-
upload services (nc/photoprism/matrix/torrent) declarative, auditable and
regen-durable instead of fragile hand-edits of the generated haproxy.cfg.
Normal vhosts are unaffected (verified in isolation).

secubox-torrent postinst: register torrent.<host>.<suffix> in haproxy.toml
(backend=nginx_vhosts, waf_bypass=true, ssl=true) idempotently and run a
drift-guarded `haproxyctl generate` — which refuses safely on a board that
still has un-migrated hand-edit vhosts (live cfg untouched) and succeeds on a
fresh board. Torrent bypasses sbxwaf by design, so no sbxwaf route is needed.

CLAUDE.md: WAF-bypass section updated — default stays 'never bypass'; the ONLY
sanctioned exception is the declarative waf_bypass=true in haproxy.toml, never
a hand-edit of the generated cfg.

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-28 19:38:59 +02:00
..
changelog feat(haproxy,torrent): declarative per-vhost waf_bypass + durable torrent exposure (ref #917) 2026-07-28 19:38:59 +02:00
control fix(torrent): run install-lxc.sh via bash, add secubox-hub dep, build-essential fallback (ref #917) 2026-07-28 16:10:06 +02:00
postinst feat(haproxy,torrent): declarative per-vhost waf_bypass + durable torrent exposure (ref #917) 2026-07-28 19:38:59 +02:00
postrm feat(torrent): debian packaging v2.0.0, remove Transmission (ref #917) 2026-07-28 15:51:10 +02:00
prerm feat(torrent): debian packaging v2.0.0, remove Transmission (ref #917) 2026-07-28 15:51:10 +02:00
rules feat(torrent): debian packaging v2.0.0, remove Transmission (ref #917) 2026-07-28 15:51:10 +02:00
secubox.yaml feat(torrent): debian packaging v2.0.0, remove Transmission (ref #917) 2026-07-28 15:51:10 +02:00