summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
Commit message (Collapse)AuthorAgeFilesLines
* Ensure conf_mount_rw and conf_mount_ro are matchedPhil Davis2012-08-021-18/+27
| | | | | | | | | | | | | | | | | | | | | | | On nanobsd, running /etc/rc.update_bogons.sh gives: [2.1-BETA0][admin@test02.homedomain]/tmp(12): /etc/rc.update_bogons.sh 1 /etc/rc.update_bogons.sh: cannot create /etc/bogonsv6: Read-only file system The code does 1 conf_mount_rw but 2 conf_mount_ro This is also seen in system.log: Aug 2 17:47:59 test02 admin: rc.update_bogons.sh is starting up. Aug 2 17:47:59 test02 admin: rc.update_bogons.sh is beginning the update cycle. Aug 2 17:49:27 test02 admin: Bogons file downloaded: 1 addresses added. Aug 2 17:49:29 test02 php: : Reference 1000 is going negative, not doing unreference. Aug 2 17:49:29 test02 admin: Bogons files downloaded: no changes. Aug 2 17:49:29 test02 admin: rc.update_bogons.sh is ending the update cycle. The V6 bogons file does not get applied because the filesystem is RO by that point. I have reviewed the whole logic of this shell script. I believe it handles the various cases correctly now. On nanobsd I get the following in system.log: Aug 2 18:17:13 test02 admin: rc.update_bogons.sh is starting up. Aug 2 18:17:13 test02 admin: rc.update_bogons.sh is beginning the update cycle. Aug 2 18:18:02 test02 admin: Bogons V4 file downloaded: no changes. Aug 2 18:18:10 test02 admin: Bogons V6 file downloaded: 58959 addresses added. Aug 2 18:18:52 test02 admin: rc.update_bogons.sh is ending the update cycle.
* Fix syntax error in bogons updatejim-p2012-05-031-1/+1
|
* Bail out without a valid IPv6 address so we don't generate a invalid dhcpv6 ↵smos2012-04-041-7/+7
| | | | server config
* rm the right file when working with v6 bogons.jim-p2012-01-031-1/+1
| | | | Reported-by: http://forum.pfsense.org/index.php?topic=43334.new;topicseen#new
* Add the bogonsv6 table for the IPv6 bogonsSeth Mos2011-01-261-0/+23
|
* Do not remount ro twicesullrich2009-11-271-3/+0
|
* Download and verify the bogons md5 with the bogons files Ticket #141sullrich2009-11-271-6/+23
|
* Fix bogons update in GUI without duplicating logicChris Buechler2009-08-201-6/+5
|
* Move sleep to correct locationScott Ullrich2009-08-201-4/+3
|
* Do not sleep if /var/run/donotsleep_bogons exists. For some reason the ↵Scott Ullrich2009-08-201-1/+3
| | | | first argument is not being passed when ran from webConfigurator
* Only echo out when we are sleepingScott Ullrich2009-08-201-2/+1
|
* Do not sleep if an argument is passedScott Ullrich2009-08-201-1/+1
|
* Skip sleep if argument is specified, and update bogons at end of setup wizard.Chris Buechler2009-06-241-2/+4
|
* Add missng `Scott Ullrich2009-03-241-1/+1
|
* Simplify (and really) sleep correctly to avoid hammering files.pfsense.orgScott Ullrich2008-07-061-2/+2
|
* Echo out to system logs exactly what is going on during bogons updateScott Ullrich2008-05-021-0/+6
|
* * Increase random window *4Scott Ullrich2008-05-021-1/+3
| | | | * Relaunch the update bogons script again if it fails
* correct bogons file locationChris Buechler2008-02-031-2/+2
|
* Switch to a more random number between 1-2,000. that'd be somewhere betweenScott Ullrich2007-11-281-1/+1
| | | | | | immediately and 33 minutes. If people are setting their time zone properly that also helps distribute the load, since it runs at 1:01 AM local time.
* Use files.pfsense.orgScott Ullrich2007-11-271-1/+1
| | | | Requested-by: CMB
* Use files.pfsense.orgScott Ullrich2007-11-271-1/+1
| | | | Requested-by: CMB
* Log how many changes are made to bogons file.Scott Ullrich2007-11-271-1/+2
|
* Throw an error when we cannot download bogons file instead of blindly ↵Scott Ullrich2007-11-271-0/+5
| | | | assuming it succeedded.
* Actually generate a random numberScott Ullrich2007-11-271-5/+2
|
* * Download bogons entries from pfsense.comScott Ullrich2007-11-271-1/+10
| | | | | * Do not update on every minute on the 1st of the month * Sleep for a random period before updating to avoid killing the server
* Match on the beginning of the string so that the 110 network is includedScott Ullrich2006-09-121-1/+1
| | | | Submitted-by: XAI via IRC
* MFC 9473Scott Ullrich2006-01-181-1/+2
| | | | 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)
* Make uniform by renaming update_bogons.sh to rc.update_bogons.shScott Ullrich2005-07-131-0/+10
OpenPOWER on IntegriCloud