cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Add patch to Increase ModSecurity Collection Size Limits

WillDashwood shared this idea 6 years ago
Open Discussion

When using certain ModSecurity rules, including some bundled with cPanel, you may encounter the following in the Apache error log:


ModSecurity: collection_store: Failed to write to DBM file "/tmp/ip"


This is often the case with DDoS and brute force attack protection rules which use SDBM persistent and can hit the storage size limits. By default there is 800 bytes of usable storage. The following article describes how to recompile APR to support a higher storage limit.


https://www.purehacking.com/blog/josh-zlatin/increasing-modsecurity-collection-size-limits


Can this be added to EasyApache as an option? Getting DDoS and brute force attack protection rules to work is becoming a top priority for us.


Thank you,

Will

Leave a Comment
 
Attach a file