CrowdSec

C

CrowdSec

CrowdSec: IDS/IPS/WAF Community

Join

CrowdSec blocking googlebot SEO crawler

Hello, I made a topic on crowdsec forum, for faster answer I post here too. I apologize. I noticed that Crowdsec is repeatedly blocking legitimate traffic from Googlebot (from IP address 66.249.64.165), which is negatively affecting our SEO. This IP is confirmed to be part of Google’s crawler range. ...

Multi-SERVER - Problem with an agent with 2 IPs

Hello, I currently have a main server that receives alerts from the other servers, but I have a server that has 2 IPv4 addresses, but sometimes it types with its last IP address, so I get an error: bad user agent from: X.X.X.X Is there a solution to this problem?...

Handle PersistentVolume for multiple LAPI replicas in Kubernetes environment

Hello, I deployed Crowdsec on our Kubernetes cluster and I want it to be High Available if one lapi pods comes to fall. So in the helm values I set lapi.replicas=3, and lapi.strategy.type=RollingUpdate. But when 3 lapi pods are being created, one succeeds and the two other fail because they can't be attached to the same volume....

how to ban those

hi, sorry im newbie from crowdsec may i ask how to ban those inject?
No description

Opnsense reporting only "Unknown Behavior" in console Remediation Metrics

I'm trying to understand why my cs-firewall bouncer on my opnsense is not reporting correctly to the console. When I look at the detail of "Unknown Behavior" I can see "Attacker's intent cannot be detected with your remediation component (bouncer) configuration." but I've found pretty much nothing in the docs regarding this kind of problem, I see a lot of prevented attacks but it looks like the classification or category data of why it's been blocked doesn't work. Does someone have any idea where I should look ? My bouncer config looks good as far as I can tell.. Thanks!...

Pocket-Id Scenario

Hey, I’d like to create a scenarios for Pocket Id that would ban a user trying to access a ressource that is forbidden. Problem is I see the logs are multi-line. ...

NGinx bouncer / appsec / no remediation

Hi, If I have a website behind Cloudflare and I'm using the crowdsec-cloudflare-worker bouncer, do I still need to use the NGINX bouncer? ...

Rate limits on firewall integrations?

Hey @CrowdSec ! We recently subscribed to an Enterprise plan and had some questions about API rate limits against the central dashboard. We have a scenario where we will be hosting 1 integration for Fortigate firewalls that all of our firewalls in the field (300+) will use as active Threat Feeds. I also had to break up the feeds into 6 separate files to limit the number of entries in each list using the URL filtering your docs provided. ALSO we have 2 WAN connections at every site so it's possible that the amount of calls will be DOUBLED Is there any problem with this?...

how do I use the BOUNCER_KEY_<name>=<key> ?

As outlined in the docu:
With TLS authentication: Bouncers are automatically registered and don't need an API key. The bouncers' names are derived from the IP address from which they connect.
So my question, do I still need to define it in docker-compose somewhere?...

Does my Crowdsec block correctly?

Hello so I am really sorry but I am quite new to this and did read a lot through the documentation, but just based on the provided documentation I am not quite sure yet if I did set everything up correctly now and if Crowdsec is correctly banning untrusted IPs. I previously used Zoraxy, but because of Crowdsec I just switched to plain nginx now (I know NGINX Proxy Manager exists, but I wanted to use NGINX) ...

Migrating LAPI from Docker to Opnsense

I am wanting to migrate my LAPI from Unraid running as a docker to my Opnsense box. Currently I have the LAPI running on docker and it is connected to the NPMPlus nginx container with its bouncer and also linked to my opnsense firewall as a bouncer. I also registered the opnsense crowdsec instance as a machine on the docker lapi. The issue is, whenever the unraid server is down I cannot manage my blocklists/decisions for obvious reasons. I have not attempted the migration yet as I want to make sure I have the right idea before blowing everything up. ...

the list/decisions for ssh:bruteforce are not available on a standard query

using a Grafana Dashboard I noticed this significant rise in the list size for ssh:bruteforce to 15665, but, i cannot find the matching count of IPs from the API ``` 2 'scenario': 'crowdsecurity/CVE-2017-9841', 2 'scenario': 'crowdsecurity/http-admin-interface-probing', 20 'scenario': 'crowdsecurity/http-bad-user-agent',...
No description

Whitelisting specific IPs based on a file

Hi! We're having some trouble with a custom whitelist setup. Basically this is what we have: ```name: <company-name>/custom-whitelist...

Service machine won't connect to LAPI

Hi all Here the setup: Standalone Crowdsec server: This server is the LAPI which should take in logs from services, and take decisions from the logs. NGINX Reverse Proxy: Has bouncer which is connected successfully to the LAPI, but when i run the crowdsec service on this machine and point it to the LAPI, i get this error when it tries to boot the crowdsec service. The NGINX reverse proxy and the crowdsec services run in docker. It's the NPMPlus package, that has crowdsec built in. ...

Notification - traefik router name

Hello, does anyone know how I can extract the value of the alerts key "traefik_router_name" and put it in the notification message? My current settings are like this:...

CrowdSec not reacting to .git scans

Hello, I have an IP address that's hitting my .git, but the problem is that CrowdSec isn't detecting it, even though I believe I have the correct parsers and scenario apache2-logs/http-sensitive-files. Do you have any idea why? log :
213.209.143.144 - - [21/Apr/2025:09:00:47 +0200] "GET /.git/objects/*/* HTTP/1.1" 404 48685 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"
213.209.143.144 - - [21/Apr/2025:09:00:47 +0200] "GET /.git/objects/*/* HTTP/1.1" 404 48685 "-" "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"
...
No description

No decisions are made when testing with nikto on Kubernetes

I know it should be because at one point it worked but I had other issues with it not getting the correct X-Forward-IP. That works now but decisions are no longer being made. Working with Kubernetes: ```yml apiVersion: traefik.io/v1alpha1...
No description

Services with internal subdomain get blocked with Traefik bouncer

Hi, I need some guidance. I have setup Traefik in Docker with services reachable with an internal subdomain, for example heimdall.domain.com. Heimdall is running in a Proxmox LXC with IP address 192.168.30.30. I have setup the fbonalair/traefik-crowdsec-bouncer in Docker....

cloudflare bouncer

i've installed the cloudflare bouncer, however the container immediately dies. i am not sure what you need? i don't know where to find logs

csLapiSecret and registrationToken injection from k8s secret impossible

Hello, I deployed Crowdsec using helm chart in 0.18.1 version, and I want to make my agents register to my LAPI with the csLapiSecret and the registrationToken. Both fields are present in the helm values. In order not to hardcode them in values, I wanted to inject the content of a k8s secret in the LAPI container environment variables but it doesn't work....