Revision fe4d7d52
Added by Scott Ullrich almost 19 years ago
etc/rc.update_bogons.sh | ||
---|---|---|
6 | 6 |
|
7 | 7 |
/etc/rc.conf_mount_rw |
8 | 8 |
/usr/bin/fetch -q -o /tmp/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" |
9 |
egrep -v "192.168.0.0/16|172.16.0.0/12|10.0.0.0/8" /tmp/bogons > /etc/bogons
|
|
9 |
egrep -v "^192.168.0.0/16|^172.16.0.0/12|^10.0.0.0/8" /tmp/bogons > /etc/bogons
|
|
10 | 10 |
/etc/rc.conf_mount_ro |
11 | 11 |
/sbin/pfctl -t bogons -T replace -f /etc/bogons |
Also available in: Unified diff
Match on the beginning of the string so that the 110 network is included
Submitted-by: XAI via IRC