post_install() { /usr/bin/nohup /usr/bin/pulledpork_update.sh /etc/snort/rules/snort.rules > /dev/null 2>&1 & cat << EOF >>> EDIT /etc/snort/homenet.conf file to match your local network. >>> Add local rules to /etc/snort/rules/local.rules >>> TIP: iptables rule to monitor all FORWARDed traffic: >>> iptables -I FORWARD -j NFQUEUE --queue-bypass >>> Note: ALERTs are automatically deleted after 60 days >>> use barnyard2 to store them in database EOF } post_upgrade() { post_install $1 } # vim:set ts=2 sw=2 et: