Find settings for CrowdSec

NethServer Version: Nethserver 8
Module: CrowdSec 1.0.12

Where does the config file / YAML locate so I can edit the settings so instead of adding a few minutes each time it blocks after 3 tries for like 7 days or more.
Right now I’m getting mail from the same IP trying and CrowdSec just blocks by increasing the time all the time.

I have try both find and locate but I can’t find http-bf.yaml

The configuration files are located in the /var/lib/nethserver/crowdsec1/state/crowdsec-config

Enter app environment:

runagent -m crowdsec1

Edit config file:

nano crowdsec-config/config.yaml

To find files:

I think it’s http-generic-bf.yaml but I’m not sure.

root@strato:/var/lib/nethserver/crowdsec3/state# find crowdsec_config/ -iname *http*bf*
crowdsec_config/hub/scenarios/crowdsecurity/http-bf-wordpress_bf.yaml
crowdsec_config/hub/scenarios/crowdsecurity/http-generic-bf.yaml
crowdsec_config/scenarios/http-bf-wordpress_bf.yaml
crowdsec_config/scenarios/http-generic-bf.yaml
1 Like

Thanks.

1 Like