#!/bin/sh

# update fwsnort rules / psad signatures
/usr/sbin/fwsnort --update-rules
#generate iptables ruleset
/usr/sbin/fwsnort
#splice rules into iptables
/var/lib/fwsnort/fwsnort.sh

if ps aux | grep psad; then
   psad --sig-update
   echo "running 'psad -H'"
   psad -H
fi

