blob: 258dd51494a8aea94523cc9ab34c6a95971716f3 (
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.lua 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:
|