Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Crashing ModSecurity 2.5.5 under Windows |
|
Author |
|
cyclone
Joined: 12 Sep 2006 Posts: 16 Location: St Louis
|
Posted: Fri 01 Aug '08 21:30 Post subject: Crashing ModSecurity 2.5.5 under Windows |
|
|
I have a set of post args and a target url that can pretty consistently crash mod security 2.5.5 on Windows. Unfortunately they are in a back office setting so I cannot expose them to the world. If I can condense it down to a simple web page form and target URL, would that be usefully in debugging/fixing the issue?
For now I get rid of 90% or more of the occurrences by commenting out this rule:
SecRule ARGS "d:/" t:normalisePathWin |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 01 Aug '08 22:09 Post subject: |
|
|
you and me both ... I had to simply almost not use
modsecurity_crs_20_protocol_violations.conf
modsecurity_crs_40_generic_attacks.conf
and weaken
modsecurity_crs_21_protocol_anomalies.conf
I press submit in YaBB Admin (perl) or a Wiki software I have (PHP) and Apache comes down like a rock, typically no errors, no events of any kind, just poof! Once I got some noise about mod_cgi.c but only once. |
|
Back to top |
|
cyclone
Joined: 12 Sep 2006 Posts: 16 Location: St Louis
|
Posted: Fri 01 Aug '08 23:09 Post subject: |
|
|
I get the same behavior, poof the server is gone. No error messages any where. Only an apache restart message in the logs.
That makes some sense now. I had never used those rules because I could not get things running. I just assumed I was stupid and had a configuration error. I guess I will cross getting those rules to work off my list. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 02 Aug '08 5:41 Post subject: |
|
|
I didn't realize there are two threads basically about this subject .. sorry Steffen
Cyclone, Mod_Security/2.5.6 seems to have fixed it for me. I hope it does for you.
If anyone wishes;
For Apache 2.2.9 VC6 builds (like Apache Software Foundation's distributions and some others)
NOTE: This module will NOT work with Apache Lounge Distributions.
Also note this module was built by me, and not Apache Lounge.
http://www.nectar32.com/mods/mod_security2_2.5.6-2.2.9.zip |
|
Back to top |
|
|
|
|
|
|