summaryrefslogtreecommitdiffstats
path: root/etc/inc/upgrade_config.inc
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Make vips vhid be unique per parent interface!" - per cmb, this ↵jim-p2012-05-081-18/+0
| | | | | | | | | | | | should not have been on RELENG_2_0 see ticket #2415 This reverts commit 4d0c032c528b10221a2ef894b5eca34f6fda39a7. Conflicts: etc/inc/openvpn.inc etc/inc/upgrade_config.inc etc/rc.filter_synchronize
* Reread config after doing footshootingErmal2012-04-051-1/+2
|
* Make vips vhid be unique per parent interface!Ermal2012-04-051-0/+16
|
* PPTP upgrade needs to declare $config a global.jim-p2012-02-011-0/+1
|
* Fix LZO setting for Upgraded OpenVPN (was turning compression on even if old ↵jim-p2012-01-251-2/+2
| | | | config had it disabled.)
* Fix upgrade code for 1.2.3 with assigned OpenVPN interface.jim-p2012-01-251-10/+8
|
* Don't ignore when multiple OpenVPN DNS, NTP, WINS, etc servers were ↵jim-p2012-01-251-8/+58
| | | | specified in 1.2.3 when upgrading. 1.2.3 separated by ;, 2.x uses separate vars.
* Safer for 1.2.3 upgrades to assume OpenVPN interface == any, since 1.2.3 ↵jim-p2012-01-251-1/+1
| | | | didn't have a way to bind to an interface. Otherwise people accepting connections on opt interfaces on 1.2.3 will break on upgrade until the proper interface is selected in the GUI
* Convert MTU from 1.2.3 to MSS on 2.0, fixes #1886jim-p2011-11-011-0/+11
|
* Fix SMTP monitor check in upgrade code, too.jim-p2011-11-011-2/+2
|
* Increase the GROW for the 60 minute RRA so that we have atleast 2160 entries ↵smos2011-10-261-1/+1
| | | | for 3 months worth of data.
* Add back the accidentally removed xml rrd restore line, otherwise we still ↵smos2011-10-261-0/+2
| | | | | | don't have the new RRD file Ticket #1758
* Correct typo in command.smos2011-10-251-1/+1
| | | | Ticket #1758
* Ok, let's try not to corrupt the RRD files on upgrade. Leave the RRA ↵smos2011-10-251-2/+7
| | | | | | | archives for the 720 minutes average at 1000. Then run a rrdtool resize command to grow the RRA by 1000 and 2000 for the 60 and 720 average respectively. Attempts to further fix ticket #1758
* Modify code to remove memory usage to prevent a Out of Memory condition when ↵smos2011-10-181-12/+14
| | | | | | upgrading the RRD database on a 128MB system. Ticket #1758
* Move the old databases to the backup folder in confsmos2011-10-131-1/+1
| | | | Fixes ticket #1758
* Restore the RRD backup before attempting a migration as this bites the ↵smos2011-10-131-0/+14
| | | | | | | nanobsd users. We immediately backup the new databases to a new rrd.tgz file. The old database will be moved to /root Fix for ticket #1758
* Check if an item is an array before treating it as such in the upgrade code.jim-p2011-06-291-2/+2
|
* Add proper checks in auth code for testing if the section has been set in ↵Ermal2011-06-281-0/+6
| | | | the config. Also do the same in the ugprade code
* In upgrade code for server load balancing, set redirect_mode. Also in the ↵jim-p2011-06-271-0/+2
| | | | backend code, assume redirect_mode as the default if it's not set.
* Fix off-by-one in OpenVPN "local" to "ipaddr" conversion.jim-p2011-06-261-2/+2
|
* Add LB monitor types to config during upgrade, or they will be missing from ↵jim-p2011-06-241-0/+40
| | | | boxes upgraded from 1.2.3.
* Upgrade sync username to latest config version.Ermal2011-06-141-0/+11
|
* Rather make use of $global variable for RRD path.Warren Baker2011-05-261-1/+2
|
* Remove out-dated RRD file as it will cause broken images to appear on RRD ↵Warren Baker2011-05-261-0/+6
| | | | graphs page.
* When converting 1.2.3 LB pools to 2.0 gateway groups, strip invalid ↵jim-p2011-05-181-1/+19
| | | | characters from the group names and update any rules referencing the old name. Fixes #1515
* Fix PPTP server radius settings upgrade from 1.2.3. Fixes #1292jim-p2011-05-181-0/+17
|
* Remove rndtest sysctl since the kernel module is not anymore part of our ↵Ermal2011-04-281-4/+0
| | | | kernels. Leftover noticed by: Jim
* Fix PPPoE upgrade, the <pppoe> tag is considered an array these days and the ↵jim-p2011-04-211-6/+6
| | | | upgrade code wasn't treating it properly, accessing it directly instead of using the first entry ([0]). Fixes #1439 - PPPoE credentials upgrade properly now.
* CRL is read in as an array now, so even in the imported config it will ↵jim-p2011-04-061-2/+2
| | | | appear to be an array even though it can only have one value. Fixes #1358
* Check for "aes 256" as IPsec encryption type, not just rijndael.jim-p2011-03-291-0/+4
|
* Add some upgrade code for IPsec mobile clients. Passes php -l but needs more ↵jim-p2011-03-291-0/+134
| | | | testing.
* Keep a table of gateways we added for static routes to prevent us from ↵smos2011-03-161-1/+8
| | | | making multiple entries to the same IP address
* Only change protocol if it's set and not empty.jim-p2011-03-041-1/+2
|
* Add upgrade code to ensure rule protocols are all lower case.jim-p2011-03-031-0/+7
|
* Fix admins group permission setting when upgrading from 1.2.3.jim-p2011-02-251-1/+1
|
* Correct IPsec carp interface upgrade code, off by onesmos2011-02-251-1/+1
|
* Use full path to pwjim-p2011-02-241-2/+2
|
* Add missing _relayd group, and when upgrading from 1.2.3, add _relayd group ↵jim-p2011-02-241-0/+2
| | | | and user.
* Correct the vlan upgrade code to continue when we fixed up the interfacesmos2011-02-241-2/+4
|
* Correct the config path to the vip arraysmos2011-02-231-1/+1
|
* Attempted fix that should convert the old carp[$i] naming to vip[$vhid]smos2011-02-231-0/+5
|
* Make sure we iterate by the vlan number lest we end up with a empty ↵smos2011-02-231-3/+4
| | | | variable? Hopefully fix new vlan name not being assigned to interfaces section
* Correct the gateway group member name to the correct GW_". strtoupper($if) ↵smos2011-02-231-1/+1
| | | | | | uppercase. This fixes outbound load balancer pools upgraded from 1.2.3 not working
* Do not rely on php new foreach by reference and use the old method of ↵Ermal2011-02-161-8/+6
| | | | chaning array members by using full path. This fixes nat 1:1 upgrades.
* Add the cron job a different way. There have been a couple reports of losing ↵jim-p2011-01-181-2/+10
| | | | CAs during the config upgrade and this was the only added function at the time.
* Bump config version, add upgrade code to setup cron job for URL table update ↵jim-p2011-01-101-0/+5
| | | | script.
* Ticket #491. Correct username/password name fields so upgrade works correctly.Ermal2011-01-051-2/+2
|
* Forgot to up the array count.Warren Baker2011-01-041-3/+3
|
* Add kern.ipc.maxsockbuf to upgrade config and remove extra whitespace.Warren Baker2011-01-041-1/+5
|
OpenPOWER on IntegriCloud