summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
Commit message (Collapse)AuthorAgeFilesLines
* standardize URLsChris Buechler2014-03-141-1/+1
|
* Put a timeout of 30 seconds to aid with Ticket #3412Ermal2014-02-171-3/+3
|
* Make fc00::/7 private address space exclusion case insensitiveN0YB2013-04-141-2/+2
|
* Improve bogonsv6 checks during updatephildd2013-03-251-2/+2
| | | Improvements to using pfctl to check the existence of the bogonsv6 table.
* Do not bother with bogonsv6 if IPv6 allow is offphildd2013-03-241-6/+16
| | | Only implement the bogonsv6 table if IPv6 allow is on. Otherwise, if it looks like there would be room for the table in pf, then save the file anyway to /etc/bogonsv6 so it is there if the user switches on IPv6 allow.
* Update bogons update routinebcyrill2013-02-151-7/+18
|
* Update etc/rc.update_bogons.shbcyrill2013-01-161-2/+4
| | | The used version of sh does not support the fallthrough operator and function keyword.
* Avoid 'Cannot allocate memory' errorsbcyrill2013-01-071-22/+25
|
* Add support for compressed bogon filesbcyrill2013-01-071-16/+54
|
* Add back end support for custom bogon urlsbcyrill2013-01-071-18/+28
|
* Add label to each pfctl logged result line, not just the first one.N0YB2012-12-241-2/+2
| | | | With this, log filtering can find both the addresses added and deleted bogon records.
* pfctrl is comment aware (#).N0YB2012-12-181-1/+1
| | | | | Leave comments in place so last update info can be retrieved by diagnostics tables. Instead ensure private space is not included.
* switch to using the fullbogons-ipv4.txt from Cymru, and standardize paths to ↵Chris Buechler2012-12-091-8/+8
| | | | /lists/
* 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