• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

ModSecurity Rule execution error - PCRE limits exceeded

Theodor

New Pleskian
Hello,

have somebody an ideea how to change the ModSecurity PCRE limits?

Wed Feb 24 22:11:13 2010] [error] [client...] ModSecurity: Rule execution error - PCRE limits exceeded (-8): (null). [hostname "..."] [uri "/administrator/index.php"] [unique_id "..."]

THX for help

Theodor
 
This has to do with the new PCRE recursion anto-DOS measures added into 2.5.12. It required a fairly significant rule update to support, which we added in last month.
 
I "fix" the PCRE limits exceeded Problem, I renamed the PHPIDS filters file with a new empty file, restart the Apache and now all my customers can change the website content with no restrctions.

Of course this is a quick an dirty method but much easyer like recompiling the ModSecurity.

Hope this help

Theodor
 
HI Theodor: you can compile modsecurity with pcre limit

./configure --enable-pcre-match-limit=90000 --enable-pcre-match-limit-recursion=90000
make && make install

and you can check limits whit

php -i | egrep -i pcre

or can set limit en php.ini
[Pcre]
pcre.backtrack_limit=1000000
pcre.recursion_limit=1000000
 
Hi Theodor: you can compile modsecurity with PCRE limit

./configure --enable-pcre-match-limit=90000 --enable-pcre-match-limit-recursion=90000
make && make install
 
Just be careful with that, what you're doing is creating a way to bypass mod_security on your system by limiting regular expression recursion.
 
Back
Top