infra/stacks/traefik/modules/traefik
Viktor Barzin dd029ca7fb
All checks were successful
ci/woodpecker/push/default Pipeline was successful
traefik/crowdsec: switch bouncer to live mode (stream cache doesn't enforce under Yaegi)
After bumping to v1.6.0 (stream goroutine runs) and disabling redis (in-memory
cache), the plugin logs `handleStreamCache:updated` but still does NOT enforce:
a ban present in the LAPI stream AND pulled by the plugin still let the banned IP
through. Stream-mode decision matching is unreliable under Traefik's Yaegi
interpreter here. Switch crowdsecMode stream->live: the plugin queries LAPI
synchronously per request (result cached per-IP for defaultDecisionSeconds), which
enforces reliably and picks up new decisions immediately. LAPI is 3-replica +
in-cluster so per-request latency is small; fail-open preserved (updateMaxFailure=-1).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 17:49:26 +00:00
..
captcha.html traefik/crowdsec: serve Cloudflare Turnstile for captcha remediation 2026-06-19 16:38:38 +00:00
error-pages.tf traefik/error-pages: READ_BUFFER_SIZE 5KB -> 128KB — 431s for cookie-heavy users 2026-06-12 20:31:01 +00:00
main.tf traefik: bump crowdsec-bouncer plugin v1.4.2 -> v1.6.0 (fix stream not pulling) 2026-06-19 17:49:26 +00:00
middleware.tf traefik/crowdsec: switch bouncer to live mode (stream cache doesn't enforce under Yaegi) 2026-06-19 17:49:26 +00:00