Project

General

Profile

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

# Date Author Comment
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!

f97a5b04 03/23/2012 01:25 AM Darren Embry

Move CARP settings from pkg XML to a real PHP page

https://redmine.pfsense.org/issues/647

ca320457 03/15/2012 02:34 PM Seth Mos

Unbreak the upgrade_config.inc, sorry

56ee96ed 03/15/2012 01:47 PM Seth Mos

More memory optimizations for the RRD upgrade. Ticket #1758 #2159

d6425f75 03/15/2012 01:41 PM Seth Mos

Update the upgrade function so we use less memory here too to make sure it succeeds on Nano.
Related to ticket. #2159 #1758

67e73dcd 02/07/2012 07:06 PM Ermal LUÇI

Fixes #1999. Upgrade bvoucher config as well during CP upgrade to multi-instance

f33030aa 02/01/2012 09:53 PM Jim Pingle

PPTP upgrade needs to declare $config a global.

a843870d 01/25/2012 05:40 PM Jim Pingle

Fix LZO setting for Upgraded OpenVPN (was turning compression on even if old config had it disabled.)

48e24ada 01/25/2012 05:11 PM Jim Pingle

Fix upgrade code for 1.2.3 with assigned OpenVPN interface.

c3ae41e6 01/25/2012 04:34 PM Jim Pingle

Don't ignore when multiple OpenVPN DNS, NTP, WINS, etc servers were specified in 1.2.3 when upgrading. 1.2.3 separated by ;, 2.x uses separate vars.

a15a7738 01/25/2012 03:59 PM Jim Pingle

Safer for 1.2.3 upgrades to assume OpenVPN interface == any, since 1.2.3 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

2ce660ad 01/20/2012 11:18 AM Seth Mos

Unbreak a number of explode() replacements which required preg_split()

cfbfd941 01/19/2012 07:33 PM Seth Mos

The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings

1cad6f6c 11/01/2011 08:31 PM Jim Pingle

Convert MTU from 1.2.3 to MSS on 2.0, fixes #1886

520d4137 11/01/2011 07:19 PM Jim Pingle

Fix SMTP monitor check in upgrade code, too.

12a2f395 10/26/2011 09:29 AM Seth Mos

Fix the 2nd grow command, add space
Ticket #1758

eb346e0b 10/25/2011 07:49 PM Seth Mos

Ok, let's try not to corrupt the RRD files on upgrade. Leave the RRA arc
hives 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

1005d4bf 10/19/2011 06:55 AM Seth Mos

Add the OOM memory restructuring fix from Ticket #1758 into mainline for nanoBSD upgrades.

8fa054b1 10/13/2011 12:15 PM Seth Mos

Move the old databases to the backup folder in conf
Fixes ticket #1758

e34cf1f6 10/13/2011 12:12 PM Seth Mos

Restore the RRD backup before attempting a migration as this bites the 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

b4792bf8 09/07/2011 01:04 PM Ermal LUÇI

Add the multi instance CP to master branch. This allows to define CP with different properties on different interfaces.

8b6313a4 07/12/2011 11:57 PM Jim Pingle

Merge remote-tracking branch 'upstream/master'

Conflicts:
etc/inc/easyrule.inc
etc/inc/filter.inc
etc/inc/interfaces.inc
etc/inc/services.inc
etc/inc/xmlrpc_client.inc
usr/local/www/fbegin.inc
usr/local/www/services_dhcp.php

1623ed97 07/06/2011 12:41 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/priv.defs.inc

2488a7e7 07/01/2011 03:38 PM Jim Pingle

Merge remote branch 'upstream/master'

5962f766 06/29/2011 03:22 PM Jim Pingle

Check if an item is an array before treating it as such in the upgrade code.

48427553 06/28/2011 07:55 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

84924e76 06/28/2011 07:26 PM Ermal LUÇI

Add proper checks in auth code for testing if the section has been set in the config. Also do the same in the ugprade code

8a385f42 06/27/2011 06:06 PM Jim Pingle

Merge remote branch 'upstream/master'

d30afa60 06/27/2011 04:11 PM Jim Pingle

In upgrade code for server load balancing, set redirect_mode. Also in the backend code, assume redirect_mode as the default if it's not set.