From dc7371c438bc4c0fd2aa36b6b269939a6dccdb5d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 18 Jan 2006 00:59:58 +0000 Subject: MFC 9473 Update bogons to latest from cymru Strip out RFC1918 since we have a seperate filter for that (and we tell people that we don't block them in this filter, doh) --- etc/bogons | 22 ---------------------- etc/rc.update_bogons.sh | 3 ++- 2 files changed, 2 insertions(+), 23 deletions(-) (limited to 'etc') diff --git a/etc/bogons b/etc/bogons index 321d334..c338a73 100644 --- a/etc/bogons +++ b/etc/bogons @@ -1,34 +1,20 @@ -# http://www.cymru.com/Documents/bogon-bn-nonagg.txt -# Copyright Team Cymru -# -# Last updated: 2/25/2005 - Bill Marquette -# 0.0.0.0/8 1.0.0.0/8 2.0.0.0/8 5.0.0.0/8 7.0.0.0/8 -10.0.0.0/8 23.0.0.0/8 27.0.0.0/8 31.0.0.0/8 36.0.0.0/8 37.0.0.0/8 39.0.0.0/8 -41.0.0.0/8 42.0.0.0/8 49.0.0.0/8 50.0.0.0/8 -73.0.0.0/8 -74.0.0.0/8 -75.0.0.0/8 -76.0.0.0/8 77.0.0.0/8 78.0.0.0/8 79.0.0.0/8 -89.0.0.0/8 -90.0.0.0/8 -91.0.0.0/8 92.0.0.0/8 93.0.0.0/8 94.0.0.0/8 @@ -47,7 +33,6 @@ 107.0.0.0/8 108.0.0.0/8 109.0.0.0/8 -110.0.0.0/8 111.0.0.0/8 112.0.0.0/8 113.0.0.0/8 @@ -58,12 +43,8 @@ 118.0.0.0/8 119.0.0.0/8 120.0.0.0/8 -121.0.0.0/8 -122.0.0.0/8 -123.0.0.0/8 127.0.0.0/8 169.254.0.0/16 -172.16.0.0/12 173.0.0.0/8 174.0.0.0/8 175.0.0.0/8 @@ -79,10 +60,7 @@ 185.0.0.0/8 186.0.0.0/8 187.0.0.0/8 -189.0.0.0/8 -190.0.0.0/8 192.0.2.0/24 -192.168.0.0/16 197.0.0.0/8 198.18.0.0/15 223.0.0.0/8 diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh index 36e625b..0db6b0c 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -5,6 +5,7 @@ # www.pfsense.com /etc/rc.conf_mount_rw -/usr/bin/fetch -q -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" +/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 -- cgit v1.1