modsec-sdbm-util
modsec-sdbm-util copied to clipboard
Utility to manipulate SDBM files used by ModSecurity. With that utility it is possible to _shrink_ SDBM databases. It is also possible to list the SDBM contents with filters such as: expired or invali...
This is especially useful to not fill up cron logs.
Hello, When shrinking DB, there's a lot of extra info displayed. Although it doesn't hurt when calling the program interactively, it generates a lot og logs when scheduling it on...
I had the 6.1Gb file and tried to shrink it with this tools. I was able to process 1250 records and failed with: > modsec-sdbm-util.c:332:dump_database(): Failed to retrieve the next...
Very useful option for scheduled jobs, to avoid polluating the system logs