Project

General

Profile

Download (110 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
0a9e6c85 04/05/2015 12:50 AM Chris Buechler

Fix up Ticket #4504 implementation. Match config style with other areas. Use 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.

8206b2d9 04/03/2015 06:11 PM Ermal Luçi

Ticket #4504 actually make it correct

74eaabbb 04/03/2015 06:10 PM Ermal Luçi

Upgraded configurations should keep the default configuration of bypassing lan from ipsec. Ticket #4504

877740ee 03/06/2015 02:28 PM Renato Botelho

dns_split was a comma separated list and moved to use space as separator, 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

751533a2 03/02/2015 06:54 PM Phil Davis

Code style etc inc u

839966e3 03/01/2015 03:46 PM Phil Davis

Ancient bug on upgrade_014_to_015

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...

f416763b 02/11/2015 07:07 AM Phil Davis

Random text typos

that I noticed.

ee874f47 02/05/2015 09:11 AM Bipin Chandra

remove empty values

remove empty values

b997da8b 02/05/2015 05:41 AM Bipin Chandra

upgrade config

upgrade config code so old entries not lost during upgrade

1fe208ec 01/13/2015 06:57 PM Ermal Luçi

To avoid issues with clashing SAIDs go back to specifying the reqid in 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

cfb5073f 01/05/2015 05:44 PM Renato Botelho

Fix #4090:

- 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...

fbf3d06e 01/05/2015 02:57 PM Renato Botelho

It's supposed to remove windows EOL here, not ;

ce77a9c4 01/01/2015 09:26 AM Phil Davis

Fix lineup of copyright lines

and module names and other bits of formatting and typos in header
comment sections.

368d4910 12/31/2014 02:54 PM Renato Botelho

Add config upgrade code to make sure iketype is set, bump config version to 11.4. It fixes #4163

ccf30846 12/22/2014 05:06 PM Renato Botelho

Add config upgrade code to validate changes made on c2fe67eb and d269747b. It fixes #4134

c23f4d8f 12/18/2014 03:51 PM Renato Botelho

Replace ; by newlines when upgrading custom_options from unbound packages, it's related to ticket #4090

b0885c5a 12/17/2014 06:17 PM Renato Botelho

Add a cron item to expire items from webConfiguratorlockout, also add config upgrade code. This fixes #4122

387ab31a 12/15/2014 06:42 PM Renato Botelho

Use newline to separate unbound custom options during config upgrade, it should fix #4104

7ceff68a 12/01/2014 09:02 AM Ermal Luçi

Unlink temporary xml file to avoid filling up space with junk files

f29e20a3 11/27/2014 07:46 AM Ermal Luçi

Do not run this during bootup

e546d2d1 11/27/2014 07:41 AM Ermal Luçi

Do not run this code during upgrade and if ost is booting up

285ef132 11/26/2014 12:10 PM Ermal Luçi

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

6f55af1c 11/10/2014 02:20 PM Ermal LUÇI

Ticket 3967, revert upgrade code. Existing 2.2 installs might be impacted

8560c756 10/31/2014 02:26 PM Jim Pingle

Fix two more instances of rrd.tgz renaming.

b4db2d0e 09/25/2014 11:13 AM Renato Botelho

Remove also old unbound startup script

c11b7ffe 09/24/2014 09:43 PM Renato Botelho

Remove unbound files, menu and service during config upgrade, otherwise 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

bdbb4dba 09/23/2014 12:08 PM Renato Botelho

Make sure unbound user and group is also created during upgrade config

3f257101 09/23/2014 11:57 AM Renato Botelho

Provide upgrade config code to migrate unbound settings from 2.1 package to 2.2 base. Bump config version to 11.1. It fixes #3880

9b915686 08/01/2014 08:39 PM Ermal LUÇI

Use a uniqid() to track phase2 entries to avoid confustion and various mistakes when modifying and editing them.

e7f65689 07/06/2014 07:25 PM Renato Botelho

Remove extra quote and fix syntax

3fe260c2 07/04/2014 07:53 PM Ermal LUÇI

Use a php function rather tan using exec. Suggested-by: garga

95cdee87 07/04/2014 02:51 PM Ermal LUÇI

Remove all .xml file generated from upgrade since it makes /var full

c15b5ed8 06/24/2014 03:00 PM Renato Botelho

Fix dscp values and provide a config upgrade to fix values stored in config.xml. This is a proper fix for #3688

08f30320 06/18/2014 11:21 AM Renato Botelho

Change the option for webconfig login autocomplete from opt-in to opt-out, also bump config version and write a function to keep the current status on upgrades

e1854cad 05/21/2014 05:29 PM Jim Pingle

Properly handle this rename, and squelch errors if it fails.

759a6fcf 04/28/2014 08:00 AM Ermal LUÇI

Merge pull request #1032 from fichtner/contributions manually since it does not apply cleanly

ee34e137 04/14/2014 11:23 AM Phil Davis

Do not allow upgrade_101_to_102 to exit early

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.

20dad315 03/14/2014 01:42 PM Ermal LUÇI

Provide upgrade code after changes done for Ticket #3441

48047e3f 03/03/2014 07:21 PM Renato Botelho

s/unlink/unlink_if_exists/

eae91304 02/17/2014 09:59 AM Ermal LUÇI

Merge 10 -> 10.1 and 10.1 -> 10.2 function upgrade since the recent changes done on 2.1.1 for Ticket #3441

873c1701 02/04/2014 02:34 PM Renato Botelho

Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir

31dce430 12/31/2013 12:28 PM Ermal LUÇI

Upgrade all firewall rules to include a tracker field. Add a tracker field even for nat for later usage while here.

fd34b8b5 12/24/2013 05:27 PM Renato Botelho

Fix syntax

26b6e758 12/23/2013 04:16 PM Jim Pingle

Make sure to give the zone a name during the upgrade, or else it comes through with a blank/null name.

e7d35d84 12/18/2013 01:50 PM Ermal LUÇI

Convert ipaliases over carp to new world order

0a806969 11/25/2013 02:06 PM Ermal LUÇI

Since zoneid need to be less then 4096 provide some upgrade code to handle that from existing configs

7997ed44 11/15/2013 09:21 PM Renato Botelho

Many fixes on privileges, ticket #3216:

- Rename some privileges:
page-diag-system-activity => page-diagnostics-system-activity
page-interfacess-groups => page-interfaces-groups
page-interfacess-lagg => page-interfaces-lagg
page-interfacess-qinq => page-interfaces-qinq...

eef01b14 11/13/2013 09:45 AM Renato Botelho

Add hybrid and disabled outbound NAT, fixes #2416:

- Add 2 new outbound NAT modes, hybrid and disabled, manual and advanced
keep working the same way
- Hybrid mode applies manual rules first, automatic after
- Disabled do no create any outbound NAT rules...

edba1982 10/31/2013 06:50 PM Jim Pingle

Change OpenVPN Compression settings to cover the full range of allowed settings on OpenVPN (unset, off, on, adaptive) rather than a simple off/on switch that either doesn't set the value or enables it with adaptive (OpenVPN's default).

2d72659a 10/11/2013 12:19 PM Renato Botelho

Set default value to radius_protocol during upgrade, it should fix #3226

aa0753e3 10/10/2013 04:59 PM Jim Pingle

Needs parens

a3cc1409 10/10/2013 04:47 PM Jim Pingle

Add upgrade code to change the DHCP next-server value to nextserver since it was renamed sometime in 2.1 but upgrade code didn't follow. Also shuffle the upgrade code blocks a bit since we need these on 2.1.x and nobody should be on 2.2 yet, so the impact should be minimal to renumber the one bit specific to 2.2.

090b9a4a 10/09/2013 12:54 PM Jim Pingle

Remove newsyslog cron job on upgrade, if present.

73c569ea 09/15/2013 05:45 PM Xon

Alix 2D6 crashes upgrade process withou out of diskspace

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.

67e5e3c6 09/14/2013 02:17 PM Renato Botelho

Set action = pass for configured mac addresses on CP passtrumac

af0a477a 09/06/2013 04:58 PM Renato Botelho

Disable kill_states by default on upgrade, it fixes #3183

f2cc3344 09/03/2013 03:37 PM Renato Botelho

Fix #3004:

. 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

42ec9337 09/03/2013 11:55 AM Renato Botelho

Make sure RRD data is restored from backup before upgrading data and a new backup is done after. It should fix #2159

1cf24f0a 07/09/2013 04:02 PM Jim Pingle

Add independent logging choices to disable logging of bogon network rules 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.

5e3356d7 07/02/2013 04:22 PM Renato Botelho

Repect global conf_path

4cdf35a4 06/17/2013 05:32 AM Chris Buechler

Don't flip the IPv6 allow setting just because people are upgrading. Just 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.

fa3b33a5 05/29/2013 01:47 PM Renato Botelho

Fixes #2979

. 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

02203e6d 05/06/2013 04:01 PM Renato Botelho

Fix IPv6 Prefix ID default value

. 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

fcaa56b1 04/16/2013 12:04 PM Seth Mos

Install Plan B for upgrading the RRD files to the newer format to add IPv6 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....

17640b28 04/12/2013 08:07 AM Ermal LUÇI

Sprinkle some unset to reduce footprint

6015f75b 02/09/2013 11:04 PM N0YB

Upgrade code & config default version

cba9d7d9 02/06/2013 05:54 PM Renato Botelho

Adjust RRD captive portal graphs for CP zones

- 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

84683e42 01/28/2013 01:30 PM Renato Botelho

Fix rrd databases upgrade. Helps ticket #2651

- 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.

2d563280 01/21/2013 03:47 PM Renato Botelho

Fix indent and remove trailing tabs and whitespaces

e99ba2d6 01/05/2013 02:13 PM Renato Botelho

Fix outbound NAT rules when interface is deleted:

- 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...

c9ba2f8a 10/09/2012 05:44 PM Ermal LUÇI

Make limiters have a schedule specified which applie bandwidth limits during that period

6e9b046e 09/26/2012 05:20 PM Jim Pingle

Due to the DHCP pool tag needing to be an array, rename the old LB "pool" variable to something else so it's not interpreted as an array.

f7c8f633 08/01/2012 06:53 PM Jim Pingle

Ensure this gets a set default value or things can break

222e3527 07/03/2012 07:09 PM Cyrill B

Remove ca reference

adca02c4 07/03/2012 05:03 PM Cyrill B

Implement certificate chain in Captive Portal

36f6ed35 07/02/2012 08:20 PM Cyrill B

Use Certificate Manager in Captive Portal settings

aff670f6 06/30/2012 01:13 PM Carlos Cesario

Change ereg_replace to preg_replace() function

7530177c 06/12/2012 07:10 PM Jim Pingle

Generalize the Crypto hardware option and add GUI support for AES-NI.

ff6677cf 06/08/2012 12:41 PM Seth Mos

Make sure we tag all 2.0 gateways as being IPv4, in 2.1 we require this tag to be present for the gateways.
This should prevent duplicate gateway entries for people coming from 2.0 that have dynamic interfaces

628306af 06/06/2012 07:22 AM Ermal LUÇI

Correct upgrade code from report of http://forum.pfsense.org/index.php/topic,50182.0.html

85a236e9 06/01/2012 07:51 PM Ermal LUÇI

Fixes #2428. Reference limiters in rules by name to avoid issues. Also put upgrade code for existing configs. The same fix is necessary for 2.0.x though not sure how this should be committed there.

730b6148 06/01/2012 12:25 PM Seth Mos

Include util.inc and IPv6.inc before config.lib.inc.
Several parts of the config upgrade relay on functions in these.

4a5fbf61 06/01/2012 12:25 PM Seth Mos

Make sure we include "util.inc" during config upgrade. We need is_ipaddrv4() during upgrade which is triggered from gwlb.inc

d4d5f7b4 05/31/2012 06:34 PM Seth Mos

Rename old RRD quality database to the new GW name so we continue the graph.

e820da2a 05/23/2012 11:01 PM Erik Fonnesbeck

Fix reference updating for when more than one carp vip exists. Skip the upgrade code if no carp vip defined. Ticket #2445

879f7db7 05/23/2012 09:49 PM Erik Fonnesbeck

Add missing declaration for global variable $g where it is used.

12766374 05/23/2012 09:11 PM Erik Fonnesbeck

Fix name of the config section for virtual IPs in upgrade code. Ticket #2445

d39a2fc6 05/23/2012 09:11 PM Erik Fonnesbeck

Check the surrounding characters to not allow partial matches. Ticket #2445

fe47f1f2 05/23/2012 08:35 PM Erik Fonnesbeck

Revert "Rather do a fix by going through vips in reverse order"

This reverts commit d996dfeab2ec40cf3fb44b51811333b40ed5073f.

fbda07b9 05/23/2012 06:56 PM Ermal LUÇI

Do this only for carp type vips

d996dfea 05/23/2012 06:55 PM Ermal LUÇI

Rather do a fix by going through vips in reverse order

e27d337d 05/23/2012 06:49 PM Ermal LUÇI

Since this is an interface to avoid issues arising from vip1 and vip11 existing and replacing vip1 will replace even vip11, put on the regex <(starting close tag).

b22fc825 05/23/2012 03:35 PM Jim Pingle

Move vip upgrade code to be later, since it was backed out of 2.0.x it no longer needs to be so early, and otherwise there can be some breakage/fallout. Ticket #2445

617244c7 05/23/2012 03:29 PM Ermal LUÇI

Ooops use correct name for vips

35b71459 05/23/2012 03:12 PM Ermal LUÇI

Oops this should be sed and not sh. Fixes #2445

da12a8a4 04/18/2012 04:04 PM Seth Mos

Make sure to push elements we don't recognize on the stack too.

c3ce2ece 04/18/2012 03:33 PM Seth Mos

Add upgrade code that updates the dynamic gateway names to their new format new $if_$type.
Redmine Ticket #2332. I've tested a simple upgrade with 3 dynamic Wans with varying names and that appears to have succeeded. Needs more testing.

8bdb6879 04/12/2012 11:11 PM Darren Embry

Feature #2123 Backup RRD files using the xml dump and restore from RRD tools

http://redmine.pfsense.org/issues/2123

4459f03d 04/05/2012 09:07 PM Ermal LUÇI

Remove slipped line

7b47bd4c 04/05/2012 08:22 PM Ermal LUÇI

Make vips vhid be unique per parent interface!