how to ban an IP or IP list permanently ?

Hi,

I’m looking for a way to ban an IP or possibly a list of IPs with unlimited duration.
The only way I found for the moment is to define a ban manually with cscli decisions add --ip x.x.x.x --duration 999999m

Hello,

Currently, it is not possible to perma ban IP with crowdsec. If you need IPs to be ban permanently, i would suggest you to create new set in your ipset (not the one used by crowdsec), and add the IPs you want to perma ban inside.

1 Like