The ossec-makelists utility to compile cdb databases.
ossec-makelists will scan ossec.conf for database files, check the mtime, and recompile all out of date databases.
See CDB List lookups from within Rules for more information.
-c <config>¶Run with configuration file of <config>.
Default /var/ossec/etc/ossec.conf
-d¶Execute ossec-makelists in debug mode. This option can be used multiple times to increase the verbosity of the debug messages.
-F¶Force the rebuild of all configured databases.
-g <group>¶Run as <group>.
-h¶Display the help message.
-t¶Test the configuration.
-u <user>¶Run as <user>.
-V¶Display the version and license information.
# /var/ossec/bin/ossec-makelists
* File lists/blocked.txt.cdb need to be updated
# /var/ossec/bin/ossec-makelists
* File lists/blocked.txt.cdb does not need to be compiled