SpiderLabs Blog

ModSecurity 2.5.13 release candidate

Written by SpiderLabs Anterior | Nov 5, 2010 9:00:00 AM

A release candidate of 2.5.13 ModSecurity into the svn repository (branch 2.5.x) is already available.
There are some improvements, new features, and bug fixes like:


New features

  • Added new setvar Lua API to be used into Lua scripts
  • Added new Base64 transformation function called base64DecodeExt, which
    can decode base64 data skipping special characters.

In the past, we mentioned this topic here: Impedance mismatch and base

 

Improvement

  1. Added PCRE messages indicate each rule that exceeds match limits
  2. Fixed Geo lookup concurrent connections bug
  3. Fixed Skip/SkipAfter chain bug
  4. Cleaned up some mlogc code and debugging output.
  5. Remove the ability to use a relative path to a piped audit logger (i.e. mlogc) as Apache does not support it in their piped loggers and it was breaking Windows and probably other platforms that use spaces in filesystem paths. Discovered by Tom Donovan.
  6. Fix memory leak-free regex. Discovered by Tom Donovan.
Fix some portability issues on Windows.

If you want to get it and test the new features, just follow the steps:
  1. Create a directory to clone the code: mkdir /home/brenosilva/svn/modsecurity and cd /home/brenosilva/svn
  2. Clone the source code:
    - SVN: svn co https://mo​d-security​.svn.sourc​eforge.net​/svnroot/m​od-securit​y/m2/branc​hes/2.5.x modsecurity
    - GIT: git svn clone --prefix=svn/ https://mo​d-security​.svn.sourc​eforge.net​/svnroot/m​od-securit​y/m2/branc​hes/2.5.x modsecurity
  3. Make sure you cloned the last rev
  4. Check out HEAD: https://mo​d-security​.svn.sourc​eforge.net​/svnroot/m​od-securit​y/m2/branc​hes/2.5.x r1544