Hi everyone, I have made a minor change to the "verify-agent-conf" util to make it more user-friendly. The changes are compatible with v2.5.1 and v2.6beta.
The changes are: 1. Added a help message to the util 2. Support for CLI options "-h" (for help) and "-f" to specify an agent.conf file 3. Printing of a single line message stating which file is being analysed - when the tool is run. (this helps understand that the tool has run successfully) If there are no errors, no output besides the one mentioned in #3 above is produced. You can view the changes to the specific file here https://bitbucket.org/cmoraes/ossec/changeset/0fabbb098e90 I have pushed the change to my bitbucket repository at https://bitbucket.org/cmoraes/ossec In order to apply the change, patch your src/util/verify-agent-conf.c<https://bitbucket.org/cmoraes/ossec/changeset/0fabbb098e90#chg-src/util/verify-agent-conf.c> file and recompile, using "Makeall all". Then copy the util/verify-agent-conf binary to the bin directory of your OSSEC installation. If you try it, please let me know if you encounter any issues. Regards, Chris
