summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/upgrade_config.inc
Commit message (Collapse)AuthorAgeFilesLines
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Code style and commentsPhil Davis2016-08-161-1/+1
| | | | | | No functional change - just making style consistent (cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)
* Review license / copyright on all files (1st round)Renato Botelho2016-07-141-41/+39
|
* Add upgrade code to clean up the old GRE/GIF flags that are no longer used. ↵jim-p2016-07-111-0/+24
| | | | Ticket #6586 and Ticket #6587
* Always use require_oncePhil Davis2016-06-271-2/+2
| | | | | | | | | The usage of require() and require_once() throughout the system is inconsistent, and "bugs" come up now and then when the order of "requires" is a bit different and some require() happens after the include file is already included/required. It seems to me that there is no harm at all in always using require_once().
* Tweak upgrade - Remove unused code and document changes betterNewEraCracker2016-05-111-9/+7
| | | | This will ensure a smooth upgrade for those running config 15.4 to any next version.
* Revert "Add config upgrade code to update package names. Ticket #6118"Chris Buechler2016-05-111-13/+0
| | | | This reverts commit 291fad43870bdb39ef0ab32125b022e268a29cf7.
* Update L7 config upgrade code removal. Only file notice if it was actually ↵Chris Buechler2016-05-081-1/+5
| | | | in use, otherwise it just confuses people.
* Add config upgrade code to update package names. Ticket #6118Chris Buechler2016-05-081-0/+13
|
* Don't foreach unless it's an array. Ticket #6142Phil Davis2016-04-231-58/+60
| | | | Similar thing to https://github.com/pfsense/pfsense/commit/13dab3538fe8b6c1688142c89a017520ad0aaac6 should be done here in upgrade_130_to_131()
* Add config upgrade code for CARP IPs on gateway groups, GRE and gif. Ticket ↵Chris Buechler2016-04-221-0/+54
| | | | #6222
* Don't foreach unless it's an array. Ticket #6142Chris Buechler2016-04-221-37/+39
|
* Update VIPs CARP parent on upgrade. Ticket #6164Chris Buechler2016-04-221-0/+16
|
* Periodic RRD & DHCP Leases RAM Disk BackupNOYB2016-04-211-0/+12
| | | | Remove these cron jobs on full install if not using ramdisk.
* Add checks in case there are dpinger param problemsPhil Davis2016-04-201-0/+59
| | | | | | | in 2.3 installations that were upgraded from 2.2.* when the apinger to dpinger params conversion code in upgrade_130_to_131() was not so good. (cherry picked from commit f8f2eae491ac44ac5cdbd1fd3d38d7c2c36f48f8)
* Fix #6142 validate and adjust dpinger params on upgradePhil Davis2016-04-151-1/+46
| | | | | | | | | | | | | | | | | | | | 1) The previous "down" value was being converted to msec and put into "loss_interval". It should go into "time_period". 2) loss_interval must always be at least latencyhigh - make it so if latencyhigh is big. 3) alert_interval must always be at least probe interval - make it so if the probe interval is high. 4) The time_period for averaging the results must be at least 2 probe intervals plus loss_interval (ensuring there should always be 2 probe results by the time_period expiry) - make it so. These various conditions taken from the validation code in system_gateways_edit.php Note: I have explicitly put the necessary default dpinger parameter values here, rather than calling return_dpinger_defaults() because at this point in any future conversion we want to use these particular numbers, not what the defaults happen to be in pfSense 2.4 or 3.0 or...
* Correct OpenVPN upgrade code for topology subnet.jim-p2016-04-131-1/+2
|
* Merge pull request #2831 from NOYB/Includes_-_Remove_PersonalizationsStephen Beaver2016-04-041-1/+1
| | | | (cherry picked from commit 7a2c15f527459cc82aadaf23d06895174c008320)
* Bring back rainterface, add config upgrade to convert to new _vip format. ↵Chris Buechler2016-03-291-0/+14
| | | | Ticket #6043
* fix styleChris Buechler2016-03-291-2/+3
|
* Rather than renaming groups with spaces, mark their scope as remote. Ticket ↵Chris Buechler2016-03-291-8/+1
| | | | #6012
* Add brackets for clarityPhil Davis2016-03-291-1/+1
| | | | | | | Add some extra brackets for clarity, rather than relying on the operator precedence rules. IMHO this makes it more readable, and no need for the reader to wonder if anything might go wrong with the operator precedence.
* Set the ALTQ root queue bandwidth.Luiz Otavio O Souza2016-03-281-0/+27
| | | | | | Whenever possible set it to 1Gb, if the sum of child queues if higher than 1Gb, set it the correct value so we do not break any existing setup. Ticket #5721
* If there was a group with a space, delete all the user-defined groups before ↵Chris Buechler2016-03-201-0/+13
| | | | hitting local_sync_accounts so pw doesn't get hung up. Ticket #6012
* Save changes to config in 148 config upgrade. Ticket #6012Chris Buechler2016-03-191-7/+10
|
* Ensure replacement group name is uniqueStephen Beaver2016-03-191-0/+13
|
* Fixed #6012Stephen Beaver2016-03-191-6/+17
| | | | Config upgrade function replaces space with underscore in group names
* Add the upgrade code for OpenBGPd and Quagga OSPF packages.Luiz Otavio O Souza2016-02-241-0/+54
| | | | Ticket #5884
* Merge branch 'master' of github.com:dennypage/pfsenseRenato Botelho2016-02-221-0/+70
|\ | | | | | | | | | | | | * 'master' of github.com:dennypage/pfsense: Add stddev information to the quality graphs. Update config version to trigger upgrade of rrd files Add standard deviation to quality rrd files
| * Merge branch 'master' of https://github.com/pfsense/pfsenseDenny Page2016-02-191-6/+4
| |\
| * | Add standard deviation to quality rrd filesDenny Page2016-02-121-0/+70
| | |
* | | Add config upgrade code to enable and configure DHCPv6 server and radvd ↵Chris Buechler2016-02-201-0/+21
| |/ |/| | | | | where track6 is in use, as they were automatically configured previously. Add same config to default config.xml to retain existing behavior there. Ticket #3029
* | Internationalize etc inc uvxPhil Davis2016-02-191-6/+4
|/
* Fixed #5873Stephen Beaver2016-02-101-19/+24
|
* Fix style issues.Chris Buechler2016-02-091-18/+29
|
* Add the configuration upgrade code to make sure the existent settings will ↵Luiz Otavio O Souza2016-02-091-0/+102
| | | | | | work after the last changes. The CARP part of this code should be added together with the initial uniqid changes.
* Bring NAT separators into the fold.NOYB2016-02-081-17/+27
| | | | Also add config empty test to upgrade script.
* Firewall / Rules - Page Efficiency UpgradeNOYB2016-02-081-0/+31
| | | | | | | | | | | | 1) Only load the rules of the selected interface instead of loading all the rules of all interfaces and hiding them. Very inefficient and can result in sluggishness. Especially with large number of rules and/or large alias tables. 1.1) Rule separators indexed to their position within their interface so they work with only loading the selected interface rules. 2) Supports consecutive separators. 3) Fixes #5559 - horizontal scrollbar when no rules to display (all hidden). No longer hiding rules. 4) Corrects case where a single rule defined on any interface would prevent the alert messages from being displayed on all interfaces.
* Remove old pppoerestart cron job if it exists. Ticket #1905Chris Buechler2016-02-021-0/+10
|
* Change Namecheap dyndns to use split hostname and domain name fields. ↵jim-p2016-02-011-0/+23
| | | | | | Upgrade existing entries automatically. Implements #4366 Code should be generic enough that if other DynDNS providers would work better with a separate domain field, they can pick up the feature without too much trouble.
* OpenVPN server config upgrade already handled in 129_to_130. Ticket #5764Chris Buechler2016-01-291-9/+1
|
* Make sure filter rules have a tracker ID, associated rules were missing it ↵Chris Buechler2016-01-291-2/+15
| | | | previously.
* retain OpenVPN's net30 default topology for upgraded configs so they still ↵Chris Buechler2016-01-291-0/+21
| | | | work. Ticket #5764
* Add uniqid tag to CARP VIPs that don't have one upon upgrade. Ticket #4858Chris Buechler2016-01-251-0/+14
|
* Fix up config setting for killing states on gateway failure. Enable this ↵Chris Buechler2016-01-251-3/+14
| | | | option where gw_down_kill_states is set. Flip setting accordingly during config upgrade to not use confusing 'kill_states' tag to not kill states. Ticket #5815
* Switch to disabling strongswan unity plugin by default. Ticket #4178Chris Buechler2016-01-231-0/+12
|
* Bring text to current realityRenato Botelho2016-01-181-1/+1
|
* Encode DHCP/DHCPv6 server additional BOOTP text options before save to XML ↵Renato Botelho2016-01-151-0/+29
| | | | to preserve data. It fixes #5623
* Add config upgrade code to remove L7 config pieces, and file a notice where ↵Chris Buechler2016-01-141-0/+16
| | | | found. Ticket #5508
* Fix whitespace in upgrade_118_to_119jim-p2016-01-131-3/+3
|
OpenPOWER on IntegriCloud