On Dec 29, 2015 3:31 PM, "Cal" <brandon...@gmail.com> wrote:
>
> Yes I do.
>
> Restarting OSSEC:
> ossec-config(1303): ERROR: Invalid command 'firewall-drop' in the active response.
> ossec-config(1202): ERROR: Configuration error at '/var/ossec/etc/ossec.conf'. Exiting.
> ossec-analysisd(1202): ERROR: Configuration error at '/var/ossec/etc/ossec.conf'. Exiting.
>
>
> # cat ar.conf
> restart-ossec0 - restart-ossec.sh - 0
> restart-ossec0 - restart-ossec.cmd - 0
> (and if I add 'firewall-drop600 - firewall-drop.sh - 600' in ar.conf, it is cleared and resets to the above after restart)
>
Because you don't modify that file, ossec should fill it in.
Since you said the command block I pasted is in your ossec.conf, can you make sure the script exists? Is it executable?