Project

General

Profile

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

# Date Author Comment
c59e21b5 09/03/2013 04:36 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

7ca8bef4 09/03/2013 11:56 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

a19fcb82 07/09/2013 04:00 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.

98d5e234 07/02/2013 04:22 PM Renato Botelho

Repect global conf_path

af600fe2 06/17/2013 05:39 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.

2bba9aef 05/29/2013 01:48 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.

9bc27ae5 06/26/2011 10:51 PM Jim Pingle

Fix off-by-one in OpenVPN "local" to "ipaddr" conversion.

84296ca3 06/26/2011 07:03 PM Jim Pingle

Merge remote-tracking branch 'upstream/master'

506514e7 06/24/2011 02:53 PM Jim Pingle

Add LB monitor types to config during upgrade, or they will be missing from boxes upgraded from 1.2.3.

f0b17f3f 06/20/2011 11:50 AM Vinicius Coque

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

e49d4564 06/14/2011 08:41 PM Jim Pingle

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/globals.inc
etc/inc/upgrade_config.inc

e6ee8fc6 06/14/2011 02:10 PM Ermal LUÇI

Upgrade sync username to latest config version.

d8012adb 06/07/2011 01:47 PM Vinicius Coque

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

Conflicts:
etc/inc/voucher.inc
usr/local/www/fbegin.inc

58005e52 06/01/2011 01:00 PM Jim Pingle

Merge remote branch 'upstream/master'

Conflicts:
conf.default/config.xml
etc/inc/filter.inc
etc/inc/globals.inc
etc/inc/pfsense-utils.inc
etc/inc/upgrade_config.inc
usr/local/www/interfaces.php

838e4eb8 05/25/2011 10:43 PM Warren Baker

Rather make use of $global variable for RRD path.

5c723d9f 05/25/2011 10:00 PM Warren Baker

Remove out-dated RRD file as it will cause broken images to appear on RRD graphs page.

45d4b71e 05/23/2011 06:57 PM Vinicius Coque

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

d21d6e20 05/23/2011 06:41 PM Vinicius Coque

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

Conflicts:
etc/inc/interfaces.inc
etc/inc/upgrade_config.inc
etc/inc/vpn.inc

27d0722d 05/19/2011 12:50 PM Jim Pingle

Merge remote branch 'upstream/master'

ce107ca5 05/18/2011 08:56 PM Jim Pingle

When converting 1.2.3 LB pools to 2.0 gateway groups, strip invalid characters from the group names and update any rules referencing the old name. Fixes #1515

7171b7b6 05/18/2011 04:53 PM Jim Pingle

Fix PPTP server radius settings upgrade from 1.2.3. Fixes #1292

dcb846e3 05/03/2011 08:09 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
usr/local/www/status_rrd_graph_img.php

a7ee5777 04/28/2011 08:44 PM Ermal LUÇI

Remove rndtest sysctl since the kernel module is not anymore part of our kernels. Leftover noticed by: Jim

fcdc8943 04/28/2011 09:33 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/pfsense-utils.inc

1f0c76cf 04/21/2011 05:10 PM Jim Pingle

Fix PPPoE upgrade, the <pppoe> tag is considered an array these days and the upgrade code wasn't treating it properly, accessing it directly instead of using the first entry ([0]). Fixes #1439 - PPPoE credentials upgrade properly now.

a51493d1 04/15/2011 04:38 PM Vinicius Coque

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

Conflicts:
etc/inc/gwlb.inc

af8f910e 04/12/2011 08:40 AM Seth Mos

Merge remote branch 'upstream/master'

86966fba 04/12/2011 08:39 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/filter.inc
usr/local/www/themes/the_wall/rrdcolors.inc.php

ab75b4ee 04/06/2011 05:36 PM Jim Pingle

CRL is read in as an array now, so even in the imported config it will appear to be an array even though it can only have one value. Fixes #1358

bca0472d 03/29/2011 04:36 PM Vinicius Coque

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

Conflicts:
etc/inc/voucher.inc

a5187d43 03/29/2011 04:00 PM Jim Pingle

Check for "aes 256" as IPsec encryption type, not just rijndael.

49bb5c07 03/29/2011 01:54 PM Jim Pingle

Add some upgrade code for IPsec mobile clients. Passes php -l but needs more testing.

152ab4d0 03/25/2011 11:59 AM Vinicius Coque

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

Conflicts:
etc/inc/interfaces.inc
etc/inc/priv.defs.inc
etc/inc/shaper.inc
etc/inc/system.inc

54bdff75 03/25/2011 11:49 AM Vinicius Coque

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

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc
etc/inc/priv.defs.inc
etc/inc/services.inc...