How to do without a service key and HTTP value?
Hello, I’m facing an issue: I have a LAMP server (Apache + PHP) on which I have two bouncers (PHP and iptables). I have CrowdSec installed with AppSec, and I also installed ModSecurity to strengthen detection, along with the ModSecurity collection to combine the two solutions.
I configured the iptables bouncer with
scenarios_not_containing: ["http"]
so that only the PHP bouncer can handle HTTP blocking. However, this does not work when a ModSecurity scenario is triggered.
After investigating, I found the reason: when I inspect the scenario in detail, I notice that the service key with the value http is missing (or something else, I’m not sure if it should be there). Consequently, I cannot make it so that this is handled by the PHP bouncer.
Do you have any idea how to work around this problem? Or is there nothing that can be done?5 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
example :
this is purely based on the scenario name (
crowdsecurity/modsecurity
) itself, and its an array so you can define multiple like:
Ohhh, sorry then. I thought it was coming from the service label in the scenarios.
thx
Resolving How to do without a service key and HTTP value?
This has now been resolved. If you think this is a mistake please run
/unresolve