summaryrefslogtreecommitdiffstats
path: root/etc/inc/upgrade_config.inc
Commit message (Collapse)AuthorAgeFilesLines
* s/unlink/unlink_if_exists/Renato Botelho2014-03-031-2/+2
|
* Provide upgrade code after changes done for Ticket #3441Ermal2014-02-171-0/+16
|
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-3/+3
| | | | | | | | | | exec() calls by php functions like symlink, copy, unlink, mkdir Conflicts: etc/inc/filter_log.inc etc/inc/interfaces.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc
* Make sure to give the zone a name during the upgrade, or else it comes ↵jim-p2013-12-231-0/+1
| | | | through with a blank/null name.
* Set default value to radius_protocol during upgrade, it should fix #3226Renato Botelho2013-10-111-0/+2
|
* Needs parensjim-p2013-10-101-1/+1
|
* Remove newsyslog cron job on upgrade, if present.jim-p2013-10-101-0/+5
|
* Add upgrade code to change the DHCP next-server value to nextserver since it ↵jim-p2013-10-101-0/+10
| | | | was renamed sometime in 2.1 but upgrade code didn't follow.
* Alix 2D6 crashes upgrade process withou out of diskspaceXon2013-09-191-1/+3
| | | | | | Updating the the RRD graphs causes two copies of each RRD's XML file to be stored in /tmp. On Nanobsd, the default /tmp size is 40mb. It doesn't require very many RRD XML dumps before this is exhausted.
* Disable kill_states by default on upgrade, it fixes #3183Renato Botelho2013-09-061-0/+6
|
* Fix #3004:Renato Botelho2013-09-031-10/+5
| | | | | | . Create a function to replace strings on deep associative arrays . Use the recent created function array_replace_values_recursive to fix VIP interface names instead of touch config.xml directly
* Make sure RRD data is restored from backup before upgrading data and a new ↵Renato Botelho2013-09-031-0/+22
| | | | backup is done after. It should fix #2159
* Add independent logging choices to disable logging of bogon network rules ↵jim-p2013-07-091-0/+8
| | | | and private network rules. Add upgrade code to obey the existing behavior for users (if default block logging was disabled, so is bogon/private rule blocking). Also add a checkbox to disable the lighttpd log for people who don't want their system log spammed by lighty.
* Repect global conf_pathRenato Botelho2013-07-021-1/+1
|
* Don't flip the IPv6 allow setting just because people are upgrading. Just ↵Chris Buechler2013-06-171-3/+1
| | | | upgrading versions shouldn't change this behavior. As much as most of us would like people to start deploying IPv6, the vast majority aren't going to be immediately post-upgrade, and changing this can change the firewall policy behavior by allowing v6 that previously wasn't allowed. Upgrades should never change the firewall behavior like that. At the time it was done, everyone using the 2.1 code base was using it for IPv6, so of course it tripped up quite a few people.
* Fixes #2979Renato Botelho2013-05-291-0/+27
| | | | | | | . Change max value for traffic and packets graphs to 20GigE . Bump config version to 9.6 . Write a config upgrade function to tune current rrd files to the new max value
* Fix IPv6 Prefix ID default valueRenato Botelho2013-05-061-0/+12
| | | | | | | . Always initialize it to 0 when it's undefined . Remove unecessary initializations and checks . Bump config version to 9.5 . Write an upgrade config function to initialize old configs properly
* Install Plan B for upgrading the RRD files to the newer format to add IPv6 ↵smos2013-04-161-42/+106
| | | | | | | | fields. We now perform a search and replace on the XML contents to add fields instead of reading the XML into a PHP array. A conversion with a 2.0 config on a 128MB VM without swap is succesful, needs more testing. Ticket #2950
* Sprinkle some unset to reduce footprintErmal2013-04-121-17/+25
|
* Upgrade code & config default versionN0YB2013-02-091-0/+10
|
* Adjust RRD captive portal graphs for CP zonesRenato Botelho2013-02-061-0/+13
| | | | | | | | | - Create RRD configs per zone - Add tabs to see graphs per zone - Migrate existing rrd files to default cpZone - While I'm here, call unset() for $rrdcreate and $rrdupdatesh Resolves #2655
* Fix rrd databases upgrade. Helps ticket #2651Renato Botelho2013-01-281-4/+2
| | | | | | - Replace find that was being called with wrong parameters at upgrade_054_to_055() and upgrade_080_to_081() by return_dir_as_array() call.
* Fix indent and remove trailing tabs and whitespacesRenato Botelho2013-01-211-85/+88
|
* Fix outbound NAT rules when interface is deleted:Renato Botelho2013-01-051-0/+13
| | | | | | | | | | - When delete interface, do not touch outbound NAT rules - Skip outbound NAT rules when interface doesn't exist - Bump latest_config to 9.2 - Since rules with no interface were considered as wan, convert old rules adding interface 'wan' to avoid breaking old configs It should fix #2338
* Make limiters have a schedule specified which applie bandwidth limits during ↵Ermal2012-10-091-0/+18
| | | | that period
* Due to the DHCP pool tag needing to be an array, rename the old LB "pool" ↵jim-p2012-09-261-0/+17
| | | | variable to something else so it's not interpreted as an array.
* Ensure this gets a set default value or things can breakjim-p2012-08-011-0/+3
|
* Remove ca referencebcyrill2012-07-031-3/+0
|
* Implement certificate chain in Captive Portalbcyrill2012-07-031-12/+20
|
* Use Certificate Manager in Captive Portal settingsbcyrill2012-07-021-0/+39
|
* Change ereg_replace to preg_replace() functionccesario2012-06-301-1/+1
|
* Generalize the Crypto hardware option and add GUI support for AES-NI.jim-p2012-06-121-1/+7
|
* Make sure we tag all 2.0 gateways as being IPv4, in 2.1 we require this tag ↵smos2012-06-081-0/+10
| | | | | | to be present for the gateways. This should prevent duplicate gateway entries for people coming from 2.0 that have dynamic interfaces
* Correct upgrade code from report of ↵Ermal2012-06-061-5/+14
| | | | http://forum.pfsense.org/index.php/topic,50182.0.html
* Fixes #2428. Reference limiters in rules by name to avoid issues. Also put ↵Ermal2012-06-011-0/+40
| | | | upgrade code for existing configs. The same fix is necessary for 2.0.x though not sure how this should be committed there.
* Include util.inc and IPv6.inc before config.lib.inc.smos2012-06-011-1/+0
| | | | Several parts of the config upgrade relay on functions in these.
* Make sure we include "util.inc" during config upgrade. We need is_ipaddrv4() ↵smos2012-06-011-0/+1
| | | | during upgrade which is triggered from gwlb.inc
* Rename old RRD quality database to the new GW name so we continue the graph.smos2012-05-311-0/+7
|
* Fix reference updating for when more than one carp vip exists. Skip the ↵Erik Fonnesbeck2012-05-231-5/+9
| | | | upgrade code if no carp vip defined. Ticket #2445
* Add missing declaration for global variable $g where it is used.Erik Fonnesbeck2012-05-231-2/+2
|
* Fix name of the config section for virtual IPs in upgrade code. Ticket #2445Erik Fonnesbeck2012-05-231-2/+2
|
* Check the surrounding characters to not allow partial matches. Ticket #2445Erik Fonnesbeck2012-05-231-1/+1
|
* Revert "Rather do a fix by going through vips in reverse order"Erik Fonnesbeck2012-05-231-4/+1
| | | | This reverts commit d996dfeab2ec40cf3fb44b51811333b40ed5073f.
* Do this only for carp type vipsErmal2012-05-231-1/+4
|
* Rather do a fix by going through vips in reverse orderErmal2012-05-231-3/+5
|
* Since this is an interface to avoid issues arising from vip1 and vip11 ↵Ermal2012-05-231-1/+1
| | | | existing and replacing vip1 will replace even vip11, put on the regex <(starting close tag).
* Move vip upgrade code to be later, since it was backed out of 2.0.x it no ↵jim-p2012-05-231-15/+16
| | | | longer needs to be so early, and otherwise there can be some breakage/fallout. Ticket #2445
* Ooops use correct name for vipsErmal2012-05-231-2/+1
|
* Oops this should be sed and not sh. Fixes #2445Ermal2012-05-231-1/+1
|
* Make sure to push elements we don't recognize on the stack too.smos2012-04-181-0/+2
|
OpenPOWER on IntegriCloud