C
CrowdSec7mo ago
XTROIL

Bouncer unknown version?

Hey, I'm getting unknown version for the firewall bouncer, any idea why?
No description
7 Replies
CrowdSec
CrowdSec7mo ago
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
blotus
blotus7mo ago
Can you show the output of cscli bouncers list ?
XTROIL
XTROILOP7mo ago
I currently have
────────────────────────────────────────────────────────────────────────────────────────────────
Name IP Address Valid Last API pull Type Version Auth Type
────────────────────────────────────────────────────────────────────────────────────────────────
crowdsec-firewall-bouncer ✔️ api-key
crowdsec-firewall-bouncer-iptables ✔️ api-key
────────────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────────────
Name IP Address Valid Last API pull Type Version Auth Type
────────────────────────────────────────────────────────────────────────────────────────────────
crowdsec-firewall-bouncer ✔️ api-key
crowdsec-firewall-bouncer-iptables ✔️ api-key
────────────────────────────────────────────────────────────────────────────────────────────────
But I don't see them on the engine page now, I think there might be something corrupted with my installation.
systemctl status crowdsec
● crowdsec.service - Crowdsec agent
Loaded: loaded (/lib/systemd/system/crowdsec.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2025-02-11 14:58:46 IST; 54s ago
Process: 287233 ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error (code=exited, status=0/SUCCESS)
Process: 287255 ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml (code=exited, status=1/FAILURE)
Main PID: 287255 (code=exited, status=1/FAILURE)
CPU: 8.274s
systemctl status crowdsec
● crowdsec.service - Crowdsec agent
Loaded: loaded (/lib/systemd/system/crowdsec.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2025-02-11 14:58:46 IST; 54s ago
Process: 287233 ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error (code=exited, status=0/SUCCESS)
Process: 287255 ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml (code=exited, status=1/FAILURE)
Main PID: 287255 (code=exited, status=1/FAILURE)
CPU: 8.274s
blotus
blotus7mo ago
The bouncers never connected to LAPI (all the columns are empty in the table) do you see any error in /var/log/crowdsec.log ?
XTROIL
XTROILOP7mo ago
time="2025-02-11T14:50:52+02:00" level=fatal msg="local API server stopped with error: listening on 127.0.0.1:8080: listen tcp 127.0.0.1:8080: bind: address already in use"
time="2025-02-11T14:50:52+02:00" level=fatal msg="local API server stopped with error: listening on 127.0.0.1:8080: listen tcp 127.0.0.1:8080: bind: address already in use"
Guess I need to change the default port as I already have something running on 8080, will try to modify the config file.
XTROIL
XTROILOP7mo ago
Yeah changed it already and now it seems to run fine, still don't see the bouncers connect to LAPI tho, not exactly sure how to do that, I assume it's something to do with the api key you get when you add a new bouncer, I tried to register it with sudo cscli lapi register -u <key> but I'm getting some error Error: api client register: api register <> dial tcp: lookup <> on 127.0.0.53:53: server misbehaving

Did you find this page helpful?