summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-12 20:05:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-12 20:05:36 +0000
commitfe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0 (patch)
tree3d179f640690f96a810bdbe52b7929c7ac97da6c /etc/rc.update_bogons.sh
parent0a5f89fa3e19c277ea1a5979f7755c60c7121959 (diff)
downloadpfsense-fe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0.zip
pfsense-fe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0.tar.gz
Match on the beginning of the string so that the 110 network is included
Submitted-by: XAI via IRC
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-xetc/rc.update_bogons.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index 0db6b0c..562c79b 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -6,6 +6,6 @@
/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
+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
OpenPOWER on IntegriCloud