Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include ipsec.inc here otherwise the global is undefined when called when ↵ | jim-p | 2015-12-04 | 1 | -0/+1 |
| | | | | restoring a config in the GUI. | ||||
* | fix whitespace | Chris Buechler | 2015-11-02 | 1 | -5/+5 |
| | |||||
* | fix logging config upgrade. Ticket #5340 | Chris Buechler | 2015-10-26 | 1 | -2/+2 |
| | |||||
* | Use 1-6 rather than 0-5 for IPsec logging levels, to stay away from ↵ | Chris Buechler | 2015-10-26 | 1 | -0/+17 |
| | | | | complications of 0 due to PHP stupidity. Upgrade config to add 1 to any configured log levels. Default to 1 as log level where none is configured by the user. Ticket #5340 | ||||
* | IKE auto mode is back, remove this config upgrade code unsetting it. | Chris Buechler | 2015-10-24 | 1 | -4/+0 |
| | |||||
* | Protect unset() with isset() for RELENG_2_2 | Phil Davis | 2015-08-28 | 1 | -34/+69 |
| | | | Backport of https://github.com/pfsense/pfsense/pull/1821 to RELENG_2_2 | ||||
* | add a check to avoid foreach on non-arrayRELENG_2_2_4 | Chris Buechler | 2015-07-27 | 1 | -0/+4 |
| | |||||
* | Upgrade config to 11.9. Changes IPsec peer ID for EAP types to "any", to ↵ | Chris Buechler | 2015-07-25 | 1 | -0/+13 |
| | | | | retain previous behavior. | ||||
* | change iketype auto to ikev2 on upgrade. Ticket #4873 | Chris Buechler | 2015-07-23 | 1 | -0/+5 |
| | |||||
* | Unset old CA and Cert in left system config | Phil Davis | 2015-07-21 | 1 | -0/+8 |
| | | | | Unset any old CA and Cert in the system section that might still be there from when upgrade_066_to_067 did not unset them. That will tidy up old configs that had the conversion done originally but these old sections were left behind. | ||||
* | Allocate dnpipe and dnqueue numbers even if no filter rules | Phil Davis | 2015-07-21 | 1 | -2/+3 |
| | | | | It would be quite unusual to have no filter rules array, but if that is indeed the case then the first part of this code that sets dnpipe and dnqueue numbers should execute anyway. | ||||
* | Captive Portal zoneid upgrade fix var name typo | Phil Davis | 2015-07-21 | 1 | -1/+1 |
| | | | With the typo, this empty() test would always have been true. So maybe on upgrade some existing captive portal zoneid values have been getting overwritten by this even number counter? Or? | ||||
* | Fix #4794: | Renato Botelho | 2015-07-17 | 1 | -0/+21 |
| | | | | | - Add a upgrade code to fix asn1dn string format to match strongSwan needs - Bump config version to 11.8 | ||||
* | Fix up Ticket #4504 implementation. Match config style with other areas. Use ↵ | Chris Buechler | 2015-04-04 | 1 | -3/+0 |
| | | | | a config setting to disable, rather than enable, this functionality since it's enabled by default so the tag isn't necessary in the default config. Remove now unnecessary config upgrade code. | ||||
* | Ticket #4504 actually make it correct | Ermal LUÇI | 2015-04-03 | 1 | -1/+3 |
| | |||||
* | Upgraded configurations should keep the default configuration of bypassing ↵ | Ermal LUÇI | 2015-04-03 | 1 | -0/+2 |
| | | | | lan from ipsec. Ticket #4504 | ||||
* | dns_split was a comma separated list and moved to use space as separator, ↵ | Renato Botelho | 2015-03-06 | 1 | -0/+13 |
| | | | | provide upgrade code to make sure old configs are converted. Since there was a config upgrade version 11.7 only on master, I pushed it to 11.8 and used dns_split one as 11.7 to be able to backport it to RELENG_2_2. Ticket #4418 | ||||
* | Ancient bug on upgrade_014_to_015 | Phil Davis | 2015-03-02 | 1 | -1/+1 |
| | | | | | | | | | | | This code looked silly the way it was, with the construct: $var = $var; unset($var); Seems it was accidentally changed to this way many years ago by https://github.com/pfsense/pfsense/commit/588a183b0e58f09932ffef35cc0003cca2313aba IMHO we want to do the conversion to $config['system']['gateway'] here so that later config conversion will then process it as expected. Note that in a current (2.2) config there is not $config['system']['gateway'] but that is switched over later in upgrade_021_to_022 - which switches back to $config['interfaces']['wan']['gateway'] and then later config conversions do their thing with that. I guess this will only effect people who upgrade from some really old config (or monowall?) | ||||
* | Random text typos | Phil Davis | 2015-02-11 | 1 | -3/+3 |
| | | | | that I noticed. | ||||
* | To avoid issues with clashing SAIDs go back to specifying the reqid in ↵ | Ermal LUÇI | 2015-01-13 | 1 | -0/+13 |
| | | | | | | | | | strongswan config. To be able to manage this first upgrade the config to assign each phase2 an reqid Second use that during config generation Ticket #4208 | ||||
* | Fix #4090: | Renato Botelho | 2015-01-05 | 1 | -0/+7 |
| | | | | | | | | | - Unbound advanced options may contain double quotes and it breaks the syntax when a backup is restored because newlines are trimmed. Save it in base64 format is a safe way to prevent it - Bump config version to 11.5 - Provide upgrade code to encode current config or the one that came from unbound package on 2.1.5 | ||||
* | It's supposed to remove windows EOL here, not ; | Renato Botelho | 2015-01-05 | 1 | -1/+1 |
| | |||||
* | Fix lineup of copyright lines | Phil Davis | 2015-01-01 | 1 | -6/+7 |
| | | | | | and module names and other bits of formatting and typos in header comment sections. | ||||
* | Add config upgrade code to make sure iketype is set, bump config version to ↵ | Renato Botelho | 2014-12-31 | 1 | -0/+12 |
| | | | | 11.4. It fixes #4163 | ||||
* | Add config upgrade code to validate changes made on c2fe67eb and d269747b. ↵ | Renato Botelho | 2014-12-22 | 1 | -0/+16 |
| | | | | It fixes #4134 | ||||
* | Replace ; by newlines when upgrading custom_options from unbound packages, ↵ | Renato Botelho | 2014-12-18 | 1 | -0/+3 |
| | | | | it's related to ticket #4090 | ||||
* | Add a cron item to expire items from webConfiguratorlockout, also add config ↵ | Renato Botelho | 2014-12-17 | 1 | -0/+14 |
| | | | | upgrade code. This fixes #4122 | ||||
* | Use newline to separate unbound custom options during config upgrade, it ↵ | Renato Botelho | 2014-12-15 | 1 | -4/+4 |
| | | | | should fix #4104 | ||||
* | Unlink temporary xml file to avoid filling up space with junk files | Ermal LUÇI | 2014-12-01 | 1 | -0/+4 |
| | |||||
* | Do not run this during bootup | Ermal LUÇI | 2014-11-27 | 1 | -1/+2 |
| | |||||
* | Do not run this code during upgrade and if ost is booting up | Ermal LUÇI | 2014-11-27 | 1 | -4/+8 |
| | |||||
* | Rather than set the g['booting'] on globals provide a function to test for ↵ | Ermal LUÇI | 2014-11-26 | 1 | -6/+6 |
| | | | | that doing the right checks | ||||
* | Ticket 3967, revert upgrade code. Existing 2.2 installs might be impacted | Ermal | 2014-11-10 | 1 | -23/+1 |
| | |||||
* | Fix two more instances of rrd.tgz renaming. | jim-p | 2014-10-31 | 1 | -2/+2 |
| | |||||
* | Remove also old unbound startup script | Renato Botelho | 2014-09-25 | 1 | -0/+1 |
| | |||||
* | Remove unbound files, menu and service during config upgrade, otherwise ↵ | Renato Botelho | 2014-09-24 | 1 | -0/+28 |
| | | | | things can go really bad with functions redeclared un base and package unbound.inc and config corrupted when upgrading from 2.1.x with unbound installed to 2.2. PBI and package section are both removed later during package upgrade | ||||
* | Make sure unbound user and group is also created during upgrade config | Renato Botelho | 2014-09-23 | 1 | -0/+4 |
| | |||||
* | Provide upgrade config code to migrate unbound settings from 2.1 package to ↵ | Renato Botelho | 2014-09-23 | 1 | -0/+92 |
| | | | | 2.2 base. Bump config version to 11.1. It fixes #3880 | ||||
* | Use a uniqid() to track phase2 entries to avoid confustion and various ↵ | Ermal | 2014-08-01 | 1 | -0/+14 |
| | | | | mistakes when modifying and editing them. | ||||
* | Remove extra quote and fix syntax | Renato Botelho | 2014-07-06 | 1 | -1/+1 |
| | |||||
* | Use a php function rather tan using exec. Suggested-by: garga | Ermal | 2014-07-04 | 1 | -1/+1 |
| | |||||
* | Remove all .xml file generated from upgrade since it makes /var full | Ermal | 2014-07-04 | 1 | -0/+1 |
| | |||||
* | Fix dscp values and provide a config upgrade to fix values stored in ↵ | Renato Botelho | 2014-06-24 | 1 | -0/+17 |
| | | | | config.xml. This is a proper fix for #3688 | ||||
* | Change the option for webconfig login autocomplete from opt-in to opt-out, ↵ | Renato Botelho | 2014-06-18 | 1 | -0/+9 |
| | | | | also bump config version and write a function to keep the current status on upgrades | ||||
* | Properly handle this rename, and squelch errors if it fails. | jim-p | 2014-05-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1032 from fichtner/contributions manually since it does ↵ | Ermal | 2014-04-28 | 1 | -0/+4 |
| | | | | not apply cleanly | ||||
* | Do not allow upgrade_101_to_102 to exit early | Phil Davis | 2014-04-14 | 1 | -20/+18 |
| | | | | This upgrade step does both Captive Portal stuff and OpenVPN stuff. So do not return early just because there is no Captive Portal config. Both Captive Portal and OpenVPN tests changed to be positive tests, to make sure that everything is checked/tested and there is no chance to return early. | ||||
* | Provide upgrade code after changes done for Ticket #3441 | Ermal | 2014-03-14 | 1 | -0/+16 |
| | |||||
* | s/unlink/unlink_if_exists/ | Renato Botelho | 2014-03-03 | 1 | -2/+2 |
| | |||||
* | Merge 10 -> 10.1 and 10.1 -> 10.2 function upgrade since the recent changes ↵ | Ermal | 2014-02-17 | 1 | -5/+2 |
| | | | | done on 2.1.1 for Ticket #3441 |