Skip to content

Commit 08edc0c

Browse files
author
b1v1r
committed
Merge 2.5.x (2.5.12) changes into trunk.
1 parent ed11e27 commit 08edc0c

54 files changed

Lines changed: 3161 additions & 321 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGES

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
2 Feb 2010 - trunk
1+
04 Feb 2010 - trunk
32
-------------------
43

54
* Add REQUEST_BODY_LENGTH, which contains the number of request body
@@ -27,6 +26,51 @@
2726
pave support for allowing access to all ModSecurity variables from
2827
mog_log_config. [Ivan Ristic]
2928

29+
30+
04 Feb 2010 - 2.5.12
31+
--------------------
32+
33+
* Fixed SecUploadFileMode to set the correct mode.
34+
35+
* Fixed nolog,auditlog/noauditlog/nolog controls for disruptive actions.
36+
37+
* Added additional file info definitions introduced in APR 0.9.5 so that
38+
build will work with older APRs (IBM HTTP Server v6).
39+
40+
* Added SecUploadFileLimit to limit the number of uploaded file parts that
41+
will be processed in a multipart POST. The default is 100.
42+
43+
* Fixed path normalization to better handle backreferences that extend
44+
above root directories. Reported by Sogeti/ESEC R&D.
45+
46+
* Trim whitespace around phrases used with @pmFromFile and allow
47+
for both LF and CRLF terminated lines.
48+
49+
* Allow for more robust parsing for multipart header folding. Reported
50+
by Sogeti/ESEC R&D.
51+
52+
* Fixed failure to match internally set TX variables with regex
53+
(TX:/.../) syntax.
54+
55+
* Fixed failure to log full internal TX variable names and populate
56+
MATCHED_VAR* vars.
57+
58+
* Enabled PCRE "studying" by default. This is now a configure-time option.
59+
60+
* Added PCRE match limits (SecPcreMatchLimit/SecPcreMatchLimitRecursion) to
61+
aide in REDoS type attacks. A rule that goes over the limits will set
62+
TX:MSC_PCRE_LIMITS_EXCEEDED. It is intended that the next major release
63+
of ModSecurity (2.6.x) will move these flags to a dedicated collection.
64+
65+
* Reduced default PCRE match limits reducing impact of REDoS on poorly
66+
written regex rules. Reported by Sogeti/ESEC R&D.
67+
68+
* Fixed memory leak in v1 cookie parser. Reported by Sogeti/ESEC R&D.
69+
70+
* Now support macro expansion in numeric operators (@eq, @ge, @lt, etc.)
71+
72+
* Update copyright to 2010.
73+
3074
* Reserved 700,000-799,999 IDs for Ivan Ristic.
3175

3276
* Fixed SecAction not working when CONNECT request method is used

README.TXT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ModSecurity for Apache 2.x, http://www.modsecurity.org/
2-
Copyright (c) 2004-2009 Breach Security, Inc. (http://www.breach.com/)
2+
Copyright (c) 2004-2010 Breach Security, Inc. (http://www.breach.com/)
33

44
ModSecurity for Apache is an open source product, released under terms of
55
the General Public Licence, Version 2 (GPLv2). Please refer to the

apache2/acmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
3-
* Copyright (c) 2004-2009 Breach Security, Inc. (http://www.breach.com/)
3+
* Copyright (c) 2004-2010 Breach Security, Inc. (http://www.breach.com/)
44
*
55
* This product is released under the terms of the General Public Licence,
66
* version 2 (GPLv2). Please refer to the file LICENSE (included with this

apache2/acmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
3-
* Copyright (c) 2004-2009 Breach Security, Inc. (http://www.breach.com/)
3+
* Copyright (c) 2004-2010 Breach Security, Inc. (http://www.breach.com/)
44
*
55
* This product is released under the terms of the General Public Licence,
66
* version 2 (GPLv2). Please refer to the file LICENSE (included with this

apache2/apache2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
3-
* Copyright (c) 2004-2009 Breach Security, Inc. (http://www.breach.com/)
3+
* Copyright (c) 2004-2010 Breach Security, Inc. (http://www.breach.com/)
44
*
55
* This product is released under the terms of the General Public Licence,
66
* version 2 (GPLv2). Please refer to the file LICENSE (included with this

0 commit comments

Comments
 (0)