Blame CHANGES

Packit 284210
18 Jul 2017 - 2.9.2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * IIS build refactoring and dependencies update
Packit 284210
   [Issue #1487 - @victorhora]
Packit 284210
 * Best practice: Initialize msre_var pointers
Packit 284210
   [Commit fbd57 - Allan Boll]
Packit 284210
 * nginx: Obtain port from r->connection->local_sockaddr.
Packit 284210
   [Commit 51314 - @defanator]
Packit 284210
 * Updates libinjection to v3.10.0
Packit 284210
   [Issue #1412 - @client9, @zimmerle and @bjdijk]
Packit 284210
 * Avoid log flood while using SecConnEngine
Packit 284210
   [Issue #1436 - @victorhora]
Packit 284210
 * Make url path absolute for SecHashEngine only when it is relative
Packit 284210
   in the first place.
Packit 284210
   [Issue #752, #1071 - @hideaki]
Packit 284210
 * Fix the hex digit size for SHA1 on msc_crypt implementation.
Packit 284210
   [Issue #1354 - @zimmerle and @parthasarathi204]
Packit 284210
 * Avoid to flush xml buffer while assembling the injected html.
Packit 284210
   [Issue #742 - @zimmerle]
Packit 284210
 * Avoid additional operator invokation if last transform of a multimatch
Packit 284210
   doesn't modify the input
Packit 284210
   [Issue #1086, #1087 - Daniel Stelter-Gliese]
Packit 284210
 * Adds a sanity check before use ctl:ruleRemoveTargetByTag.
Packit 284210
   [Issue #1353 - @LukeP21 and @zimmerle]
Packit 284210
 * Uses an optional global lock while manipulating collections.
Packit 284210
   [Issues #1224 - @mturk and @zimmerle]
Packit 284210
 * Fix collection naming problem while merging collections.
Packit 284210
   [Issue #1274 - Coty Sutherland and @zimmerle]
Packit 284210
 * Fix --enable-docs adding missing Makefile, modifying autoconf and filenames
Packit 284210
   [Issue #1322 - @victorhora]
Packit 284210
 * Change from using rand() to thread-safe ap_random_pick.
Packit 284210
   [Issue #1289 - Robert Bost]
Packit 284210
 * Cosmetics: added comments on odd looking code to prevent future
Packit 284210
   scrutiny
Packit 284210
   [Issue #1279 - Coty Sutherland]
Packit 284210
 * {dis|en}able-server-context-logging: Option to disable logging of
Packit 284210
   server info (log producer, sanitized objects, ...) in audit log.
Packit 284210
   [Issue #1069 - Marc Stern]
Packit 284210
 * Allow drop to work with mod_http2
Packit 284210
   [Issue #1308, #992 - @bazzadp]
Packit 284210
 * Fix SecConn(Read|Write)StateLimit on Apache 2.4
Packit 284210
   [Issue #1340, #1337, #786 - Sander Hoentjen]
Packit 284210
 * {dis|en}able-stopwatch-logging: Option to disable logging of stopwatches
Packit 284210
   in audit log.
Packit 284210
   [Issue #1067 - Marc Stern]
Packit 284210
 * {dis|en}able-dechunk-logging: Option to disable logging of
Packit 284210
   dechunking in audit log when log level < 9.
Packit 284210
   [Issue #1068 - Marc Stern]
Packit 284210
 * Updates libinjection to: da027ab52f9cf14401dd92e34e6683d183bdb3b4
Packit 284210
   [ModSecurity team]
Packit 284210
 * {dis|en}able-handler-logging: Option to disable logging of Apache handler
Packit 284210
   in audit log
Packit 284210
   [Issue #1070, #1381 - Marc Stern]
Packit 284210
 * {dis|en}able-collection-delete-problem-logging: Option to disable logging of
Packit 284210
   collection delete problem in audit log when log level < 9.
Packit 284210
   [Issue #1380 - Marc Stern]
Packit 284210
 * Adds rule id in logs whenever a rule fail.
Packit 284210
   [Issue #1379, #391 - Marc Stern]
Packit 284210
 * {dis|en}able-server-logging: Option to disable logging of
Packit 284210
   "Server" in audit log when log level < 9.
Packit 284210
   [Issue #1070 - Marc Stern]
Packit 284210
 * {dis|en}able-filename-logging: Option to disable logging of filename
Packit 284210
   in audit log.
Packit 284210
   [Issue #1065 - Marc Stern]
Packit 284210
 * Reads fuzzy hash databases on init
Packit 284210
   [Issue #1339 - Robert Paprocki and @Rendername]
Packit 284210
 * Changes the configuration to recognize soap+xml as XML
Packit 284210
   [Issue #1374 - @emphazer and Chaim Sanders]
Packit 284210
 * Fix building with nginx >= 1.11.11
Packit 284210
   [Issue #1373, #1359 - Andrei Belov and Thomas Deutschmann]
Packit 284210
 * Using Czechia instea of Czech Republic
Packit 284210
   [Issue #1258 - Michael Kjeldsen]
Packit 284210
 * {dis|en}able-rule-id-validation: Option to disable rule id validation
Packit 284210
   [Issue #1150 - Marc Stern and ModSecurity team]
Packit 284210
 * JSON Log: Append a newline to concurrent JSON audit logs
Packit 284210
   [Issue #1233 - Robert Paprocki]
Packit 284210
 * JSON Log: Don't unnecessarily rename request body parts in cleanup
Packit 284210
   [Issue #1223 - Robert Paprocki]
Packit 284210
 * Fix error message inside audit logs
Packit 284210
   [Issue #1216 and #1073 - Armin Abfalterer]
Packit 284210
 * Remove port from IPV4 address when running under IIS.
Packit 284210
   [Issue #1220, #1109 and #734  - Robert Culyer]
Packit 284210
 * Remove logdata and msg fields from JSON audit log rule.
Packit 284210
   [Issue #1190 and #1174 - Robert Paprocki]
Packit 284210
 * Better handle the json parser cleanup
Packit 284210
   [Issue #1204 - Ephraim Vider]
Packit 284210
 * Fix status failing to report in Nginx auditlogs
Packit 284210
   [Issue #977, #1171 - @charlymps and Chaim Sanders]
Packit 284210
 * Fix file upload JSON audit log entry
Packit 284210
   [Issue #1181 and #1173 - Robert Paprocki and Christian Folini]
Packit 284210
 * configure: Fix detection whether libcurl is linked against gnutls and,
Packit 284210
   move verbose_output declaration up to the beginning.
Packit 284210
   [Issue #1158 - Thomas Deutschmann (@Whissi)]
Packit 284210
 * Treat APR_INCOMPLETE as APR_EOF while receiving the request body.
Packit 284210
   [Issue #1060, #334 - Alexey Sintsov]
Packit 284210
Packit 284210
Packit 284210
Security issues
Packit 284210
Packit 284210
 * Allan Boll reported an uninitialized variable that may lead to a crash on
Packit 284210
   Windows platform.
Packit 284210
 * Brian Adeloye reported an infinite loop on the version of libinjection used
Packit 284210
   on ModSecurity 2.9.1.
Packit 284210
Packit 284210
Packit 284210
09 Mar 2016 - 2.9.1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * No changes.
Packit 284210
Packit 284210
03 Feb 2016 - 2.9.1-RC1
Packit 284210
-----------------------
Packit 284210
Packit 284210
 * Added support to generate audit logs in JSON format.
Packit 284210
   [Issue #914, #897, #656 - Robert Paprocki]
Packit 284210
 * Creating AuditLog serial file (or parallel index) respecting the
Packit 284210
   permission configured with SecAuditLogFileMode. Previously, it was
Packit 284210
   used only to save the transactions while in parallel mode.
Packit 284210
   [Issue #852 - @littlecho and ModSecurity team]
Packit 284210
 * Checking for hashing injection response, to report in case of failure.
Packit 284210
   [Issue #1041 - ModSecurity team]
Packit 284210
 * Stop buffering when the request is larger than SecRequestBodyLimit
Packit 284210
   in ProcessPartial mode
Packit 284210
   [Issue #709, #705, #728 - Justin Gerace and ModSecurity team]
Packit 284210
 * Extended Lua support to include version 5.3
Packit 284210
   [Issue #837, #762, #814 - Athmane Madjoudj and ModSecurity team]
Packit 284210
 * mlogc: Allows user to choose between TLS versions (TLSProtocol option
Packit 284210
   introduced).
Packit 284210
   [Issue #881 - Ishwor Gurung]
Packit 284210
 * Allows mod_proxy's "nocanon" behavior to be specified in proxy actions
Packit 284210
   [Issue #1031, #961, #763 - Mario D. Santana and ModSecurity team]
Packit 284210
 * Refactoring conditional #if/#defs directives.
Packit 284210
   [Issue #996 - Wesley M and ModSecurity team]
Packit 284210
 * mlogc-batch-load.pl.in: fix searching SecAuditLogStorageDir
Packit 284210
   files with Apache 2.4
Packit 284210
   [Issue #775 - Elia Pinto]
Packit 284210
 * Understands IIS 10 as compatible on Windows installer.
Packit 284210
   [Issue #931 - Anton Serbulov, Pavel Vasilevich and ModSecurity team]
Packit 284210
 * Fix apache logging limitation by using correct Apache call.
Packit 284210
   [Issue #840 - Christian Folini]
Packit 284210
 * Fix apr_crypto.h check on 32-bit Linux platform
Packit 284210
   [Issue #882, #883 - Kurt Newman]
Packit 284210
 * Fix variable resolution duration (Content of the DURATION variable).
Packit 284210
   [Issue #662 - Andrew Elble]
Packit 284210
 * Fix crash while adding empty keys to persistent collections.
Packit 284210
   [Issue #927 - Eugene Alekseev, Marc Stern and ModSecurity team]
Packit 284210
 * Remove misguided call to srand()
Packit 284210
   [Issues #778, #781 and #836 - Michael Bunk, @gilperon]
Packit 284210
 * Fix compilation problem while ssdeep is installed in non-standard
Packit 284210
   location.
Packit 284210
   [Issue #872 - Kurt Newman]
Packit 284210
 * Fix invalid storage reference by apr_psprintf at msc_crypt.c
Packit 284210
   [Issue #609 - Jeff Trawick]
Packit 284210
Packit 284210
12 Feb 2015 - 2.9.0
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fix apr_crypto.h include, now checking if apr_crypto.h is available by
Packit 284210
   checking the definition WITH_APU_CRYPTO.
Packit 284210
   [martinjina and ModSecurity team]
Packit 284210
Packit 284210
15 Dez 2014 - 2.9.0-RC2
Packit 284210
-----------------------
Packit 284210
Packit 284210
 * OpenSSL dependency was removed on MS Windows builds. ModSecurity is now using
Packit 284210
   the Windows certificate storage.
Packit 284210
   [Gregg Smith, Steffen and ModSecurity team]
Packit 284210
 * Informs about external resources loaded/failed while reloading Apache.
Packit 284210
   [ModSecurity team]
Packit 284210
 * Adds missing 'ModSecurity:' prefix in some warnings messages.
Packit 284210
   [Walter Hop and ModSecurity team]
Packit 284210
 * Refactoring external resources download warn messages. Holding the message
Packit 284210
   to be displayed when Apache is ready to write on the error_log.
Packit 284210
   [ModSecurity team]
Packit 284210
 * Remote resources loading process is now failing in case of HTTP error.
Packit 284210
   [Walter Hop and ModSecurity team]
Packit 284210
 * Fixed start up crash on Apache with mod_ssl configured. Crash was happening
Packit 284210
   during the download of remote resources.
Packit 284210
   [Christian Folini, Walter Hop and ModSecurity team]
Packit 284210
 * Curl is not a mandatory dependency to ModSecurity core anymore.
Packit 284210
   [Rainer Jung and ModSecurity team]
Packit 284210
Packit 284210
18 Nov 2014 - 2.9.0-RC1
Packit 284210
-----------------------
Packit 284210
Packit 284210
 * `pmFromFile' and `ipMatchFromFile' operators are now accepting HTTPS served
Packit 284210
    files as parameter.
Packit 284210
 * `SecRemoteRules' directive - allows you to specify a HTTPS served file that
Packit 284210
    may contain rules in the SecRule format to be loaded into your ModSecurity
Packit 284210
    instance.
Packit 284210
 * `SecRemoteRulesFailAction' directive - allows you to control whenever the
Packit 284210
    user wants to Abort or just Warn when there is a problem while downloading
Packit 284210
    rules specified with the directive: `SecRemoteRules'.
Packit 284210
 * `fuzzyHash' operator - allows to match contents using fuzzy hashes.
Packit 284210
 * `FILES_TMP_CONTENT' collection - make available the content of uploaded
Packit 284210
    files.
Packit 284210
 * InsecureNoCheckCert - option to validate or not a chain of SSL certificates
Packit 284210
   on mlogc connections.
Packit 284210
 * ModSecurityIIS: ModSecurity event ID was changed from 0 to 0x1.
Packit 284210
   [Issue #676 - Kris Kater and ModSecurity team]
Packit 284210
 * Fixed signature on "status call": ModSecurity is now using the original
Packit 284210
   server signature.
Packit 284210
   [Issues #702 - Linas and ModSecurity team]
Packit 284210
 * YAJL version is printed while ModSecurity initialization.
Packit 284210
   [Issue #703 - Steffen (Apache Lounge) and Mauro Faccenda]
Packit 284210
 * Fixed subnet representation using slash notation on the @ipMatch operator.
Packit 284210
   [Issue #706 - Walter Hop and ModSecurity team]
Packit 284210
 * Limited the length of a status call.
Packit 284210
   [Issue #714 - 'cpanelkurt' and ModSecurity team]
Packit 284210
 * Added the missing -P option to nginx regression tests.
Packit 284210
   [Issue #720 - Paul Yang]
Packit 284210
 * Fixed automake scripts to do not use features which will be deprecated in
Packit 284210
   the upcoming releases of automake.
Packit 284210
   [Issue #760 - ModSecurity team]
Packit 284210
 * apr-utils's LDFALGS is now considered while building ModSecurity.
Packit 284210
   [Issue #782 - Daniel J. Luke]
Packit 284210
 * IIS installer is not considering IIS 6 as compatible anymore.
Packit 284210
   [Issue #790 - ModSecurity team]
Packit 284210
 * Fixed yajl build script: now looking for the correct header file.
Packit 284210
   [Issue #804 - 'rpfilomeno' and ModSecurity team]
Packit 284210
 * mlgoc is now forced to use TLS 1.x.
Packit 284210
   [Issue #806 - Josh Amishav-Zlatin and ModSecurity team]
Packit 284210
Packit 284210
Packit 284210
14 Apr 2014 - 2.8.0
Packit 284210
-------------------
Packit 284210
Packit 284210
Bug fix
Packit 284210
 * Build issue: Now using autotools to idenfiy if sys/utsname.h is present.
Packit 284210
 * Change configure.ac version to 2.8
Packit 284210
Packit 284210
31 Mar 2014 - 2.8.0-RC1
Packit 284210
-----------------------
Packit 284210
Packit 284210
New features
Packit 284210
 * JSON Parser is no longer under tests. Now it is part of our mainline;
Packit 284210
 * Connection limits (SecConnReadStateLimit/SecConnWriteStateLimit) now support white and suspicious list;
Packit 284210
 * New variables: FULL_REQUEST and FULL_REQUEST_LENGTH were added, allowing the rules to access the full content of a request;
Packit 284210
 * ModSecurity status is now part of our mainline;
Packit 284210
 * New operator: @detectXSS was added. It makes usage of the newest libinjection XSS detection functionality;
Packit 284210
 * Append and prepend are now supported on nginx (Ref: #635);
Packit 284210
 * SecServerSignature is now available on nginx (Ref: #637).
Packit 284210
Packit 284210
Improvements 
Packit 284210
 * Regression tests are not able to expect different values according to the platform;
Packit 284210
 * Visual C++ 12/10 runtime dependencies are now part of the IIS installer, no need to have it installed prior ModSecurity installation (Ref: #627);
Packit 284210
 * New script was added to the IIS versions to identify whenever there is a missing dependency (available through the Application Menu);
Packit 284210
 * Memory usage improvement: using correct memory pools according to the context (Ref: #618, #620, #619);
Packit 284210
 * Independent API call to free the connection allocations, independently from the request objects, improvements on Nginx performance, vide issue for more information (Ref: #620, #648);
Packit 284210
 * IIS installer is now using the correct 32/64bits folders to install;
Packit 284210
 * IIS Installer 32bits now refuses to install on 64bits environments;
Packit 284210
 * IIS: Using new WiX options to build the package in the correct architecture;
Packit 284210
 * While installing IIS version the installer will remove old ModSecurityIIS configuration or files before proceed with the installation, avoiding further errors;
Packit 284210
 * CRS from IIS version was upgraded to 2.2.9;
Packit 284210
 * IIS installer does not support repair anymore, in fact it was not working already and it is now disabled;
Packit 284210
 * ModSecurity now warns the user who tries to use "proxy" in IIS or Nginx. Proxy is Apache only;
Packit 284210
 * Remove warnings from the build process (Ref: #617);
Packit 284210
 * Apache configuration in regression tests was changed making it more platform independent;
Packit 284210
 * Reduced the amount of warnings during the compilation (Ref: #385a2828e87897bd611bd2a519727ef88dc6d632, #1e63e49db4a592d28e08a33fc60750c37a3886fe);
Packit 284210
 * Regression tests were refactored to be more Nginx friendly;
Packit 284210
 * Fixed some regression tests that were not being flexible to handle multiple platforms: (Ref #636)
Packit 284210
        - Fixed config/00-load-modsec.t test case. Now it expects for Nginx loaded message as it does for Apache. (Ref: #643);
Packit 284210
        - Fixed mixed/10-misc-directives.t. Now it does not expect for SecServerSignature on the logs, just in the headers as the Nginx does in silence.
Packit 284210
        - Fixed tnf/10-tfn-cache.t, action/10-logging.t, config/10-misc-directives.t, config/10-request-directives.t, misc/00-multipart-parser.t , misc/10-tfn-cache.t, rule/20-exceptions.t, rule/00-basics.t, rule/10-xml.t;
Packit 284210
        - Increased the timeout while reading the auditlog;
Packit 284210
        - SecAuditLogType Concurrent was removed from the regression test case, not compatible with all ports yet;
Packit 284210
        - Regression tests were speeded up, as the number of tests are growing it is impossible to have it slow;
Packit 284210
        - Fixed regression tests scripts paths, to make it MacOS friendly;
Packit 284210
        - Avoiding dead locks on Nginx regression tests by enforcing a timeout whenever a request appears to fail; 
Packit 284210
 * Updates to fix errors found by Parfait static code analysis (Ref: #612);
Packit 284210
 * Cleaning up on the repository, by removing unused files;
Packit 284210
 * IIS installer now supports to perform the installation without register the DLL on the system. It means that the user can download our MSI installer as it was a tarball archive (Ref #629, #624);
Packit 284210
 * IIS now support 32bits and 64bits pools, both are registered on IIS (Ref #628).
Packit 284210
Packit 284210
Bug fix
Packit 284210
 * Correctly handling inet_pton in IIS version;
Packit 284210
 * Nginx was missing a terminator while the charset string was mounted (Ref: #148);
Packit 284210
 * Added mod_extract_forwarded.c to run before mod_security2.c (Ref: #594);
Packit 284210
 * Added missing environment variables to regression tests;
Packit 284210
 * Build system is now more flexible by looking at liblua at: /usr/local/lib;
Packit 284210
 * Fixed typo in README file.
Packit 284210
 * Removed the non standard compliant HTTP response status code 44 from modsecurity recommended file (Ref: #665);
Packit 284210
 * Fixed segmentation fault if it fails to write on the audit log (Ref: #668);
Packit 284210
 * Not rejecting a larger request with ProcessPartial. Regression tests were also added (Ref: #597);
Packit 284210
 * Fixed UF8 to unicode conversion. Regression tests were also added(Ref: #672);
Packit 284210
 * Avoiding segmentation fault by checking if a structure is null before access its members;
Packit 284210
 * Removed double charset-header that used happen due a hardcoded charset in Nginx implementation (Ref: #650);
Packit 284210
 * Now alerting the users that there is no memory to proceed loading the configuration instead of just die;
Packit 284210
 * If SecRuleEngine is set to Off and SecRequestBodyAccess On Nginx returns error 500. Standalone is now capable to identify whenever ModSecurity is enabled or disabled, independently of ModSecurity core (Ref: #645); 
Packit 284210
 * Fixed missing headers on Nginx whenever SecResponseBodyAccess was set to On and happens to be a filter on phase equals or over 3. (Ref #634);
Packit 284210
 * IIS is now picking the correct version of AppCmd while uninstalling or installing ModSecurityISS. (Ref #632).
Packit 284210
Packit 284210
Packit 284210
Packit 284210
17 Dec 2013 - 2.7.7
Packit 284210
-------------------
Packit 284210
Fixes:
Packit 284210
Packit 284210
- Changed release version to 2.7.7
Packit 284210
- Got the configure scripts inside the release tarball
Packit 284210
Packit 284210
Packit 284210
16 Dec 2013 - 2.7.6 
Packit 284210
-------------------
Packit 284210
Improvements:
Packit 284210
Packit 284210
- Organizes all Makefile.am - 1cde4d2dd9d96747536c1c25d06ba0677069477f
Packit 284210
  Now using one file per line (sorted). This is the better way to handle it, since it reduces the possibility of merge conflicts.
Packit 284210
Packit 284210
- nginx: generates config file using configure input. - 351b9cc357d439e30ebd61d89a9e38ecf55c6827
Packit 284210
  The nginx config file was looking for depedencies by its own, by doing that it was ignoring the options that were passed to configure script. This commit deletes this config file and adds a meta-config which is populated by configure whenever the standalone-module is enabled.
Packit 284210
Packit 284210
- nginx: adds lua support - da16d9e5d51d4ef8734687514a4e1368e7fb4284
Packit 284210
Packit 284210
- iis: Cosmetics fixies on sqli. - 5046c8327ea21c69b4c0d0c0057c692b05b09fef
Packit 284210
  This is needed to get it compiled with VS2011 on Windows8
Packit 284210
Packit 284210
- Regression tests: makes configuration compatible with 2.2 and 2.4 (try 2) - ae252ee8767069363906e5a611dff487b799b839
Packit 284210
Packit 284210
- nginx: Trying apxs and apxs2 while compiling nginx module - 65d9272fdc353e1263567b60604542d377d19672
Packit 284210
Packit 284210
- nginx: Trying apxs and apxs2 while compiling nginx module - 35fd75d859e4a8873b8843da1db13e04a1b08140
Packit 284210
Packit 284210
- macos: Using glibtoolize instead of libtoolize - 751a9f4e45213cd69f00c62c71edc9d7ad99b82d
Packit 284210
Packit 284210
- regression-tests: makes configuration compatible with 2.2 and 2.4 - 6fc4cac37ab1be8d1232140042b58fe4bd93ee17
Packit 284210
Packit 284210
- Regression test: get it working with apache 2.4 - e9813cd0d9bfc5b0c9aa5832634ec1b39b805108
Packit 284210
  Changes in httpd.conf.in to get it working with apache 2.4
Packit 284210
Packit 284210
- Code cosmetics. - 7366f35c1d80772d739b35da8faa972f92a72b97
Packit 284210
  Changed to reduce the number of possible fails during Build Bot compilation.
Packit 284210
Packit 284210
- iis: Waiting for 5 seconds before move curl directory - 9bf2959c919587ebc63f5a1b8c0785da8927bff5
Packit 284210
  Testing buildbot.
Packit 284210
Packit 284210
- Redefines unixd_set_global_mutex_perms on tests - f70f6f4281b806627e0cf0dbb9c84ae5864bdb16
Packit 284210
  Avoding conflicts with the standalone implementation
Packit 284210
Packit 284210
- Adds verbose quality check - 388943440cc9b8c6fdea09f5e365a2e5a3e792e2
Packit 284210
  Vera++ and ccpcheck are not outputing to the stderr instead stdout allowing the buildbot to extract some numbers about it.
Packit 284210
Packit 284210
- Adds support for coding style and quality check - b77e90152d119609ac78a7028383c3b79898b2cf
Packit 284210
  Initial effort to get the code on shape. This will be executed by the buildbots as soon as they get ready for it.
Packit 284210
Packit 284210
- iis: New improvements on the Wix installer - 2ea5a74a7bfb00f21312e51e48aa6dac03d84600
Packit 284210
  * Now the installation is divided in modules: ModSecurity and CRS.
Packit 284210
  * Added default configuration
Packit 284210
  * Configuration was moved to "Program Files" folder
Packit 284210
  * Build_msi script now using candle available in %PATH%
Packit 284210
Packit 284210
- iis: Removes the installer helper dependency - 1a12648c9f6028f251af0f03c889397c7954b74c
Packit 284210
  Now using appcmd directly with WiX instead of calling the installer helper.
Packit 284210
Packit 284210
- iis: Remove readme.html - 550d5aae21cba696cac1ce75ab8113e5255d5a59
Packit 284210
  This HTML is about "Creating a Native Module for IIS7" not straight related to ModSecurity itself.
Packit 284210
Packit 284210
- iis: Adds batch script to compile Wix - a2c5fc831baf0b324ebb66b0f878dacf1ec2f808
Packit 284210
  This batch script can be used to generate our msi installer.
Packit 284210
Packit 284210
- iis: Adds Wix installer resources - 3604763e15a665eb7a6ecae1f7e7c65cebbb1d17
Packit 284210
  This is all about cosmetic changes.
Packit 284210
Packit 284210
- iss: Removes Post-Build event. - 28bbde1bb218b004654cb865fc8563d69b848dc2
Packit 284210
  There was a copy on Post-Build event using a hard coded path. This patch removes this Post-Build event.
Packit 284210
Packit 284210
- iis: Relative paths on the VS project file - 368617ddb2443f9b6036f80a648d467d07c9a054
Packit 284210
  There are a ModSecurityIIS solution and project files, those were using hard coded paths to meet the dependencies. As consequence of the last update in our build scripts, now we are able to built the dependencies and load it to our Visual Studio project using relative paths.
Packit 284210
Packit 284210
- iis: Adds release script - 9477118903861ce80c4c27cb581bf3462315e98e
Packit 284210
Packit 284210
- iis: fixies the Installer.cpp coding style - 79875b1af8e8571098345b91557bab9c06eb7c88
Packit 284210
Packit 284210
- iis: Removes AppWizard remade file - 91738f93bcc82b6ab756c550a66b6cf6af2fa9f8
Packit 284210
  Apparently the AppWizard was used to generate part of this Installer, the ReadMe.txt created by the AppWizard was removed by this commit
Packit 284210
Packit 284210
- iss: Removes pre-compiled headers - adfbeb85dcfa9466b72eebb8d1bd8eb7728bab79
Packit 284210
  No need to use the pre-compiled headers in InstallerHelper, removing it, in order to keep the project lean.
Packit 284210
Packit 284210
- iis: Moves installer to InstallerHelper - 6adf25667dd4bfa33010bd6d8ae3d35046a69967
Packit 284210
  To organize the folder the Installer application was renamed to installer helper. It is not the real installer, it is just an helper which is executed during the installation phase.
Packit 284210
Packit 284210
- iss: Removes fart dependencies - 8c3b8d81b613aaa38f28472af1eb26c90c7fc9da
Packit 284210
  This commit removes the dependency of the fart.exe utility. The utility was responsible to rename contents inside some dependencies build files. Those modifications are not longer needed.
Packit 284210
Packit 284210
- iss: Better err handling in build scripts. - 192599bf63b6ae5aa08e4536a90d5d0a17f969f7
Packit 284210
  Now checking for errors in every step of the build phase
Packit 284210
Packit 284210
- iis: Moves build_module.bat to build_modsecurity.bat - e25c6b2e85ced7beba4d41867dbdf30e9c1286d3
Packit 284210
  The build_modsecurity.bat is now on the iis sub-directory, not in the dependencies anymore. Its content was also changed fixing all the paths.
Packit 284210
Packit 284210
Packit 284210
- iis: Identifies arch before unzip apache - cf5de78dfb9fffd21edf17af9e1db8f2fd83c804
Packit 284210
  Currently we need the Apache binary which could be used in 32 or 64 bits. This patch makes usage of 'cl' to identify which architecture is set.
Packit 284210
Packit 284210
- iis: Renamves winbuild to dependencies - 1447766e816a896e88c9c8f053fcc3f62797bac1
Packit 284210
  Since the directory becomes all about dependencies there is no need to call it winbuild anymore.
Packit 284210
Packit 284210
- iis: Removes unnecessary files from winbuild dir - 9f8cbf6ed8034ba42aa4967699308df09864fd18
Packit 284210
  Those .mak files seems to be part of an old build system. Since the script are now working fine, this commit removes all those .mac files and also a CMakeList.txt and the Makefile.win.
Packit 284210
Packit 284210
- iis: Improves the iis build system - b277e538f28c87c81c1b50925dd8b82996b88294
Packit 284210
  Now checking for common errors while building. Refactoring on the build scripts, now there is this build_dependencies.bat script on the iis sub-folder. By calling this script all the dependencies should be build under the winbuild/. This commit also removes build scripts that were not needed anymore.
Packit 284210
Packit 284210
- iis: Fixes the vcxproj file - a946a163f0ad822c760af80ca32dda61f0e6b2a9
Packit 284210
  Versions of the dependencies were changed, as long as the version of the Visual Studio, now 12.
Packit 284210
Packit 284210
- iis: Removes unecessary files from the build system - 26738d2e34bcc7620047bd23180e0e26a64c71ee
Packit 284210
  The following files were removed:
Packit 284210
  * VCVarsQueryRegistry.bat
Packit 284210
  * vcvars64.bat
Packit 284210
  * vsvars32.bat
Packit 284210
The visual studio files can be called direcltly, not necessary to distribute those files, at least in VS12.
Packit 284210
Packit 284210
- iss: Changes httpd version 2.4.6 - 0a772cb0748aa51a01800e0473309b9de792b456
Packit 284210
  Apache version was changed to 2.4.6 to sync with the current apache lounge version.
Packit 284210
Packit 284210
- iis: Changes the version of the dependencies - 3e6fb41d36b7a5e98a55d8f52b88b29d1bd50b64
Packit 284210
  * pcre from 8.30 to 8.33
Packit 284210
  * zlib from 1.2.7 to 1.2.8
Packit 284210
  * libxml2 from 2.7.7 to 2.9.1
Packit 284210
  * curl from 7.24 to 7.33.0
Packit 284210
Packit 284210
- Removes standalone/Makefile.in - e3c19d53d23c48fea337aae76a87b2a85c36a1f1
Packit 284210
  Makefile.in is recommended to be in the repository whenever it is edit manually, in our case the automatically generated Makefile.in is ok.
Packit 284210
Packit 284210
Packit 284210
Bug Fixes:
Packit 284210
Packit 284210
- test: Avoids conflict of fuctions definition - cef72855e4106ce29e1d39103ebf9eb9ab28f17e
Packit 284210
Packit 284210
- test: Makes the unit tests to work again - cc982ae42ec86c79a67be1a01c6ee35fb06c272c
Packit 284210
  The unit tests was not working due to lack update. This patch adds the necessary stuff to have it work again.
Packit 284210
Packit 284210
- iis: Avoids directory link while building - ad330a44bfa39430cf6340cb52971568cccdf1d6
Packit 284210
  Build scripts was creating links allowing the project to be loaded into Visual Studio without care about the dependencies versions. Sometimes windows refuse to delete those links leading the script to fail. This patch moves the sources directories instead of create links to it.
Packit 284210
Packit 284210
- QA: Avoids the utilization of 3rd filedescriptor - 69c5ccac662f4e11a6eefd54a3e912583c067b9d
Packit 284210
  No need to use a 3rd description on the quality check scripts. Stderr is now redirected to stdout and filtered as needed.
Packit 284210
Packit 284210
- Supports WarningCountingShellCommand in cppcheck and vera - baaf502363e68c3240b60adb7f7c91f5b4f0ba03
Packit 284210
  WarningCountingShellCommand allow us to have some measurements on the buildbot waterfall.
Packit 284210
Packit 284210
- iis: Using base_rules instead of activated_rules - 7b1537058fa451e0df7098cd907ef19f04102f9d
Packit 284210
Packit 284210
- iis: Fix inet_pton build problem - a4202146b8d26b6615bbab986383fe0afae60d77
Packit 284210
  There is a function named inet_pton on windows API, with different signature. This patch just override the windows function and point the inet_pton to our implementation.
Packit 284210
Packit 284210
- iis: Adds Wix installer xml file.c - b32cb7d9ab397160f0154aa4bd4e9638658b41e6
Packit 284210
  This commit adds the Wix template to our git repository.
Packit 284210
Packit 284210
- iis: build_modsecurity.bat fixies - 7e03e3f840375ed682c35a5bb67932461cc77013
Packit 284210
  This commit enable a cleanup on the mod_security build directory avoiding symbols with different architectures.
Packit 284210
Packit 284210
- iis: Fix mlogc build on windows - 9b7663fa79377a0685130a019916d810f31e7478
Packit 284210
  The libcurl path was not pointing to the correct directory
Packit 284210
Packit 284210
- Fix #154, Uses addn instead of apr_table_setn - 1734221d9d3a78f9aafd68e35717da9ee1a4fe51
Packit 284210
  The headers are represented in the format of an apr_table, which is able to handle elements with the same key, however the function apr_table_setn checks if the key exists before add the element, if so it replaces the old value with the new one. This was making our implementation to just keep the last added Cookie. The apr_table_addn function, which is now used, just add a new item without check for olders one.
Packit 284210
Packit 284210
- Merge pull request #579 from zimmerle/revert_139 - 61e54f2067ae760808359926ff91d57275df1aac
Packit 284210
  Revert merge request #139
Packit 284210
Packit 284210
- Revert "Merge pull request #139 from chaizhenhua/remotes/trunk" - 7f7d00fa2c364716691df1b45779304b24a0debb
Packit 284210
  This reverts commit 10fd40fb0d06f6c577d870b6f15d2f6e2a3a5b1b, reversing changes made to 414033aafa94cd50c9b310afd3f164740caccc94.
Packit 284210
Packit 284210
- Merge pull request #578 from client9/remotes/trunk - b0c3977845f60747b15ae10531b7d20355a22627
Packit 284210
  libinjection sync to v3.8.0
Packit 284210
Packit 284210
- libinjection sync - a5f175d79fac1e69124da4e1e227b622e7e233d7
Packit 284210
Packit 284210
- Merge pull request #152 from client9/remotes/trunk - 88ebf8a0bdbc4db1be76f3a2e70df77cc52a5925
Packit 284210
  Sync to libinjection v3.7.1
Packit 284210
Packit 284210
- libinjection sync - fcb6dc13ed6efb066fb9b70405eecab8b83a2d96
Packit 284210
Packit 284210
- libinjection sync - f52242a013f301ca5c17e59b662124833cb7cc6d
Packit 284210
Packit 284210
- Merge pull request #148 from zimmerle/bugfix_charset_missing_string_terminator - b76e26d81ddafc2b99bffad53d1426f8fd33080a
Packit 284210
  Bugfix: missing string terminator while mounting the charset (nginx)
Packit 284210
Packit 284210
- Bugfix: missing string terminator while mounting the charset (nginx) - ff19dcd5c53d4af61d0a9397d4616f47f80ee207
Packit 284210
  The charset in headers is mounted using ngx_snprintf which does not place the string terminator. This patch adds the terminator at the end of the string. The size was correctly allocated, just missing the terminator.
Packit 284210
Packit 284210
- Merge pull request #141 from client9/remotes/trunk - 9a630eea23a7ead4e77617c86dc937fd7a421a57
Packit 284210
  libinjection sync to v3.6.0
Packit 284210
Packit 284210
- libinjection sync - 11217207e8f2e0cf15742273836399866971071a
Packit 284210
Packit 284210
- Merge pull request #139 from chaizhenhua/remotes/trunk - 10fd40fb0d06f6c577d870b6f15d2f6e2a3a5b1b
Packit 284210
  Fixed fd leackage after reload
Packit 284210
Packit 284210
- Merge pull request #138 from client9/remotes/trunk - 414033aafa94cd50c9b310afd3f164740caccc94
Packit 284210
  libinjection sync
Packit 284210
Packit 284210
- Fixed fd leackage after reload - e0993fcd7a166ce9e1a279a47d050af1311d9001
Packit 284210
Packit 284210
- libinjection sync - 2268626c20260e88cab9b7830f8a06101fa7172a
Packit 284210
Packit 284210
- Fix logical disjunction and conjunction issues - 7e0a9ecf7d492e85650671a0cfcfd53e5f15df2c
Packit 284210
Packit 284210
Security Issues:
Packit 284210
Packit 284210
- Fix Chunked string case sensitive issue - CVE-2013-5705 - f8d441cd25172fdfe5b613442fedfc0da3cc333d
Packit 284210
  (Thanks Martin Holst Swende - @mhswende)
Packit 284210
Packit 284210
- Revert "Fix Chuncked string case sensitive issue" - 3901128f17e0763ac1a260106b79859d2aad6d90
Packit 284210
  This reverts commit 16a815a3c2735f62238ef99af26090a2b8430d3d.
Packit 284210
Packit 284210
- Fix Chuncked string case sensitive issue - 16a815a3c2735f62238ef99af26090a2b8430d3d
Packit 284210
Packit 284210
Packit 284210
Packit 284210
23 Jul 2013 - 2.7.5
Packit 284210
-------------------
Packit 284210
Improvements:
Packit 284210
Packit 284210
    * SecUnicodeCodePage is deprecated. SecUnicodeMapFile now accepts the code page as a second parameter.
Packit 284210
Packit 284210
    * Updated Libinjection to version 3.4.1. Many improvements were made.
Packit 284210
Packit 284210
    * Severity action now supports strings (emergency, alert, critical, error, warning, notice, info, debug).
Packit 284210
Packit 284210
Bug Fixes:
Packit 284210
Packit 284210
    * Fixed utf8toUnicode tfn null byte conversion.
Packit 284210
Packit 284210
    * Fixed NGINX crash when issue reload command.
Packit 284210
Packit 284210
    * Fixed flush output buffer before inject modified hashed response body.
Packit 284210
Packit 284210
    * Fixed url normalization for Hash Engine.
Packit 284210
Packit 284210
    * Fixed NGINX ap_unixd_set_global_perms_mutex compilation error with apache 2.4 devel files.
Packit 284210
Packit 284210
Security Issues:
Packit 284210
Packit 284210
10 May 2013 - 2.7.4
Packit 284210
-------------------
Packit 284210
Improvements:
Packit 284210
Packit 284210
    * Added Libinjection project http://www.client9.com/projects/libinjection/ as a new operator @detectSQLi. (Thanks Nick Galbreath).
Packit 284210
Packit 284210
    * Added new variable SDBM_DELETE_ERROR that will be set to 1 when sdbm engine fails to delete entries.
Packit 284210
Packit 284210
    * NGINX is now set to STABLE. Thanks chaizhenhua and all the people in community who help the project testing, sending feedback and patches.
Packit 284210
Packit 284210
Bug Fixes:
Packit 284210
Packit 284210
    * Fixed SecRulePerfTime storing unnecessary rules performance times.
Packit 284210
Packit 284210
    * Fixed Possible SDBM deadlock condition.
Packit 284210
Packit 284210
    * Fixed Possible @rsub memory leak.
Packit 284210
Packit 284210
    * Fixed REMOTE_ADDR content will receive the client ip address when mod_remoteip.c is present.
Packit 284210
Packit 284210
    * Fixed NGINX Audit engine in Concurrent mode was overwriting existing alert files because a issue with UNIQUE_ID.
Packit 284210
Packit 284210
    * Fixed CPU 100% issue in NGINX port. This is also related to an memory leak when loading response body.
Packit 284210
Packit 284210
Security Issues:
Packit 284210
Packit 284210
    * Fixed Remote Null Pointer DeReference (CVE-2013-2765). When forceRequestBodyVariable action is triggered and a unknown Content-Type is used,
Packit 284210
      mod_security will crash trying to manipulate msr->msc_reqbody_chunks->elts however msr->msc_reqbody_chunks is NULL. (Thanks Younes JAAIDI).
Packit 284210
Packit 284210
28 Mar 2013 - 2.7.3
Packit 284210
-------------------
Packit 284210
Packit 284210
  * Fixed IIS version race condition when module is initialized.
Packit 284210
Packit 284210
  * Fixed IIS version failing config commands in libapr.
Packit 284210
Packit 284210
  * Nginx version is now RC quality. The rule engine should works for all phases.
Packit 284210
    We fixed many issues and missing features (for more information please check jira).
Packit 284210
    Code is running well with latest Nginx 1.2.7 stable.
Packit 284210
    Thanks chaizhenhua for your help.
Packit 284210
Packit 284210
  * Added MULTIPART_NAME and MULTIPART_FILENAME. Should be used soon by CRS
Packit 284210
    and will help prevent attacks using multipart data.
Packit 284210
Packit 284210
  * Added --enable-htaccess-config configure option. It will allow the follow directives
Packit 284210
    to be used into .htaccess files when AllowOverride Options is set:
Packit 284210
Packit 284210
        - SecAction
Packit 284210
        - SecRule
Packit 284210
Packit 284210
        - SecRuleRemoveByMsg
Packit 284210
        - SecRuleRemoveByTag
Packit 284210
        - SecRuleRemoveById
Packit 284210
Packit 284210
        - SecRuleUpdateActionById
Packit 284210
        - SecRuleUpdateTargetById
Packit 284210
        - SecRuleUpdateTargetByTag
Packit 284210
        - SecRuleUpdateTargetByMsg
Packit 284210
Packit 284210
  * Improvements in the ID duplicate code checking. Should be faster now.
Packit 284210
Packit 284210
  * SECURITY: Added SecXmlExternalEntity (On|Off - default it Off) that will disable
Packit 284210
    by default the external entity load task executed by LibXml2. This is a security issue
Packit 284210
    [CVE-2013-1915] reported by Timur Yunusov, Alexey Osipov (Positive Technologies).
Packit 284210
Packit 284210
21 Jan 2013 - 2.7.2
Packit 284210
-------------------
Packit 284210
Packit 284210
  * IIS version is now stable.
Packit 284210
Packit 284210
  * Fixed IIS version does not pass through POST data to ASP.NET when SecRequestBodyAccess
Packit 284210
    is set to On (MODSEC-372).
Packit 284210
Packit 284210
  * Fixed IIS version HTTP Request Smuggling protection does not work (MODSEC-344).
Packit 284210
Packit 284210
  * Fixed IIS version PHP Injection Attack (958976) protection does not work (MODSEC-346).
Packit 284210
Packit 284210
  * Fixed IIS version Request limit protections are not working (MODSEC-349).
Packit 284210
Packit 284210
  * Fixed IIS version Outbound protections are not working (MODSEC-350).
Packit 284210
Packit 284210
  * Added IIS version better installer.
Packit 284210
Packit 284210
  * NGINX version removed ModSecurityPassCommand (Thanks chaizhenhua).
Packit 284210
Packit 284210
  * Fixed NGINX version ngx_http_read_client_request_body returned unexpected buffer type (Thanks chaizhenhua).
Packit 284210
Packit 284210
  * Fixed NGINX version INCS config directories on fedora (Thanks chaizhenhua).
Packit 284210
Packit 284210
  * Added NGINX version Added drop action for nginx (Thanks chaizhenhua).
Packit 284210
Packit 284210
  * Fixed bug in cpf_verify operator (Thanks Hideaki Hayashi).
Packit 284210
Packit 284210
  * Fixed build modsecurity under Arch Linux.
Packit 284210
Packit 284210
  * Fixed make test crashing when JIT pcre is enabled.
Packit 284210
Packit 284210
  * Fixed better cookie separator detection code.
Packit 284210
Packit 284210
  * Fixed mod_security displaying wrong ip address in error.log using apache 2.4 and mod_remoteip.
Packit 284210
Packit 284210
  * Fixed mod_security was not compiling when use apr without ipv6 support.
Packit 284210
Packit 284210
  * Fixed mod_security was not compiling when use lua 5.2.
Packit 284210
Packit 284210
  * Fixed issue when execute make install under Solaris.
Packit 284210
Packit 284210
  * Fixed ipmatchf operator was not working as expected.
Packit 284210
Packit 284210
01 Nov 2012 - 2.7.1
Packit 284210
-------------------
Packit 284210
Packit 284210
  * Changed "Encryption" name of directives and options related to hmac feature to "Hash".
Packit 284210
Packit 284210
    SecEncryptionEngine       to SecHashEngine
Packit 284210
    SecEncryptionKey          to SecHashKey
Packit 284210
    SecEncryptionParam        to SecHashParam
Packit 284210
    SecEncryptionMethodRx     to SecHashMethodRx
Packit 284210
    SecEncryptionMethodPm     to SecHashMethodPm
Packit 284210
    @validateEncryption       to @validateHash
Packit 284210
    ctl:EncryptionEnforcement to ctl:HashEnforcement
Packit 284210
    ctl:EncryptionEngine      to ctl:HashEngine
Packit 284210
Packit 284210
  * Added a better random bytes generator using apr_generate_random_bytes() to create
Packit 284210
    the HMAC key.
Packit 284210
Packit 284210
  * Fixed byte conversion issue during logging under Linux s390x platform.
Packit 284210
Packit 284210
  * Fixed compilation bug with LibXML2 2.9.0 (Thanks Athmane Madjoudj).
Packit 284210
Packit 284210
  * Fixed parsing error with modsecurity-recommended.conf and Apache 2.4.
Packit 284210
Packit 284210
  * Fixed DROP action was disabled for Apache 2 module by mistake.
Packit 284210
Packit 284210
  * Fixed bug when use ctl:ruleRemoveTargetByTag.
Packit 284210
Packit 284210
  * Fixed IIS and NGINX modules bugs.
Packit 284210
Packit 284210
  * Fixed bug when @strmatch patterns use invalid escape sequence (Thanks Hideaki Hayashi).
Packit 284210
Packit 284210
  * Fixed bugs in @verifySSN (Thanks Hideaki Hayashi).
Packit 284210
Packit 284210
  * The doc/ directory now contains the instructions to access online documentation.
Packit 284210
Packit 284210
15 Oct 2012 - 2.7.0
Packit 284210
-------------------
Packit 284210
Packit 284210
  * Fixed Pause action should work as a disruptive action (MODSEC-297).
Packit 284210
Packit 284210
  * Fixed Problem loading mod_env variables in phase 2 (MODSEC-226).
Packit 284210
Packit 284210
  * Fixed Detect cookie v0 separator and use it for parsing (MODSEC-261).
Packit 284210
Packit 284210
  * Fixed Variable REMOTE_ADDR with wrong IP address in NGINX version (MODSEC-337).
Packit 284210
Packit 284210
  * Fixed Errors compiling NGINX version.
Packit 284210
Packit 284210
  * Added Include directive into standalone module. IIS and NGINX module should
Packit 284210
    support Include directive like Apache2.
Packit 284210
Packit 284210
  * Added MULTIPART_INVALID_PART flag. Also used in rule id 200002 for multipart strict
Packit 284210
    validation. https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20121017-0_mod_security_ruleset_bypass.txt).
Packit 284210
Packit 284210
  * Updated Reference Manual.
Packit 284210
Packit 284210
25 Sep 2012 - 2.6.8
Packit 284210
-------------------
Packit 284210
Packit 284210
  * Fixed ctl:ruleRemoveTargetByID order issue (MODSEC-333). Thanks to Armadillo Dasypodidae.
Packit 284210
Packit 284210
  * Fixed variable HIGHEST_SEVERITY incorrectly gets reset in a chain rule (MODSEC-315). Thanks to Valery Reznic.
Packit 284210
Packit 284210
10 Sep 2012 - 2.7.0-rc3
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed requests bigger than SecRequestBodyNoFilesLimit were truncated even engine mode was detection only.
Packit 284210
Packit 284210
 * Fixed double close() for multipart temporary files (Thanks Seema Deepak).
Packit 284210
Packit 284210
 * Fixed many small issues reported by Coverity Scanner (Thanks Peter Vrabek).
Packit 284210
Packit 284210
 * Fixed format string issue in ngnix experimental code. (Thanks Eldar Zaitov).
Packit 284210
Packit 284210
 * Added ctl:ruleRemoveTargetByTag/Msg and removed ctl:ruleUpdateTargetByTag/Msg.
Packit 284210
Packit 284210
 * Added IIS and Ngnix platform code.
Packit 284210
Packit 284210
 * Added new transformation utf8toUnicode.
Packit 284210
Packit 284210
23 Jul 2012 - 2.6.7
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed explicit target replacement using SecUpdateTargetById was broken.
Packit 284210
Packit 284210
 * The ctl:ruleUpdateTargetById is deprecated and will be removed for future versions since
Packit 284210
   there is no safe way to use it per-request.
Packit 284210
Packit 284210
 * Added ctl:ruleRemoveTargetById that can be used to exclude targets to be processed per-request.
Packit 284210
Packit 284210
22 Jun 2012 - 2.7.0-rc2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed compilation errors and warnings under Windows platform.
Packit 284210
Packit 284210
 * Fixed SecEncryptionKey was not working as expected.
Packit 284210
Packit 284210
08 Jun 2012 - 2.7.0-rc1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Added SecEncryptionEngine. Initial crypt engine support, at the momment it will sign some Html
Packit 284210
   and Response Header options.
Packit 284210
Packit 284210
 * Added SecEncryptionKey to define the a rand or static key for crypt engine.
Packit 284210
Packit 284210
 * Added SecEncryptionParam to define the new parameter name.
Packit 284210
Packit 284210
 * Added SecEncryptionMethodRx used with a regular expression to inspect the html in response
Packit 284210
   body/header and decide what to protect.
Packit 284210
Packit 284210
 * Added SecEncryptionMethodPm used with multiple or single strings to inspect the html in response
Packit 284210
   body/header and decide what to protect.
Packit 284210
Packit 284210
 * Added ctl encryptionEngine as a per transaction version of SecEncryptionEgine diretive.
Packit 284210
Packit 284210
 * Added ctl encryptionEnforcement that will allow the engine to sign the data but the enforcement is
Packit 284210
   disabled.
Packit 284210
Packit 284210
 * Added validateEncryption operator to enforce the signed elements.
Packit 284210
Packit 284210
 * Added rsub operator supports the syntax |hex| allowing users to use special chars like \n \r.
Packit 284210
Packit 284210
 * Added SecRuleUpdateTargetById now supports id range.
Packit 284210
Packit 284210
 * Added SecRuleUpdateTargetByMsg and its ctl version (Thanks Scott Gifford).
Packit 284210
Packit 284210
 * Added SecRuleUpdateTargetByTag and its ctl version (Thanks Scott Gifford).
Packit 284210
Packit 284210
 * Added SecRulePerfTime when greater than zero it will fill rule id's execution time into PERF_RULE
Packit 284210
   and log id=usec information in the new Perf-rule-info: line in part H.
Packit 284210
Packit 284210
 * Added PERF_RULES variable that contains rule execution time.
Packit 284210
Packit 284210
 * Added Engine-mode: section in part H.
Packit 284210
Packit 284210
 * Added ruleRemoveByMsg ctl version.
Packit 284210
Packit 284210
 * Added removeCommentsChar and removeComments now can work with  style.
Packit 284210
Packit 284210
 * Added SecArgumentSeparator and SecCookieFormat can be used in different scope locations.
Packit 284210
Packit 284210
 * Added Rules must have ID action and must be numeric.
Packit 284210
Packit 284210
 * Added The use of tfns are deprecated in SecDefaultAction. Should be forbid in the future.
Packit 284210
Packit 284210
 * Added Macro expansion support to the action pause.
Packit 284210
Packit 284210
 * Added IpmatchFromFile/IpmatchF operator.
Packit 284210
Packit 284210
 * Added New setrsc action, the RESOURCE collection used SecWebAppId Name Space
Packit 284210
Packit 284210
 * Added Configure option --enable-cache-lua that allows reuse of Lua VM per transaction.
Packit 284210
   It will only take any effect when ModSecurity has multiple scripts to run per transaction.
Packit 284210
Packit 284210
 * Added Configure option --enable-pcre-jit that allows ModSecurity regex engine to use PCRE Jit support.
Packit 284210
Packit 284210
 * Added Configure option --enable-request-early that allows ModSecurity run phase 1 in post_read_request hook.
Packit 284210
Packit 284210
 * Added RBL operator now support the httpBl api (http://www.projecthoneypot.org/httpbl_api.php).
Packit 284210
Packit 284210
 * Added SecHttpBlKey to be used with httpBl api.
Packit 284210
Packit 284210
 * Added SecSensorId will specify the modsecurity sensor name into audit log part H.
Packit 284210
Packit 284210
 * Added aliases to phase:2 (phase:request), phase:4 (phase:response) and phase:5 (phase:logging).
Packit 284210
Packit 284210
 * Added USERAGENT_IP variable. Created when Apache24 is used with mod_remoteip to know the real
Packit 284210
   client ip address.
Packit 284210
Packit 284210
 ^ Added new rule metadata actions ver, maturity and accuracy. Also included into RULE collection.
Packit 284210
Packit 284210
 * Updated Reference manual into doc/ directory.
Packit 284210
Packit 284210
 * Fixed Variable DURATION contains the elapsed time in microseconds for compatible reasons with apache and
Packit 284210
   other variables.
Packit 284210
Packit 284210
 * Fixed Preserve names/identity of the variables going into MATCHED_VARS.
Packit 284210
Packit 284210
 * Fixed Redirect macro expansion does not work in SecDefaultAction when SecRule uses block action.
Packit 284210
Packit 284210
 * Fixed rsub operator does not work as expect if regex contains parentheses (Thanks Jerome Freilinger).
Packit 284210
Packit 284210
 * Current Google Safe Browsing implementation is deprecated. Google changed the API and does not allow
Packit 284210
   anymore the malware database for download.
Packit 284210
Packit 284210
08 Jun 2012 - 2.6.6
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Added build system support for KfreeBSD and HURD.
Packit 284210
Packit 284210
 * Fixed a multipart bypass issue related to quote parsing
Packit 284210
   Credits to  Qualys Vulnerability & Malware Research Labs (VMRL).
Packit 284210
Packit 284210
20 Mar 2012 - 2.6.5
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed increased a specific message debug level in SBDM code (MODSEC-293).
Packit 284210
Packit 284210
 * Cleanup build system.
Packit 284210
Packit 284210
09 Mar 2012 - 2.6.4
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed Mlogc 100% CPU consume (Thanks Klaubert Herr and Ebrahim Khalilzadeh).
Packit 284210
Packit 284210
 * Fixed ModSecurity cannot load session and user sdbm data.
Packit 284210
Packit 284210
 * Fixed updateTargetById was creating rule unparsed content making apache memory grow.
Packit 284210
Packit 284210
 * Code cleanup.
Packit 284210
Packit 284210
23 Feb 2012 - 2.6.4-rc1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed @rsub adding garbage data into stream variables.
Packit 284210
Packit 284210
 * Fixed regex for section A into mlogc-batch-load.pl (Thanks Ebrahim Khalilzadeh).
Packit 284210
Packit 284210
 * Fixed logdata cuts message without closing it with final chars.
Packit 284210
Packit 284210
 * Added sanitizeMatchedBytes support to verifyCPF, verifyCC and verifySSN.
Packit 284210
Packit 284210
Packit 284210
06 Dec 2011 - 2.6.3-rc1
Packit 284210
-------------------
Packit 284210
Packit 284210
* Fixed MATCHED_VARS does not correctly handle multiple VARS with the same name.
Packit 284210
Packit 284210
* Fixed SDBM garbage collection was not working as expected, increasing the size of files.
Packit 284210
Packit 284210
* Fixed wrong timestamp calculation for some time zones in log files.
Packit 284210
Packit 284210
* Fixed SecUpdateTargetById failed to load multiple VARS (MODSEC-270).
Packit 284210
Packit 284210
* Fixed Reverted hexDecode for hexEncode compatibility reason.
Packit 284210
Packit 284210
* Added SecCollectionTimeout to set collection timeout, default is 3600.
Packit 284210
Packit 284210
* Added sqlHexDecode transformation to decode sql hex data. Thanks Marc Stern.
Packit 284210
Packit 284210
30 Sep 2011 - 2.6.2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed hexDecode test during make.
Packit 284210
Packit 284210
 * Updated the reference manual into doc/ directory.
Packit 284210
Packit 284210
5 Sep 2011 - 2.6.2-rc1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Added support to macro expansion for rx operator.
Packit 284210
Packit 284210
 * Added new transformations removeComments and removeCommentsChars
Packit 284210
Packit 284210
 * Fixed colletion names are not case-sensitive anymore.
Packit 284210
Packit 284210
 * Fixed compilation errors with apache 2.0.
Packit 284210
Packit 284210
 * Fixed build system was not using some libraries CFLAGS.
Packit 284210
Packit 284210
 * Fixed check for valid hex values into hexDecode transformation.
Packit 284210
Packit 284210
 * Fixed ctl:ruleUpdateTargetById appending multiple targets.
Packit 284210
Packit 284210
18 Jun 2011 - 2.6.1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Updated the reference manual into doc/ directory.
Packit 284210
Packit 284210
11 Jul 2011 - trunk
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Add HttpBl support to rbl operator.
Packit 284210
Packit 284210
30 Jun 2011 - 2.6.1-rc1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed SecUploadFileMode doesn't work with the new build system.
Packit 284210
Packit 284210
 * Fixed building with Lua library (Thanks Diego Elio).
Packit 284210
Packit 284210
 * Fixed some ./configure --enable* features not being enabled in compilation time.
Packit 284210
Packit 284210
 * Improvements on GSB database add/search operations.
Packit 284210
Packit 284210
 * Log part K was removed from modsecurity.conf-recommended.
Packit 284210
Packit 284210
 * Added SecUnicodeMapFile directive. Must be use to load the unicode.mapping file.
Packit 284210
Packit 284210
 * Added SecUnicodeCodePage directive. Used to define the unicode code page. There are a few already available:
Packit 284210
Packit 284210
    1250  (ANSI - Central Europe)
Packit 284210
    1251  (ANSI - Cyrillic)
Packit 284210
    1252  (ANSI - Latin I)
Packit 284210
    1253  (ANSI - Greek)
Packit 284210
    1254  (ANSI - Turkish)
Packit 284210
    1255  (ANSI - Hebrew)
Packit 284210
    1256  (ANSI - Arabic)
Packit 284210
    1257  (ANSI - Baltic)
Packit 284210
    1258  (ANSI/OEM - Viet Nam)
Packit 284210
    20127 (US-ASCII)
Packit 284210
    20261 (T.61)
Packit 284210
    20866 (Russian - KOI8)
Packit 284210
    28591 (ISO 8859-1 Latin I)
Packit 284210
    28592 (ISO 8859-2 Central Europe)
Packit 284210
    28605 (ISO 8859-15 Latin 9)
Packit 284210
    37    (IBM EBCDIC - U.S./Canada)
Packit 284210
    437   (OEM - United States)
Packit 284210
    500   (IBM EBCDIC - International)
Packit 284210
    850   (OEM - Multilingual Latin I)
Packit 284210
    860   (OEM - Portuguese)
Packit 284210
    861   (OEM - Icelandic)
Packit 284210
    863   (OEM - Canadian French)
Packit 284210
    865   (OEM - Nordic)
Packit 284210
    874   (ANSI/OEM - Thai)
Packit 284210
    932   (ANSI/OEM - Japanese Shift-JIS)
Packit 284210
    936   (ANSI/OEM - Simplified Chinese GBK)
Packit 284210
    949   (ANSI/OEM - Korean)
Packit 284210
    950   (ANSI/OEM - Traditional Chinese Big5)
Packit 284210
Packit 284210
    Also mapping some extra unicode chars defined at http://tools.ietf.org/html/rfc3490#section-3.1
Packit 284210
Packit 284210
 * Fixed SecRequestBodyLimit was truncating the real request body.
Packit 284210
Packit 284210
18 May 2011 - 2.6.0
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Added SecWriteStateLimit for Slow Post DoS mitigation.
Packit 284210
Packit 284210
 * Fix problem when buffering in input filter.
Packit 284210
Packit 284210
 * Fix memory leak when use MATCHED_VAR_NAMES.
Packit 284210
Packit 284210
Packit 284210
2 May 2011 - 2.6.0-rc2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Added code optimizations - thanks Diego Elio.
Packit 284210
Packit 284210
 * Added support to AIX and HPUX in the build system (untested).
Packit 284210
Packit 284210
 * Renamed decodeBase64Ext to base64DecodeExt.
Packit 284210
Packit 284210
 * Build system improvements - thanks Diego Elio.
Packit 284210
Packit 284210
 * Improvements on gsblookup parser.
Packit 284210
Packit 284210
 * Fixed input filter bug when upload files and SecStreamInBodyInspect is enabled.
Packit 284210
Packit 284210
 * Logging improvements and bug fix.
Packit 284210
Packit 284210
 * Remove extra useless files when make clean and maintainer-clean
Packit 284210
Packit 284210
18 Apr 2011 - 2.6.0-rc1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Replaced previous GPLv2 License to Apachev2.
Packit 284210
Packit 284210
 * Added Google Safe Browsing lookups operator and directive. It should be
Packit 284210
   used to extract and lookup urls from http packets.
Packit 284210
Packit 284210
 * Added Data Modification operator. It must be used with STREAM_* variables
Packit 284210
   to replace/add/edit any data from http bodies.
Packit 284210
Packit 284210
 * Added STREAM_OUPUT_BODY and STREAM_INPUT_BODY variables to work with data
Packit 284210
   modification operators.
Packit 284210
Packit 284210
 * Added fast ip address operator. It supports partial ip address, cidr for
Packit 284210
   IPv4 and IPv6. Thanks Tom Donovan.
Packit 284210
Packit 284210
 * Added new sensitive data tracking verifyCPF and verifySSN.
Packit 284210
Packit 284210
 * Added MATCHED_VARS and MATCHED_VARS_NAMES. It is similiar to MATCHED_VAR,
Packit 284210
   but now we should see all matched variables.
Packit 284210
Packit 284210
 * Added UNIQUE_ID variable. It holds the data created my mod_unique_id.
Packit 284210
Packit 284210
 * Added new tranformation cmdline. Thanks Marc Stern.
Packit 284210
Packit 284210
 * Added new exception handling operators and directives. It should help users
Packit 284210
   reduce FN and FPs. The directives SecRuleUpdateTargetById, SecRuleRemoveByTag
Packit 284210
   and its ctl actions were included.
Packit 284210
Packit 284210
 * Added SecStreamOutBodyInspection and SecStreamInBodyInspection to enable STREAM_*
Packit 284210
   variables.
Packit 284210
Packit 284210
 * Added SecGsbLookupDB used to load Google Safe Browsing malware databse into
Packit 284210
   memory.
Packit 284210
Packit 284210
 * Added the directive SecInterceptOnError to control what to do if a rule returns
Packit 284210
   values less than zero.
Packit 284210
Packit 284210
 * Improvements in DetectionOnly engine mode. Also added SecRequestBodyLimitAction
Packit 284210
   to control what to do if the engine receive a http request over a hard limit.
Packit 284210
   Note that there is now many combinations with SecRuleEngine and the limit action
Packit 284210
   directives for response and request data. Please see the reference manual.
Packit 284210
Packit 284210
 * Improvements under RBL operator. It now will parse return code values for some
Packit 284210
   RBL lists.
Packit 284210
Packit 284210
 * Added new Log Part J. It should log some informations about uploaded files.
Packit 284210
Packit 284210
 * Added new sanitizeMatchedBytes action. It will give more flexibilty for user to sanitize
Packit 284210
   logged data, also improving peformance when sanitize big amount of data.
Packit 284210
Packit 284210
 * Improvements on Logging phase. It is possible now see full chains, distinguish between
Packit 284210
   simple rules, chain starters and chain nodes.
Packit 284210
Packit 284210
 * Improvements on AutoTools usage.
Packit 284210
Packit 284210
 * Improvements on pattern matching operators, pmf, pm and strmatch now supports more flexible
Packit 284210
   input data allowing any kind of special char.
Packit 284210
Packit 284210
 * Improvements on SecRuleUpdateActionById to update chain nodes.
Packit 284210
Packit 284210
 * Many bugs were fixed. Please see the ModSecurity Jira for more details
Packit 284210
Packit 284210
Packit 284210
19 Mar 2010 - trunk
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Added SecDisableBackendCompression, which disabled backend compression
Packit 284210
   while keeping the frontend compression enabled (assuming mod_deflate
Packit 284210
   in installed and configured in the proxy). [Ivan Ristic]
Packit 284210
Packit 284210
 * Added REQUEST_BODY_LENGTH, which contains the number of request body
Packit 284210
   bytes read. [Ivan Ristic]
Packit 284210
Packit 284210
 * Integrate with mod_log_config using the %{VARNAME}M format string.
Packit 284210
   (MODSEC-108) [Ivan Ristic]
Packit 284210
Packit 284210
 * Replaced the previous time-measuring mechanism with a new one, which
Packit 284210
   provides the following information: request time, request duration,
Packit 284210
   phase duration (for all 5 phases), time spent dealing with persistent
Packit 284210
   storage, and time spent on audit logging. The new information is now
Packit 284210
   available in the Stopwatch2 audit log header. The Stopwatch header
Packit 284210
   remains for backward compatiblity, although it now only includes
Packit 284210
   the request time and request duration values. Added the following
Packit 284210
   variables: PERF_COMBINED, PERF_PHASE1, PERF_PHASE2, PERF_PHASE3,
Packit 284210
   PERF_PHASE4, PERF_PHASE5, PERF_SREAD, PERF_SWRITE, PERF_LOGGING,
Packit 284210
   PERF_GC. [Ivan Ristic]
Packit 284210
Packit 284210
 * Added DURATION, which contains the time ellapsed since the beginning
Packit 284210
   of the current transaction, in milliseconds. [Ivan Ristic]
Packit 284210
Packit 284210
 * Adjusted phase 5 to execute just prior to mod_log_config. This should
Packit 284210
   allow phase 5 rules to to implement conditional logging, as well as
Packit 284210
   pave support for allowing access to all ModSecurity variables from
Packit 284210
   mog_log_config. [Ivan Ristic]
Packit 284210
Packit 284210
 * Added the URLENCODED_ERROR flag, which is raised whenever invalid URL
Packit 284210
   encoding is encountered in the query string or in the request body
Packit 284210
   (but only if URLENCODED request body processor is used). (MODSEC-111)
Packit 284210
   [Ivan Ristic]
Packit 284210
Packit 284210
 * Removed the obsolete PDF UXSS functionality. (MODSEC-96) [Ivan Ristic]
Packit 284210
Packit 284210
 * Renamed normalisePath to normalizePath and normalisePathWin to
Packit 284210
   normalizePathWin. Kept the previous names for backward compatibility.
Packit 284210
   (MODSEC-103) [Ivan Ristic]
Packit 284210
Packit 284210
 * Moved phase 1 to be run in the same Apache hook as phase 2. This means
Packit 284210
   that you can now have phase 1 rules in <Location> tags and, more
Packit 284210
   importantly, override server configuration in <Location> and others.
Packit 284210
   (MODSEC-98) [Ivan Ristic]
Packit 284210
Packit 284210
 * Renamed the sanitise family of actions to sanitize. Kept the old variants
Packit 284210
   for backward compatibility. (MODSEC-95) [Ivan Ristic]
Packit 284210
Packit 284210
 * Improve the logging of the ctl action. (MODSEC-99) [Ivan Ristic]
Packit 284210
Packit 284210
 * Cleanup build files that were from the Apache source.
Packit 284210
Packit 284210
Packit 284210
14 Feb 2010 - 2.5.13-dev1
Packit 284210
-------------------------
Packit 284210
Packit 284210
 * Cleaned up some mlogc code and debugging output.
Packit 284210
Packit 284210
 * Remove the ability to use a relative path to a piped audit logger
Packit 284210
   (i.e. mlogc) as Apache does not support it in their piped loggers
Packit 284210
   and it was breaking Windows and probably other platforms that
Packit 284210
   use spaces in filesystem paths.  Discovered by Tom Donovan.
Packit 284210
Packit 284210
 * Fix memory leak freeing regex.  Discovered by Tom Donovan.
Packit 284210
Packit 284210
 * Fix some portability issues on Windows.
Packit 284210
Packit 284210
Packit 284210
04 Feb 2010 - 2.5.12
Packit 284210
--------------------
Packit 284210
Packit 284210
 * Fixed SecUploadFileMode to set the correct mode.
Packit 284210
Packit 284210
 * Fixed nolog,auditlog/noauditlog/nolog controls for disruptive actions.
Packit 284210
Packit 284210
 * Added additional file info definitions introduced in APR 0.9.5 so that
Packit 284210
   build will work with older APRs (IBM HTTP Server v6).
Packit 284210
Packit 284210
 * Added SecUploadFileLimit to limit the number of uploaded file parts that
Packit 284210
   will be processed in a multipart POST.  The default is 100.
Packit 284210
Packit 284210
 * Fixed path normalization to better handle backreferences that extend
Packit 284210
   above root directories.  Reported by Sogeti/ESEC R&D.
Packit 284210
Packit 284210
 * Trim whitespace around phrases used with @pmFromFile and allow
Packit 284210
   for both LF and CRLF terminated lines.
Packit 284210
Packit 284210
 * Allow for more robust parsing for multipart header folding.  Reported
Packit 284210
   by Sogeti/ESEC R&D.
Packit 284210
Packit 284210
 * Fixed failure to match internally set TX variables with regex
Packit 284210
   (TX:/.../) syntax.
Packit 284210
 
Packit 284210
 * Fixed failure to log full internal TX variable names and populate
Packit 284210
   MATCHED_VAR* vars.
Packit 284210
Packit 284210
 * Enabled PCRE "studying" by default.  This is now a configure-time option.
Packit 284210
Packit 284210
 * Added PCRE match limits (SecPcreMatchLimit/SecPcreMatchLimitRecursion) to
Packit 284210
   aide in REDoS type attacks.  A rule that goes over the limits will set
Packit 284210
   TX:MSC_PCRE_LIMITS_EXCEEDED.  It is intended that the next major release
Packit 284210
   of ModSecurity (2.6.x) will move these flags to a dedicated collection.
Packit 284210
Packit 284210
 * Reduced default PCRE match limits reducing impact of REDoS on poorly
Packit 284210
   written regex rules.  Reported by Sogeti/ESEC R&D.
Packit 284210
Packit 284210
 * Fixed memory leak in v1 cookie parser.  Reported by Sogeti/ESEC R&D.
Packit 284210
Packit 284210
 * Now support macro expansion in numeric operators (@eq, @ge, @lt, etc.)
Packit 284210
Packit 284210
 * Update copyright to 2010.
Packit 284210
Packit 284210
 * Reserved 700,000-799,999 IDs for Ivan Ristic.
Packit 284210
Packit 284210
 * Fixed SecAction not working when CONNECT request method is used
Packit 284210
   (MODSEC-110). [Ivan Ristic]
Packit 284210
Packit 284210
 * Do not escape quotes in macro resolution and only escape NUL in setenv
Packit 284210
   values.
Packit 284210
Packit 284210
Packit 284210
04 Nov 2009 - 2.5.11
Packit 284210
--------------------
Packit 284210
Packit 284210
 * Added a new multipart flag, MULTIPART_INVALID_QUOTING, which will be
Packit 284210
   set true if any invalid quoting is found during multipart parsing.
Packit 284210
Packit 284210
 * Fixed parsing quoted strings in multipart Content-Disposition headers.
Packit 284210
   Discovered by Stefan Esser.
Packit 284210
Packit 284210
 * Cleanup persistence database locking code.
Packit 284210
Packit 284210
 * Added warning during configure if libcurl is found linked against
Packit 284210
   gnutls for SSL.  The openssl lib is recommended as gnutls has
Packit 284210
   proven to cause issues with mutexes and may crash.
Packit 284210
Packit 284210
 * Cleanup some mlogc (over)logging.
Packit 284210
Packit 284210
 * Do not log output filter errors in the error log.
Packit 284210
Packit 284210
 * Moved output filter to run before other stock filters (mod_deflate,
Packit 284210
   mod_cache, mod_expires, mod_filter) to avoid analyzing modified data
Packit 284210
   in the response. Patch originally submitted by Ivan Ristic.
Packit 284210
Packit 284210
Packit 284210
18 Sep 2009 - 2.5.10
Packit 284210
--------------------
Packit 284210
Packit 284210
 * Cleanup mlogc so that it builds on Windows.
Packit 284210
Packit 284210
 * Added more detailed messages to replace "Unknown error" in filters.
Packit 284210
Packit 284210
 * Added SecAuditLogDirMode and SecAuditLogFileMode to allow fine tuning
Packit 284210
   auditlog permissions (especially with mpm-itk).
Packit 284210
Packit 284210
 * Cleanup SecUploadFileMode implementation.
Packit 284210
Packit 284210
 * Cleanup build scripts.
Packit 284210
Packit 284210
 * Fixed crash on configuration if SecMarker is used before any rules.
Packit 284210
Packit 284210
 * Fixed SecRuleUpdateActionById so that it will work on chain starters.
Packit 284210
Packit 284210
 * Cleanup build system for mlogc.
Packit 284210
Packit 284210
 * Allow mlogc to periodically flush memory pools.
Packit 284210
Packit 284210
 * Using nolog,auditlog will now log the "Message:" line to the auditlog, but
Packit 284210
   nothing to the error log.  Prior versions dropped the "Message:" line from
Packit 284210
   both logs.  To do this now, just use "nolog" or "nolog,noauditlog".
Packit 284210
Packit 284210
 * Forced mlogc to use SSLv3 to avoid some potential auto negotiation
Packit 284210
   issues with some libcurl versions.
Packit 284210
Packit 284210
 * Fixed mlogc issue seen on big endian machines where content type
Packit 284210
   could be listed as zero.
Packit 284210
Packit 284210
 * Removed extra newline from audit log message line when logging XML errors.
Packit 284210
   This was causing problems parsing audit logs.
Packit 284210
Packit 284210
 * Fixed @pm/@pmFromFile case insensitivity.
Packit 284210
Packit 284210
 * Truncate long parameters in log message for "Match of ... against ...
Packit 284210
   required" messages.
Packit 284210
Packit 284210
 * Correctly resolve chained rule actions in logs.
Packit 284210
Packit 284210
 * Cleanup some code for portability.
Packit 284210
Packit 284210
 * AIX does not support hidden visibility with xlc compiler.
Packit 284210
Packit 284210
 * Allow specifying EXTRA_CFLAGS during configure to override gcc specific
Packit 284210
   values for non-gcc compilers.
Packit 284210
Packit 284210
 * Populate GEO:COUNTRY_NAME and GEO:COUNTRY_CONTINENT as documented.
Packit 284210
Packit 284210
 * Handle a newer geo database more gracefully, avoiding a potential crash for
Packit 284210
   new countries that ModSecurity is not yet aware.
Packit 284210
Packit 284210
 * Allow checking &GEO "@eq 0" for a failed @geoLookup.
Packit 284210
Packit 284210
 * Fixed mlogc global mutex locking issue and added more debugging output.
Packit 284210
Packit 284210
 * Cleaned up build dependencies and configure options.
Packit 284210
Packit 284210
Packit 284210
05 Mar 2009 - 2.5.9
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed parsing multipart content with a missing part header name which
Packit 284210
   would crash Apache.  Discovered by "Internet Security Auditors"
Packit 284210
   (isecauditors.com).
Packit 284210
Packit 284210
 * Added ability to specify the config script directly using --with-apr
Packit 284210
   and --with-apu.
Packit 284210
Packit 284210
 * Updated copyright year to 2009.
Packit 284210
Packit 284210
 * Added macro expansion for append/prepend action.
Packit 284210
Packit 284210
 * Fixed race condition in concurrent updates of persistent counters.  Updates
Packit 284210
   are now atomic.
Packit 284210
Packit 284210
 * Cleaned up build, adding an option for verbose configure output and making
Packit 284210
   the mlogc build more portable.
Packit 284210
Packit 284210
 
Packit 284210
21 Nov 2008 - 2.5.8
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed PDF XSS issue where a non-GET request for a PDF file would crash the
Packit 284210
   Apache httpd process.  Discovered by Steve Grubb at Red Hat.
Packit 284210
Packit 284210
 * Removed an invalid "Internal error: Issuing "%s" for unspecified error."
Packit 284210
   message that was logged when denying with nolog/noauditlog set and
Packit 284210
   causing the request to be audited.
Packit 284210
 
Packit 284210
  
Packit 284210
24 Sep 2008 - 2.5.7
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed XML DTD/Schema validation which will now fail after request body
Packit 284210
   processing errors, even if the XML parser returns a document tree.
Packit 284210
Packit 284210
 * Added ctl:forceRequestBodyVariable=on|off which, when enabled, will force
Packit 284210
   the REQUEST_BODY variable to be set when a request body processor is not set.
Packit 284210
   Previously the REQUEST_BODY target was only populated by the URLENCODED
Packit 284210
   request body processor.
Packit 284210
Packit 284210
 * Integrated mlogc source.
Packit 284210
Packit 284210
 * Fixed logging the hostname in the error_log which was logging the
Packit 284210
   request hostname instead of the Apache resolved hostname.
Packit 284210
Packit 284210
 * Allow for disabling request body limit checks in phase:1.
Packit 284210
Packit 284210
 * Added transformations for processing parity for legacy protocols ported
Packit 284210
   to HTTP(S): t:parityEven7bit, t:parityOdd7bit, t:parityZero7bit
Packit 284210
Packit 284210
 * Added t:cssDecode transformation to decode CSS escapes.
Packit 284210
Packit 284210
 * Now log XML parsing/validation warnings and errors to be in the debug log
Packit 284210
   at levels 3 and 4, respectivly.
Packit 284210
Packit 284210
Packit 284210
31 Jul 2008 - 2.5.6
Packit 284210
-------------------
Packit 284210
  
Packit 284210
 * Transformation caching has been deprecated, and is now off by default. We
Packit 284210
   now advise against using transformation caching in production.
Packit 284210
   
Packit 284210
 * Fixed two separate transformation caching issues that could cause incorrect
Packit 284210
   content inspection in some circumstances.
Packit 284210
   
Packit 284210
 * Fixed an issue with the transformation cache using too much RAM, potentially
Packit 284210
   crashing Apache with a large number of cache entries. Two new configuration
Packit 284210
   options have been added to allow for a finer control of caching:
Packit 284210
   
Packit 284210
     maxitems: Max number of items to cache (default 1024)
Packit 284210
     incremental: Whether to cache incrementally (default off)
Packit 284210
Packit 284210
 * Added an experimental regression testing suite. The regression suite may
Packit 284210
   be executed via "make test-regression", however it is strongly advised 
Packit 284210
   to only be executed on a non-production machine as it will startup the
Packit 284210
   Apache web server that ModSecurity is compiled against with various
Packit 284210
   configurations in which it will run tests.
Packit 284210
Packit 284210
 * Added a licensing exception so that ModSecurity can be used in a derivative
Packit 284210
   work when that derivative is also under an approved open source license.
Packit 284210
Packit 284210
 * Updated mlogc to version 1.4.5 which adds a LockFile directive and fixes an
Packit 284210
   issue in which the configuration file may be deleted.
Packit 284210
Packit 284210
Packit 284210
05 Jun 2008 - 2.5.5
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed an issue where an alert was not logged in the error log
Packit 284210
   unless "auditlog" was used.
Packit 284210
Packit 284210
 * Enable the "auditlog" action by default to help prevent a misconfiguration.
Packit 284210
   The new default is now: "phase:2,log,auditlog,pass"
Packit 284210
Packit 284210
 * Improve request body processing error messages.
Packit 284210
Packit 284210
 * Handle lack of a new line after the final boundary in a multipart request.
Packit 284210
   This fixes the reported WordPress Flash file uploader problem.
Packit 284210
Packit 284210
 * Fixed issue with multithreaded servers where concurrent XML processing
Packit 284210
   could crash the web server (at least under Windows).
Packit 284210
Packit 284210
 * Fixed blocking in phase 3.
Packit 284210
Packit 284210
 * Force modules "mod_rpaf-2.0.c" and "mod_custom_header.c" to run before
Packit 284210
   ModSecurity so that the correct IP is used.
Packit 284210
Packit 284210
Packit 284210
07 May 2008 - 2.5.4
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed issue where transformation cache was using the SecDefaultAction
Packit 284210
   value even when t:none was used within a rule.
Packit 284210
Packit 284210
Packit 284210
24 Apr 2008 - 2.5.3
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed issue where the exec action may not be able to execute shell scripts.
Packit 284210
Packit 284210
 * Macros are now expanded in expirevar and deprecatevar.
Packit 284210
Packit 284210
 * Fixed crash if a persistent variable name was more than 126 characters.
Packit 284210
Packit 284210
 * Updated included Core Ruleset to version 1.6.1 which fixes some
Packit 284210
   false negative issues in the migration to using some 2.5 features.
Packit 284210
Packit 284210
Packit 284210
02 Apr 2008 - 2.5.2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Allow HTTP_* targets as an alias for REQUEST_HEADERS:*.
Packit 284210
Packit 284210
 * Make sure temporary filehandles are closed after a transaction.
Packit 284210
Packit 284210
 * Make sure the apache include directory is included during build.
Packit 284210
Packit 284210
Packit 284210
02 Apr 2008 - 2.1.7
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Make sure temporary filehandles are closed after a transaction.
Packit 284210
Packit 284210
Packit 284210
14 Mar 2008 - 2.5.1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed an issue where a match would not occur if transformation caching
Packit 284210
   was enabled.
Packit 284210
Packit 284210
 * Using "severity" in a default action is now just a warning.
Packit 284210
Packit 284210
 * Cleaned up the "make test" target to better locate headers/libraries.
Packit 284210
Packit 284210
 * Now search /usr/lib64 and /usr/lib32 for lua libs.
Packit 284210
Packit 284210
 * No longer treat warnings as errors by default (use --enable-strict-compile).
Packit 284210
Packit 284210
Packit 284210
19 Feb 2008 - 2.5.0
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Updated included Core Ruleset to version 1.6.0 which uses 2.5 features.
Packit 284210
Packit 284210
 * Cleaned up and clarified some documentation.
Packit 284210
Packit 284210
 * Updated code to be more portable so it builds with MS VC++.
Packit 284210
Packit 284210
 * Added unit tests for most operators and transformations.
Packit 284210
Packit 284210
 * Fixed crash on startup when ENV is improperly used without a parameter.
Packit 284210
Packit 284210
 * Allow macro resolution in setenv action.
Packit 284210
Packit 284210
 * The default action is now a minimal "phase:2,log,pass" with no default
Packit 284210
   transformations performed.
Packit 284210
Packit 284210
 * Implemented SecUploadFileMode to allow setting the mode for uploaded files.
Packit 284210
Packit 284210
 * Implemented "block" action.
Packit 284210
Packit 284210
 * Implemented SecRuleUpdateActionById.
Packit 284210
Packit 284210
 * Fixed removal of phase 5 rules via SecRuleRemoveBy* directives.
Packit 284210
Packit 284210
 * No longer log the query portion of the URI in the error log as
Packit 284210
   it may contain sensitive data.
Packit 284210
Packit 284210
 * Build is now 'configure' based: ./configure && make && make install
Packit 284210
Packit 284210
 * Added support for Lua scripting in the following ways: SecRuleScript
Packit 284210
   can be used to specify a script to execute as a rule, the exec
Packit 284210
   action processes Lua scripts internally, as does the @inspectFile
Packit 284210
   operator. Refer to the documentation for more details.
Packit 284210
Packit 284210
 * Changed how allow works. Used on its own it now allows phases 1-4. Used
Packit 284210
   with parameter "phase" (e.g. SecAction allow:phase) it only affects
Packit 284210
   the current phase. Used with parameter "request" it allows phases
Packit 284210
   1-2.
Packit 284210
Packit 284210
 * Fixed issue where only the first phase 5 rule would run when the
Packit 284210
   request was intercepted in an earlier phase.
Packit 284210
Packit 284210
 * Stricter configuration parsing.  Disruptive actions, meta actions and
Packit 284210
   phases are no longer allowed in a chained rule.  Disruptive actions,
Packit 284210
   are no longer allowed in a logging phase (phase 5) rule, including
Packit 284210
   inheriting from SecDefaultAction.
Packit 284210
Packit 284210
 * More efficient collection persistance.
Packit 284210
Packit 284210
 * Fixed t:escapeSeqDecode to better follow ANSI C escapes.
Packit 284210
Packit 284210
 * Added t:jsDecode to decode JavScript escape sequences.
Packit 284210
Packit 284210
 * Added IS_NEW built-in collection variables.
Packit 284210
Packit 284210
 * New audit log part 'K' logs all matching rules.
Packit 284210
Packit 284210
 * Implemented SecRequestBodyNoFilesLimit.
Packit 284210
Packit 284210
 * Enhance handling of the case where we run out of disk space while
Packit 284210
   writing to audit log entry.
Packit 284210
Packit 284210
 * Added SecComponentSignature to allow other components the ability
Packit 284210
   to append to the logged signature.
Packit 284210
Packit 284210
 * Added skipAfter:<id> action to allow skipping all rules until a rule
Packit 284210
   with a specified ID is reached.  Rule execution then continues after
Packit 284210
   the specified rule.
Packit 284210
Packit 284210
 * Added SecMarker <id> directive to allow a fixed target for skipAfter.
Packit 284210
Packit 284210
 * Added ctl:ruleRemoveById action to allow rule removal on a match.
Packit 284210
Packit 284210
 * Added a @containsWord operator that will match a given string anywhere in
Packit 284210
   the target value, but only on word boundaries.
Packit 284210
Packit 284210
 * Added a MATCHED_VAR_NAME variable to store the last matched variable name
Packit 284210
   so that it can be more easily used by rules.
Packit 284210
Packit 284210
 * Added a MATCHED_VAR variable to store the last matched variable value
Packit 284210
   so that it can be more easily used by rules.
Packit 284210
Packit 284210
 * Fixed expansion of macros when using relative changes with setvar.  In
Packit 284210
   addition, added support for expanding macros in the variable name.
Packit 284210
Packit 284210
 * Situations where ModSecurity will intercept, generate an error or log
Packit 284210
   a level 1-3 message to the debug log are now marked as 'relevant' and may
Packit 284210
   generate an audit log entry.
Packit 284210
Packit 284210
 * Fixed deprecatevar:var=N/S action so that it decrements N every S seconds
Packit 284210
   as documented instead of decrementing by a rate.
Packit 284210
Packit 284210
 * Enable ModSecurity to look at partial response bodies. In previous
Packit 284210
   versions, ModSecurity would respond with status code 500 when the
Packit 284210
   response body was too long. Now, if SecResponseBodyLimitAction is
Packit 284210
   set to "ProcessPartial", it will process the part of the response
Packit 284210
   body received up until that point but send the rest without buffering.
Packit 284210
Packit 284210
 * ModSecurity will now process phases 3 and 4 even when request processing
Packit 284210
   is interrupted (either by Apache - e.g. by responding with 400, 401
Packit 284210
   or 403, or by ModSecurity itself).
Packit 284210
Packit 284210
 * Fixed the base64decode transformation function to not return extra
Packit 284210
   characters at the end.
Packit 284210
Packit 284210
 * Return from the output filter with an error in addition to setting
Packit 284210
   up the HTTP error status in the output data.
Packit 284210
Packit 284210
 * Used new Apache API calls to get the server version/banner when available.
Packit 284210
Packit 284210
 * Added "logdata" meta action to allow logging of raw transaction data.
Packit 284210
Packit 284210
 * Added TX_SEVERITY that keeps track of the highest severity
Packit 284210
   for any matched rules so far.
Packit 284210
Packit 284210
 * Added ARGS_GET, ARGS_POST, ARGS_GET_NAMES, ARGS_POST_NAMES variables to
Packit 284210
   allow seperation of GET and POST arguments.
Packit 284210
Packit 284210
 * Added an Apache define (MODSEC_2.5) so that you can conditionally include
Packit 284210
   directives based on the ModSecurity major/minor versions with IfDefine.
Packit 284210
Packit 284210
 * Added MODSEC_BUILD variable that contains the numeric build value based
Packit 284210
   on the ModSecurity version.
Packit 284210
Packit 284210
 * Enhanced debug logging by displaying more data on rule execution.  All
Packit 284210
   invoked rules are now logged in the debug log at level 5.
Packit 284210
Packit 284210
 * Stricter validation for @validateUtf8Encoding.
Packit 284210
Packit 284210
 * No longer process Apache internal subrequests.
Packit 284210
Packit 284210
 * Fixed warnings on Solaris and/or 64bit builds.
Packit 284210
Packit 284210
 * Added @within string comparison operator with support for macro expansion.
Packit 284210
Packit 284210
 * Do not trigger "pause" action for internal requests.
Packit 284210
Packit 284210
 * Added matching rule filename and line number to audit log.
Packit 284210
Packit 284210
 * Added new phrase matching operators, @pm and @pmFromFile.  These use
Packit 284210
   an alternate set based matching engine (Aho-Corasick) to perform faster
Packit 284210
   phrase type matches such as black/white lists, spam keywords, etc.
Packit 284210
Packit 284210
 * Allow caching transformations per-request/phase so they are not repeated.
Packit 284210
Packit 284210
 * Added Solaris and Cygwin to the list of platforms not supporting the hidden
Packit 284210
   visibility attribute.
Packit 284210
Packit 284210
 * Fixed decoding full-width unicode in t:urlDecodeUni.
Packit 284210
Packit 284210
 * Add SecGeoLookupDB, @geoLookups and GEO collection to support
Packit 284210
   geographical lookups by IP/host.
Packit 284210
Packit 284210
 * Do not try to intercept a request after a failed rule.  This fixes the
Packit 284210
   issue associated with an "Internal Error: Asked to intercept request
Packit 284210
   but was_intercepted is zero" error message.
Packit 284210
Packit 284210
 * Removed extraneous exported symbols.
Packit 284210
Packit 284210
 * Merged the PDF XSS protection functionality into ModSecurity.
Packit 284210
Packit 284210
 * Exported API for registering custom variables.  Example in api directory.
Packit 284210
Packit 284210
 * Added experimental support for content injection. Directive
Packit 284210
   SecContentInjection (On|Off) controls whether injection is taking place.
Packit 284210
   Actions "prepend" and "append" inject content when executed. Do note that
Packit 284210
   it is your responsibility to make sure the response is of the appropriate
Packit 284210
   content type (e.g. HTML, plain text, etc).
Packit 284210
Packit 284210
 * Added string comparison operators with support for macro expansion:
Packit 284210
   @contains, @streq, @beginsWith and @endsWith.
Packit 284210
Packit 284210
 * Enhanced debug log output to log macro expansion, quote values and
Packit 284210
   correctly display values that contained NULs.
Packit 284210
Packit 284210
 * Removed support for %0 - %9 capture macros as they were incorrectly
Packit 284210
   expanding url encoded values.  Use %{TX.0} - %{TX.9} instead.
Packit 284210
Packit 284210
 * Added t:length to transform a value to its character length.
Packit 284210
Packit 284210
 * Added t:trimLeft, t:trimRight, t:trim to remove whitespace
Packit 284210
   from a value on the left, right or both.
Packit 284210
Packit 284210
 * Added SecAuditLog2 directive to allow redundent concurrent audit log
Packit 284210
   index files.  This will allow sending audit data to two consoles, etc.
Packit 284210
Packit 284210
 * Removed CGI style HTTP_* variables in favor of REQUEST_HEADERS:Header-Name.
Packit 284210
Packit 284210
 * Store filename/line for each rule and display it and the ID (if available)
Packit 284210
   in the debug log when invoking a rule.  Thanks to Christian Bockermann
Packit 284210
   for the idea.
Packit 284210
Packit 284210
 * Do not log 'allow' action as intercepted in the debug log.
Packit 284210
Packit 284210
 * Fixed some collection variable names not printing with the parameter
Packit 284210
   and/or counting operator in the debug log.
Packit 284210
Packit 284210
Packit 284210
19 Feb 2008 - 2.1.6
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed crash on startup when ENV is improperly used without a parameter.
Packit 284210
Packit 284210
 * Allow macro resolution in setenv action.
Packit 284210
Packit 284210
 * Implemented SecUploadFileMode to allow setting the mode for uploaded files.
Packit 284210
Packit 284210
 * No longer log the query portion of the URI in the error log as
Packit 284210
   it may contain sensitive data.
Packit 284210
Packit 284210
Packit 284210
10 Jan 2008 - 2.1.5
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Updated included Core Ruleset to version 1.5.1.
Packit 284210
Packit 284210
 * Phase 5 rules can now be removed via SecRuleRemoveBy* directives.
Packit 284210
Packit 284210
 * Fixed issue where only the first phase 5 rule would run when the
Packit 284210
   request was intercepted in an earlier phase.
Packit 284210
Packit 284210
 * Fixed configuration parsing so that disruptive actions, meta actions
Packit 284210
   and phases are not allowed in a chained rule (as originally intended).
Packit 284210
Packit 284210
 * Fixed t:escapeSeqDecode to better follow ANSI C escapes.
Packit 284210
Packit 284210
Packit 284210
27 Nov 2007 - 2.1.4
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Updated included Core Ruleset to version 1.5 and noted in the docs that
Packit 284210
   XML support is required to use the rules without modification.
Packit 284210
Packit 284210
 * Fixed an evasion FP, mistaking a multipart non-boundary for a boundary.
Packit 284210
Packit 284210
 * Fixed multiple warnings on Solaris and/or 64bit builds.
Packit 284210
Packit 284210
 * Do not process subrequests in phase 2-4, but do hand off the request data.
Packit 284210
Packit 284210
 * Fixed a blocking FP in the multipart parser, which affected Safari.
Packit 284210
Packit 284210
Packit 284210
11 Sep 2007 - 2.1.3
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Updated multipart parsing code adding variables to allow checking
Packit 284210
   for various parsing issues (request body abnormalities).
Packit 284210
Packit 284210
 * Allow mod_rpaf and mod_extract_forwarded2 to work before ModSecurity.
Packit 284210
Packit 284210
 * Quiet some compiler warnings.
Packit 284210
Packit 284210
 * Do not block internal ErrorDocument requests after blocking request.
Packit 284210
Packit 284210
 * Added ability to compile without an external API (use -DNO_MODSEC_API).
Packit 284210
Packit 284210
Packit 284210
27 Jul 2007 - 2.1.2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Cleaned up and clarified some documentation.
Packit 284210
Packit 284210
 * Update included core rules to latest version (1.4.3).
Packit 284210
Packit 284210
 * Enhanced ability to alert/audit failed requests.
Packit 284210
Packit 284210
 * Do not trigger "pause" action for internal requests.
Packit 284210
Packit 284210
 * Fixed issue with requests that use internal requests.  These had the
Packit 284210
   potential to be intercepted incorrectly when other Apache httpd modules
Packit 284210
   that used internal requests were used with mod_security.
Packit 284210
Packit 284210
 * Added Solaris and Cygwin to the list of platforms not supporting the hidden
Packit 284210
   visibility attribute.
Packit 284210
Packit 284210
 * Fixed decoding full-width unicode in t:urlDecodeUni.
Packit 284210
Packit 284210
 * Lessen some overhead of debugging messages and calculations.
Packit 284210
Packit 284210
 * Do not try to intercept a request after a failed rule.  This fixes the
Packit 284210
   issue associated with an "Internal Error: Asked to intercept request
Packit 284210
   but was_intercepted is zero" error message.
Packit 284210
Packit 284210
 * Added SecAuditLog2 directive to allow redundent concurrent audit log
Packit 284210
   index files.  This will allow sending audit data to two consoles, etc.
Packit 284210
Packit 284210
 * Small performance improvement in memory management for rule execution.
Packit 284210
Packit 284210
Packit 284210
11 Apr 2007 - 2.1.1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Add the PCRE_DOLLAR_ENDONLY option when compiling regular expression
Packit 284210
   for the @rx operator and variables.
Packit 284210
 
Packit 284210
 * Really set PCRE_DOTALL option when compiling the regular expression
Packit 284210
   for the @rx operator as the docs state.
Packit 284210
 
Packit 284210
 * Fixed potential memory corruption when expanding macros.
Packit 284210
Packit 284210
 * Fixed error when a collection was retrieved from storage in the same second
Packit 284210
   as creation by setting the rate to zero.
Packit 284210
Packit 284210
 * Fixed ASCIIZ (NUL) parsing for application/x-www-form-urlencoded forms.
Packit 284210
Packit 284210
 * Fixed the faulty REQUEST_FILENAME variable, which used to change
Packit 284210
   the internal Apache structures by mistake.
Packit 284210
Packit 284210
 * Updates to quiet some compiler warnings.
Packit 284210
Packit 284210
 * Fixed some casting issues for compiling on NetWare (patch from Guenter Knauf).
Packit 284210
Packit 284210
Packit 284210
23 Feb 2007 - 2.1.0
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Removed the "Connection reset by peer" message, which has nothing
Packit 284210
   to do with us. Actually the message was downgraded from ERROR to
Packit 284210
   NOTICE so it will still appear in the debug log.
Packit 284210
Packit 284210
 * Removed the (harmless) message mentioning LAST_UPDATE_TIME missing.
Packit 284210
Packit 284210
 * It was not possible to remove a rule placed in phase 4 using
Packit 284210
   SecRuleRemoveById or SecRuleRemoveByMsg. Fixed.
Packit 284210
Packit 284210
 * Fixed a problem with incorrectly setting requestBodyProcessor using
Packit 284210
   the ctl action.
Packit 284210
Packit 284210
 * Bundled Core Rules 2.1-1.3.2b4.
Packit 284210
Packit 284210
 * Updates to the reference manual.
Packit 284210
Packit 284210
 * Reversed the return values of @validateDTD and @validateSchema, to
Packit 284210
   make them consistent with other operators.
Packit 284210
Packit 284210
 * Added a few helpful debug messages in the XML validation area.
Packit 284210
Packit 284210
 * Updates to the reference manual.
Packit 284210
Packit 284210
 * Fixed the validateByteRange operator.
Packit 284210
Packit 284210
 * Default value for the status action is now 403 (as it was supposed to
Packit 284210
   be but it was effectively 500).
Packit 284210
Packit 284210
 * Rule exceptions (removing using an ID range or an regular expression)
Packit 284210
   is now applied to the current context too. (Previously it only worked
Packit 284210
   on rules that are inherited from the parent context.)
Packit 284210
Packit 284210
 * Fix of a bug with expired variables.
Packit 284210
Packit 284210
 * Fixed regular expression variable selectors for many collections.
Packit 284210
Packit 284210
 * Performance improvements - up to two times for real-life work loads!
Packit 284210
Packit 284210
 * Memory consumption improvements (not measured but significant).
Packit 284210
Packit 284210
 * The allow action did not work in phases 3 and 4. Fixed.
Packit 284210
Packit 284210
 * Unlocked collections GLOBAL and RESOURCE.
Packit 284210
Packit 284210
 * Added support for variable expansion in the msg action.
Packit 284210
Packit 284210
 * New feature: It is now possible to make relative changes to the
Packit 284210
   audit log parts with the ctl action. For example: "ctl:auditLogParts=+E".
Packit 284210
Packit 284210
 * New feature: "tag" action. To be used for event categorisation.
Packit 284210
Packit 284210
 * XML parser was not reporting errors that occured at the end
Packit 284210
   of XML payload.
Packit 284210
Packit 284210
 * Files were not extracted from request if SecUploadKeepFiles was
Packit 284210
   Off. Fixed.
Packit 284210
Packit 284210
 * Regular expressions that are too long are truncated to 256
Packit 284210
   characters before used in error messages. (In order to keep
Packit 284210
   the error messages in the log at a reasonable size.)
Packit 284210
Packit 284210
 * Fixed the sha1 transformation function.
Packit 284210
Packit 284210
 * Fixed the skip action.
Packit 284210
Packit 284210
 * Fixed REQUEST_PROTOCOL, REMOTE_USER, and AUTH_TYPE.
Packit 284210
Packit 284210
 * SecRuleEngine did not work in child configuration contexts
Packit 284210
   (e.g. <Location>).
Packit 284210
Packit 284210
 * Fixed base64Decode and base64Encode.
Packit 284210
Packit 284210
Packit 284210
15 Nov 2006 - 2.0.4
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed the "deprecatevar" action.
Packit 284210
Packit 284210
 * Decreasing variable values did not work.
Packit 284210
Packit 284210
 * Made "nolog" do what it is supposed to do - cause a rule match to
Packit 284210
   not be logged. Also "nolog" now implies "noauditlog" but it's
Packit 284210
   possible to follow "nolog" with "auditlog" and have the match
Packit 284210
   not logged to the error log but logged to the auditlog. (Not
Packit 284210
   something that strikes me as useful but it's possible.)
Packit 284210
Packit 284210
 * Relative paths given to SecDataDir will now be treated as relative
Packit 284210
   to the Apache server root.
Packit 284210
Packit 284210
 * Added checks to make sure only correct actions are specified in
Packit 284210
   SecDefaultAction (some actions are required, some don't make any
Packit 284210
   sense) and in rules that are not chain starters (same). This should
Packit 284210
   make the unhelpful "Internal Error: Failed to add rule to the ruleset"
Packit 284210
   message go away.
Packit 284210
Packit 284210
 * Fixed the problem when "SecRuleInheritance Off" is used in a context
Packit 284210
   with no rules defined.
Packit 284210
Packit 284210
 * Fixed a problem of lost input (request body) data on some redirections,
Packit 284210
   for example when mod_rewrite is used.
Packit 284210
Packit 284210
Packit 284210
26 Oct 2006 - 2.0.3
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed a memory leak (all platforms) and a concurrency control
Packit 284210
   problem that could cause a crash (multithreaded platforms only).
Packit 284210
Packit 284210
 * Fixed a SecAuditLogRelevantStatus problem, which would not work
Packit 284210
   properly unless the regular expression contained a subexpression.
Packit 284210
Packit 284210
Packit 284210
19 Oct 2006 - 2.0.2
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Fixed incorrect permissions on the global mutex, which prevented
Packit 284210
   the mutex from working properly.
Packit 284210
Packit 284210
 * Fixed incorrect actionset merging where the status was copied from
Packit 284210
   the child actionset even though it was not defined.
Packit 284210
Packit 284210
 * Fixed missing metadata information (in the logs) for warnings.
Packit 284210
Packit 284210
Packit 284210
16 Oct 2006 - 2.0.1
Packit 284210
-------------------
Packit 284210
Packit 284210
 * Rules that used operator negation did not work. Fixed.
Packit 284210
Packit 284210
 * Fixed bug that prevented invalid regular expressions from being reported.
Packit 284210
Packit 284210
Packit 284210
16 Oct 2006 - 2.0.0
Packit 284210
-------------------
Packit 284210
Packit 284210
 * First stable 2.x release.
Packit 284210