4 # Author: Daniel B. Cid
18 echo "`date` $0 $1 $2 $3 $4 $5" >> ${PWD}/../logs/active-responses.log
22 # Adding the ip to hosts.deny
23 if [ "x${ACTION}" = "xadd" ]; then
24 ${PWD}/../bin/ossec-control restart
28 # Deleting from hosts.deny
29 elif [ "x${ACTION}" = "xdelete" ]; then
35 echo "$0: invalid action: ${ACTION}"