Crowdsec is now stable so this issue is solved for the moment ^^
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu/var/log/nginx/permanentban.access.log
that is deleted/recreated to often and crowdsec seems to wait for it and ... finally the reader died for the nginx directoryexclude_regexps:
- permanentban*
/usr/local/etc/crowdsec/acquis.yaml
cscli parsers inspect crowdsecurity/nginx-logs
and it looks like metrics are right, running the command multiple times doesn't show hits/parsed number increasing at all, and files <nginx>.access|error.log are still logging new lineslevel=warning msg="file reader died : Failed to detect creation of /var/log/nginx/permanentban.access.log: \"/var/log/nginx/latest.log\": open /var/log/nginx/latest.log: not a directory" tail=/var/log/nginx/permanentban.access.log type=file
but I did exclude /var/log/nginx/latest.log from config:~ # cat /usr/local/etc/crowdsec/acquis.yaml
filenames:
- /var/log/nginx/*.error.log
- /var/log/nginx/*.access.log
#this is not a syslog log, indicate which kind of logs it is
labels:
type: nginx
---
filenames:
- /var/log/auth.log
- /var/log/syslog
labels:
type: syslog
---
filenames:
- /var/log/httpd-access.log
- /var/log/httpd-error.log
labels:
type: apache2
/usr/local/sbin/dnsmasq --rebind-localhost-ok --stop-dns-rebind -H /var/etc/dnsmasq-hosts --port=5353 ...
Quote from: franco on February 01, 2022, 01:33:21 PM
More places nobody reads proactively and complains about documentation quality when things went wrong. Yay! :)
Quote from: nivek1612 on January 31, 2022, 04:48:37 PM
If I add this mac address to the VLAN parent interface as well I get an IP address and all is working well.
Quote from: nivek1612you won't believe this. turned on capture. re saved WAN. now its shows an IP
Quote from: franco on January 31, 2022, 01:08:42 PM
nemric: in your case the discover is never answered. have you had your VLAN parent assigned and enabled? it looks like the outgoing package is never received by the other end.