cs-cloud-firewall-bouncer icon indicating copy to clipboard operation
cs-cloud-firewall-bouncer copied to clipboard

[go-cs-bouncer] breaking change ahead

Open buixor opened this issue 3 years ago • 0 comments

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'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 :

  • https://github.com/crowdsecurity/cs-firewall-bouncer/pull/163

buixor avatar Mar 16 '22 11:03 buixor