summarylogtreecommitdiffstats
path: root/snort.install
blob: 8493d731ec9d4bb20f3bf721148c88053a4596da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: