Need help installing CrowdSec
I have installed crowdsec as per the doc on an Ubuntu 24 machine:
curl -s https://install.crowdsec.net | sudo sh
sudo apt install crowdsec
sudo apt install crowdsec-firewall-bouncer-iptables
(rest in comment, too long~!)3 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve© Created By WhyAydan for CrowdSec ❤️
Then, as I run CADDY, in DOCKER, I added:
cscli collections install crowdsecurity/caddy
sudo systemctl reload crowdsec
And then:
in other words.. I am confused:
- it not only does not see the caddy logs,
- it also removed the previously seen syslog
- the DOC says I should create a /etc/crowdsec/acquis.d/NAME.yaml file with contents like:
(I saw that only by accident in some doc thanks to GPT)
I did that.
Note, yes my logs of caddy, even if a docker image, are on the host, and they are readable by root of course.
I then deleted the caddy.yaml, then sudo systemctl reload crowdsec and cscli metrics show acquisition... and
So, I am totally lost.
Why is the aquisition appearing, when I delete the file, and disappearing when I add it?!
I think it’s solved
It needed some patience - the bucket is filling up!Resolving Need help installing CrowdSec
This has now been resolved. If you think this is a mistake please run
/unresolve