GitHub issue crowdsec_manager #139, opened by
fklnc94on GitHub
Hi, and thanks for CrowdSec Manager.
I run it in a split setup: CrowdSec and the manager on one Docker host, Traefik, Pangolin and Gerbil on another. While setting that up I found several bugs and fixed them on a fork.
- Each fix is its own commit with tests: Go tests against a fake Docker Engine API, and vitest for the UI.
- In #69 you asked to discuss large changes first, so I’d like to ask how you want to receive these before opening more PRs.
Already opened: #138 builds with Go 1.27.1 and updates golang.org/x/crypto, x/net and x/text.
- It fixes CVE-2025-68121 (critical,
crypto/tls) and the rest of Trivy’s findings for the image: 1 critical and 38 high become 0. - It is small and does not depend on anything below.
Bugs that affect every installation
- Simulation mode does not work.
cscli simulation status -o jsonprints text, so the page always shows global simulation as disabled and lists no scenarios.- The global switch sends the scenario name
*, which cscli does not know. - Toggling a scenario does not reload CrowdSec, so CrowdSec keeps applying its decisions.
- An unknown scenario reports success.
- Changes that only take effect after a restart.
- Whitelist and captcha profile changes run
cscli parsers reloadandcscli profiles reload. Neither command exists; they exit 1 and the error is ignored. POST /api/hub/:category/installand/remove,POST /api/hub/upgradeand config snapshot restores don’t reload …
- Whitelist and captcha profile changes run
Discuss it here. Status, fixes and code review stay on GitHub.