crowdsec: host sshd + Gitea logs, nftables firewall bouncer (SSH bans only for now), weekly hub update
- crowdsec image -> latest-debian (journalctl); reads host journal (sshd) and Gitea's log file (LePresidente/gitea); LAPI on 127.0.0.1:8080 - gitea also logs to /data/gitea/log/gitea.log (router lines console only) - host: crowdsec-firewall-bouncer-nftables from packagecloud any/any, own nft tables on input+forward hooks; limited to local ssh detections and manual bans until crowdsec_firewall_all_decisions - weekly cscli hub update/upgrade + SIGHUP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fa0060523f
commit
41e9428412
10 files changed
+128
-5
No files matched your search
@@ -1,4 +1,5 @@
|
||||
BOUNCER_KEY_caddy={{ vault_crowdsec.bouncer_key }}
|
||||
BOUNCER_KEY_firewall={{ vault_crowdsec.firewall_bouncer_key }}
|
||||
# CrowdSec console (app.crowdsec.net): enrolls on start; accept it in the console once.
|
||||
ENROLL_KEY={{ vault_crowdsec.enroll_key }}
|
||||
ENROLL_INSTANCE_NAME=cogitator-01
|
||||
|
||||
Reference in new issue
Block a user