LevelBlue + SentinelOne Partner to Deliver AI-Powered Managed Security Operations and Incident Response. Learn More

Massive performance improvements for Apache 1.x users in ModSecurity 1.9.2-rc2

Some ModSecurity users like to run really large rule sets, where the number of rules runs into thousands. (No, I don't think ModSecurity should be used with such large rule sets but I'll talk about that some other time.) But there is a problem. Where Apache 2.x relies on PCRE (http://www.pcre.org) for regular expression processing, Apache 1.x uses a much slower internal regex library. And when I say much slower I mean several times slower. Slower speed in the Apache 1.x branch is not a problem for normal use but it is a problem when there are many rules to process on every request.

The most recent release of ModSecurity, 1.9.2-rc2, makes it possible to compile ModSecurity against PCRE even if you are an Apache 1.x user, thus gaining the same regex processing speed as the Apache 2.x users.

In other news, it is now also possible to disable process creation through suEXEC (compile with -DDISABLE_SUEXEC).

ABOUT LEVELBLUE

LevelBlue secures what's next with intelligence-led security delivering visibility and speed to stop threats faster. As the world’s largest and most analyst-recognized pure-play managed security services provider, our AI-powered managed services and cyber expertise across managed, advisory, and incident response services help clients operate with confidence. Learn more about us.

https://www.levelblue.com/resources/blogs/internal-blog/how-to-create-a-blog-post/

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo