crowdsec: update 1.0.6 - correct option to detect changes from symlinks

This commit is contained in:
Marco Mariani
2023-06-01 17:27:44 +02:00
committed by Franco Fichtner
parent 843c99f53f
commit b465377760
6 changed files with 19 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
#!/bin/sh
configctl crowdsec reconfigure
# apply new configuration immediately, don't wait for hub updates
service crowdsec reload >/dev/null 2>&1 || :
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= crowdsec
PLUGIN_VERSION= 1.0.5
PLUGIN_VERSION= 1.0.6
PLUGIN_DEPENDS= crowdsec
PLUGIN_COMMENT= Lightweight and collaborative security engine
PLUGIN_MAINTAINER= marco@crowdsec.net
+5
View File
@@ -8,6 +8,11 @@ WWW: https://crowdsec.net/
Plugin Changelog
================
1.0.6
* default acquis.d/opnsense.yaml to "poll_without_inotify=true" which is now required
to acquire content from symlinks.
1.0.5
* fix ban example
@@ -24,5 +24,9 @@ filenames:
# but the option works with both.
force_inotify: true
# this option is required from crowdsec v1.5.0 to follow
# changes in symlinks
poll_without_inotify: true
labels:
type: syslog
@@ -1,7 +1,7 @@
<model>
<mount>//OPNsense/crowdsec/general</mount>
<description>CrowdSec general configuration</description>
<version>1.0.5</version>
<version>1.0.6</version>
<items>
<agent_enabled type="BooleanField">
@@ -77,6 +77,11 @@
<p>A few remarks:</p>
<ul>
<li>
New acquisition files go under <code>/usr/local/etc/crowdsec/acquis.d</code>. See opnsense.yaml for details.
The option <code>poll_without_inotify: true</code> is required if the acquitision targets are symlinks (which
is the case for most opnsense logs).
</li>
<li>
If your OPNsense is &lt;22.1, you must check "Disable circular logs" in the Settings menu for the
ssh and web-auth parsers to work. If you upgrade to 22.1, it will be done automatically.