summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
blob: 36e625b681a3030d23e7cf4c04573616220c3faf (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Update bogons file
# Part of the pfSense project
# www.pfsense.com

/etc/rc.conf_mount_rw
/usr/bin/fetch -q -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt"
/etc/rc.conf_mount_ro
/sbin/pfctl -t bogons -T replace -f /etc/bogons
OpenPOWER on IntegriCloud