Out of curiosity, is there any update here? I cannot yet find an official package/plugin in the repo, can I?And can I (later) use CrowdSec next to surricata as an IPS system or am I mixing things up here?
me@OPNsense:/tmp % sudo pkg add crowdsec-1.2.3_1.txzPassword:Installing crowdsec-1.2.3_1...Extracting crowdsec-1.2.3_1: 100%=====Message from crowdsec-1.2.3_1:--crowdsec is installed.You need to check/edit the following files in /usr/local/etc/crowdsec as described in https://doc.crowdsec.net/docs/configuration/crowdsec_configuration - config.yaml: main configuration - acquis.yaml: where to find logs to parse (this port does not include automatic discovery of the running services) - profiles.yaml: remediation policies (ban, duration, etc)Then you can enable the daemon via sysrc and run it.# sysrc crowdsec_enable="YES"crowdsec_enable: NO -> YES# service crowdsec start-------me@OPNsense:/tmp % sudo pkg add crowdsec-firewall-bouncer-0.0.22_1.txzInstalling crowdsec-firewall-bouncer-0.0.22_1...Extracting crowdsec-firewall-bouncer-0.0.22_1: 100%=====Message from crowdsec-firewall-bouncer-0.0.22_1:--crowdsec-firewall-bouncer is installed.The bouncer should register itself but you may want to check theconfiguration file, which is now in /usr/local/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml(for consistency with the other platforms).In previous versions, the configuration was in /usr/local/etc/crowdsec-firewall-bouncer, you may needto check if you made any changes there.This package depends on the Packet Filter service.To make sure it's active:----------# sysrc pf_enable=YESpf_enable: NO -> YES# service pf startEnabling pf.----------Add the following in /etc/pf.conf to create the firewall tables and rules:----------anchor crowdsec----------To apply the file:# pfctl -f /etc/pf.confThen activate the bouncer via sysrc and run it:----------# sysrc crowdsec_firewall_enable="YES"crowdsec_firewall_enable: NO -> YES# service crowdsec_firewall start------------------------me@OPNsense:/tmp % sudo pkg add os-crowdsec-0.0.3.txzInstalling os-crowdsec-0.0.3...Extracting os-crowdsec-0.0.3: 100%Stopping configd...doneStarting configd.Migrated OPNsense\CrowdSec\General from 0.0.0 to 0.0.2Reloading plugin configurationConfiguring system logging...done.Reloading template OPNsense/CrowdSec: OKExecute error
Upgraded the firewall today from 21.7.8 to 22.1The cowdsec plugin appeared as misconfigured, after a "resolve confilcts" action it is now in an orphaned state. The reason given is "unknown-repository". Is there a way to re-add the repository to solve, or is it a re-installation, but I imagine the id on the crowdsec console will need to change.