Some BunnyCDN IP address are blocked

guess it also good to know about these, we can work on adding them ourside

https://bunnycdn.com/api/system/edgeserverlist
https://bunnycdn.com/api/system/edgeserverlist/IPv6

so a little helper script

OUTPUT="/etc/crowdsec/capi-whitelists.yaml"
echo "ips:" > $OUTPUT
curl -H "Accept: application/json" https://bunnycdn.com/api/system/edgeserverlist | jq -r '.[]' | while read -r ip; do echo "  - $ip" >> $OUTPUT; done

if you want ipv4 and ipv6

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