We had a problem on our magento2 website wich use Bunny CDN to store the Files to Download.
Crowdsec is install with the cs-firewall-bouncer to drive the firewall rules.
When the firewall bouncer is started, the downloads failed.
When it is stopped it works.
I checked the ipset list and I identify 29 bunnyCDN IPs in. I remove it and it reworks with the cs-firewall-bouncer started.
I tried to make some whitelists but the ipset blacklist continue to contains the bunnyCDN IPs (and the DL failed again).
In fact the IPs are in the blacklist because there are rated with a bad reputation on Crowdsec (cf. CrowdSec Console for exemple).
Is there a way to create a whitelist which will overpass the Crowdsec blacklist ?
OUTPUT="/etc/crowdsec/capi-whitelists.yaml"
## If you want to cronjob it we always overwrite file at start
echo "ips:" > $OUTPUT
## Start of the loops
for URL in https://bunnycdn.com/api/system/edgeserverlist https://bunnycdn.com/api/system/edgeserverlist/IPv6; do curl -H "Accept: application/json" $URL | jq -r '.[]' | while read -r ip; do echo " - $ip" >> $OUTPUT; done; done