From fe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 12 Sep 2006 20:05:36 +0000 Subject: Match on the beginning of the string so that the 110 network is included Submitted-by: XAI via IRC --- etc/rc.update_bogons.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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 -- cgit v1.1