postoverflows and 1.6.10
Have been trying to figure out why my custom postoverflow doesn't work on 1.6.10. It shows in the log as being loaded (as it does in 1.6.9) but doesn't have any effect or debug output.
I've noticed that the 1.6.10 container by default includes CDN and SEO whitelist nodes but don't see how those could interfere.
7 Replies
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 ❤️
if you could provide some information / maybe even the snippet of the postoverflow like:
- File location
- Logs
- Do you see any debug if you set
debug: true
within the yamlin the log I can see the postoverflow and debug being enabled, but it never produces any debug output:
the postoverflow itself is very simple, essentially:
it has a filter that scopes it to certain scenarios, but even if I remove that completely it still isn't triggered
the logs on startup on 1.6.9 are nearly identical, but it triggers and generates debug logging:
whilst I test, if you run
cscli metrics
you dont see your postoverflow in metrics anywhere?
cause on my 1.6.10
it shows the postoverflows all there, however, I guess the snippet you shown was not the full file as it expects a name and description.
here my debug logs
so with
1.6.10
my postoverflow shows up in cscli metrics
but only with 1 hit/parsed@nferch if it's "just" to allow specific IP / ranges, you should have a look at the allowlist feature (via
cscli allowlists
or directly via the console). It handles expiration etc.yeah, have been meaning to look at that although my use case is a bit weird, no ban just an alert