summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2008-02-03 23:20:25 +0000
committerChris Buechler <cmb@pfsense.org>2008-02-03 23:20:25 +0000
commit69fda47cc7da00fd62400ea2cf7c8a1b0a1d343a (patch)
tree10dab3e30151628e369e435c7fb6b1754a4bbf47 /etc/rc.update_bogons.sh
parentabb0ce6141f6fb3d285645b894ed83e351d2fba1 (diff)
downloadpfsense-69fda47cc7da00fd62400ea2cf7c8a1b0a1d343a.zip
pfsense-69fda47cc7da00fd62400ea2cf7c8a1b0a1d343a.tar.gz
correct bogons file location
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-xetc/rc.update_bogons.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index 957a52b..0e3c4b0 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -11,9 +11,9 @@ value=`od -A n -d -N2 /dev/random | awk '{print int(($1/65536)*2000)}'`
sleep $value
/etc/rc.conf_mount_rw
-/usr/bin/fetch -q -o /tmp/bogons "http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt"
+/usr/bin/fetch -q -o /tmp/bogons "http://files.pfsense.org/bogon-bn-nonagg.txt"
if [ ! -f /tmp/bogons ]; then
- echo "Could not download http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt" | logger
+ echo "Could not download http://files.pfsense.org/bogon-bn-nonagg.txt" | logger
exit
fi
egrep -v "^192.168.0.0/16|^172.16.0.0/12|^10.0.0.0/8" /tmp/bogons > /etc/bogons
OpenPOWER on IntegriCloud