blob: 562c79b7eb4ca3598593075173d8cbeeeb46f750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# Update bogons file
# Part of the pfSense project
# www.pfsense.com
/etc/rc.conf_mount_rw
/usr/bin/fetch -q -o /tmp/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt"
egrep -v "^192.168.0.0/16|^172.16.0.0/12|^10.0.0.0/8" /tmp/bogons > /etc/bogons
/etc/rc.conf_mount_ro
/sbin/pfctl -t bogons -T replace -f /etc/bogons
|