Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure conf_mount_rw and conf_mount_ro are matched | Phil Davis | 2012-08-02 | 1 | -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 update | jim-p | 2012-05-03 | 1 | -1/+1 |
| | |||||
* | Bail out without a valid IPv6 address so we don't generate a invalid dhcpv6 ↵ | smos | 2012-04-04 | 1 | -7/+7 |
| | | | | server config | ||||
* | rm the right file when working with v6 bogons. | jim-p | 2012-01-03 | 1 | -1/+1 |
| | | | | Reported-by: http://forum.pfsense.org/index.php?topic=43334.new;topicseen#new | ||||
* | Add the bogonsv6 table for the IPv6 bogons | Seth Mos | 2011-01-26 | 1 | -0/+23 |
| | |||||
* | Do not remount ro twice | sullrich | 2009-11-27 | 1 | -3/+0 |
| | |||||
* | Download and verify the bogons md5 with the bogons files Ticket #141 | sullrich | 2009-11-27 | 1 | -6/+23 |
| | |||||
* | Fix bogons update in GUI without duplicating logic | Chris Buechler | 2009-08-20 | 1 | -6/+5 |
| | |||||
* | Move sleep to correct location | Scott Ullrich | 2009-08-20 | 1 | -4/+3 |
| | |||||
* | Do not sleep if /var/run/donotsleep_bogons exists. For some reason the ↵ | Scott Ullrich | 2009-08-20 | 1 | -1/+3 |
| | | | | first argument is not being passed when ran from webConfigurator | ||||
* | Only echo out when we are sleeping | Scott Ullrich | 2009-08-20 | 1 | -2/+1 |
| | |||||
* | Do not sleep if an argument is passed | Scott Ullrich | 2009-08-20 | 1 | -1/+1 |
| | |||||
* | Skip sleep if argument is specified, and update bogons at end of setup wizard. | Chris Buechler | 2009-06-24 | 1 | -2/+4 |
| | |||||
* | Add missng ` | Scott Ullrich | 2009-03-24 | 1 | -1/+1 |
| | |||||
* | Simplify (and really) sleep correctly to avoid hammering files.pfsense.org | Scott Ullrich | 2008-07-06 | 1 | -2/+2 |
| | |||||
* | Echo out to system logs exactly what is going on during bogons update | Scott Ullrich | 2008-05-02 | 1 | -0/+6 |
| | |||||
* | * Increase random window *4 | Scott Ullrich | 2008-05-02 | 1 | -1/+3 |
| | | | | * Relaunch the update bogons script again if it fails | ||||
* | correct bogons file location | Chris Buechler | 2008-02-03 | 1 | -2/+2 |
| | |||||
* | Switch to a more random number between 1-2,000. that'd be somewhere between | Scott Ullrich | 2007-11-28 | 1 | -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.org | Scott Ullrich | 2007-11-27 | 1 | -1/+1 |
| | | | | Requested-by: CMB | ||||
* | Use files.pfsense.org | Scott Ullrich | 2007-11-27 | 1 | -1/+1 |
| | | | | Requested-by: CMB | ||||
* | Log how many changes are made to bogons file. | Scott Ullrich | 2007-11-27 | 1 | -1/+2 |
| | |||||
* | Throw an error when we cannot download bogons file instead of blindly ↵ | Scott Ullrich | 2007-11-27 | 1 | -0/+5 |
| | | | | assuming it succeedded. | ||||
* | Actually generate a random number | Scott Ullrich | 2007-11-27 | 1 | -5/+2 |
| | |||||
* | * Download bogons entries from pfsense.com | Scott Ullrich | 2007-11-27 | 1 | -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 included | Scott Ullrich | 2006-09-12 | 1 | -1/+1 |
| | | | | Submitted-by: XAI via IRC | ||||
* | MFC 9473 | Scott Ullrich | 2006-01-18 | 1 | -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.sh | Scott Ullrich | 2005-07-13 | 1 | -0/+10 |