Hello everyone ! I want to create my own firewall with a raspberry pi 4, and I thought why not use crowdsec ? So I have install it with apt-get (on kali linux my favorite) no problem. But when I want to start it, it display me this :
Job for crowdsec.service failed because the control process exited with error code.
See "systemctl status crowdsec.service" and "journalctl -xeu crowdsec.service" for details.
And when I try to use the cscli :
cscli decisions list
FATA[25-02-2022 09:26:46 AM] Unable to list decisions : performing request: Get "http://127.0.0.1:8080/v1/alerts?has_active_decision=true&include_capi=false": could not get jwt token: Post "http://127.0.0.1:8080/v1/watchers/login": dial tcp 127.0.0.1:8080: connect: connection refused
Also for add machine :
sudo cscli machines add -a
FATA[25-02-2022 09:28:19 AM] unable to create new database client: failed creating schema resources: sql/schema: invalid type "INTEGER" for column "events_count"
Can you help me please ?