A CrowdSec Bouncer that syncs the decisions made by CrowdSec with CloudFlare's firewall. Manages multi user, multi account, multi zone setup. Supports IP, Country and AS scoped decisions.
the .Run method of go-cs-bouncer doesn't Fatal upon initialization failure (this failure would namely happen if the LAPI cannot be reached or cannot authenticate to LAPI).
The reason for this change is to allow bouncers/IPS to take advantage of defer statements for cleanup.
You can see reflected change in firewall-bouncer that uses this new version :
Hello,
A significant change was made in go-cs-bouncer (commit : https://github.com/crowdsecurity/go-cs-bouncer/commit/5aef3b37e4fe6ba2e3b16432bde3f24b58d4a4d0)
the
.Run
method of go-cs-bouncer doesn'tFatal
upon initialization failure (this failure would namely happen if the LAPI cannot be reached or cannot authenticate to LAPI).The reason for this change is to allow bouncers/IPS to take advantage of
defer
statements for cleanup.You can see reflected change in firewall-bouncer that uses this new version :