mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
correct bogons file location
This commit is contained in:
parent
abb0ce6141
commit
69fda47cc7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user