Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3117 Location: Hilversum, NL, EU
|
Posted: Sat 14 Apr '07 13:39 Post subject: ModSecurity 2.1.1 released |
|
|
ModSecurity 2.1.1 has been released. The Win32 binary is available for immediate download from the Apache Lounge.
Changes since 2.1.0 are:
* Add the PCRE_DOLLAR_ENDONLY option when compiling regular expression
for the @rx operator and variables.
* Really set PCRE_DOTALL option when compiling the regular expression
for the @rx operator as the docs state.
* Fixed potential memory corruption when expanding macros.
* Fixed error when a collection was retrieved from storage in the same second
as creation by setting the rate to zero.
* Fixed ASCIIZ (NUL) parsing for application/x-www-form-urlencoded forms.
* Fixed the faulty REQUEST_FILENAME variable, which used to change
the internal Apache structures by mistake.
* Updates to quiet some compiler warnings.
* Fixed some casting issues for compiling on NetWare. |
|
Back to top |
|
erict
Joined: 22 Jan 2006 Posts: 11 Location: UK
|
Posted: Fri 27 Apr '07 13:54 Post subject: ModSecurity 2.1.1 released |
|
|
Hi Steffen,
mod_security 2.1.0 with apache 2.2.4 loads ok (though I have a problem with referer - hoping 2.1.1 might solve this).
However with 2.1.1, mod_security won't start. The error is "Cannot load mod_security ... one of the library files needed to run this application cannot be found."
I have vcredist_x86-sp1 runtime installed. OS is Vista.
Any help appreciated, thanks.
EricT.
Last edited by erict on Fri 27 Apr '07 19:26; edited 1 time in total |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3117 Location: Hilversum, NL, EU
|
Posted: Fri 27 Apr '07 19:05 Post subject: |
|
|
Did you the step from the Readme:
- Create .../apache2/modules/mod_security2 and copy mod_security2.so and libxml2.dll to this folder.
Steffen |
|
Back to top |
|
erict
Joined: 22 Jan 2006 Posts: 11 Location: UK
|
Posted: Fri 27 Apr '07 19:21 Post subject: ModSecurity 2.1.1 released |
|
|
Yes, Steffen, I copied the v2.1.1 mod_security2.so and libxml2.dll to the apache2.2\modules\mod_security2\ folder.
I get the same library file error using both the Apache 2.2.4 binary from Apache and from ApacheLounge.
BTW, the testing is on my old Windows 98 machine, not Vista as I said (I had to downgrade to apache 2.0.55 on my Vista machine until mod_security 2 issues are sorted.) It worked fine with mod_security v2.1.0.
Cheers,
EricT. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3117 Location: Hilversum, NL, EU
|
Posted: Fri 27 Apr '07 20:37 Post subject: |
|
|
I have no Vista box running, so I cannot try it.
Steffen |
|
Back to top |
|
erict
Joined: 22 Jan 2006 Posts: 11 Location: UK
|
Posted: Fri 27 Apr '07 20:53 Post subject: ModSecurity 2.1.1 |
|
|
Steffen wrote: | I have no Vista box running, so I cannot try it.
Steffen |
The machine I'm using on which mod_security 2.1.1 fails to load is a Windows 98 machine, Steffen.
Mod_security 2.1.0 worked on Win98 and on Vista (but there were issues with referer, so I had to go back to Apache 2.0.55 and mod_sec 1 to avoid being deluged with spam).
I didn't get as far as trying 2.1.1 on Vista.
If I use 2.1.0 it loads; swap to 2.1.1 and I get the library file missing error.
With good wishes,
eric. |
|
Back to top |
|
erict
Joined: 22 Jan 2006 Posts: 11 Location: UK
|
Posted: Fri 27 Apr '07 21:06 Post subject: ModSecurity 2.1.1 |
|
|
I'll boot my XP machine up, transfer Apache 2.2.4 and mod_security 2.1.1 to that and see if the error still occurs.
Cheers,
EricT. |
|
Back to top |
|
erict
Joined: 22 Jan 2006 Posts: 11 Location: UK
|
Posted: Fri 27 Apr '07 22:15 Post subject: Re: ModSecurity 2.1.1 |
|
|
In httpd.conf:
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule security2_module modules/mod_security2/mod_security2.so
On windows 98:
2.1.0 -- ok.
2.1.1 -- one of the library files is missing.
On Windows XP:
2.1.0 -- ok.
2.1.1 -- Cannot load c:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_security2.so into server: The specified module could not be found.
On Vista:
2.1.0 -- ok.
2.1.1 -- not tested.
The only thing I changed was replacing the .so file.
Any help to you?
EricT. |
|
Back to top |
|
erict
Joined: 22 Jan 2006 Posts: 11 Location: UK
|
Posted: Fri 27 Apr '07 22:59 Post subject: Re: ModSecurity 2.1.1 |
|
|
My fault. I mistakenly downloaded the 2.1.1 for Apache 2.0.x
Sorry for the inconvenience.
Thanks for a great product.
Eric T. |
|
Back to top |
|