Project

General

Profile

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

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

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

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.

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.

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

Upgrade sync username to latest config version.

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.

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

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

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.

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

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.

323f3f9c 03/16/2011 07:46 AM Seth Mos

Keep a table of gateways we added for static routes to prevent us from making multiple entries to the same IP address

1c1a74fa 03/04/2011 01:04 PM Jim Pingle

Only change protocol if it's set and not empty.

7ec0e6e2 03/03/2011 09:13 PM Jim Pingle

Add upgrade code to ensure rule protocols are all lower case.

ebcdcaaa 02/25/2011 03:26 PM Jim Pingle

Fix admins group permission setting when upgrading from 1.2.3.

bc75a430 02/25/2011 09:27 AM Seth Mos

Correct IPsec carp interface upgrade code, off by one

a09d8bfc 02/24/2011 06:51 PM Jim Pingle

Use full path to pw

2aba8f77 02/24/2011 06:50 PM Jim Pingle

Add missing _relayd group, and when upgrading from 1.2.3, add _relayd group and user.

62958eae 02/24/2011 02:23 PM Seth Mos

Correct the vlan upgrade code to continue when we fixed up the interface

4aa58d46 02/23/2011 02:45 PM Seth Mos

Correct the config path to the vip array

443f2e6e 02/23/2011 02:19 PM Seth Mos

Attempted fix that should convert the old carp[$i] naming to vip[$vhid]

3d039701 02/23/2011 02:07 PM Seth Mos

Make sure we iterate by the vlan number lest we end up with a empty variable? Hopefully fix new vlan name not being assigned to interfaces section

685a26fc 02/23/2011 02:01 PM Seth Mos

Correct the gateway group member name to the correct GW_". strtoupper($if) uppercase. This fixes outbound load balancer pools upgraded from 1.2.3
not working

a3bac4ce 02/16/2011 06:19 PM Ermal LUÇI

Do not rely on php new foreach by reference and use the old method of chaning array members by using full path. This fixes nat 1:1 upgrades.

7d9b3d5e 01/18/2011 02:58 PM Jim Pingle

Add the cron job a different way. There have been a couple reports of losing CAs during the config upgrade and this was the only added function at the time.

d0dc2fd1 01/10/2011 09:11 PM Jim Pingle

Bump config version, add upgrade code to setup cron job for URL table update script.

7d62c4c8 01/05/2011 09:10 PM Ermal LUÇI

Ticket #491. Correct username/password name fields so upgrade works correctly.

99fbc94a 01/04/2011 07:16 PM Warren Baker

Forgot to up the array count.

64c86313 01/04/2011 07:15 PM Warren Baker

Add kern.ipc.maxsockbuf to upgrade config and remove extra whitespace.

1916d34a 12/23/2010 08:11 PM Ermal LUÇI

Instead of replacing the whole array just add the new vlanif member to the config. Should fix issues reported in http://forum.pfsense.org/index.php/topic,28202.15.html

673e8095 12/22/2010 03:39 PM Scott Ullrich

nuke trailing carriage returns

c9e13418 12/06/2010 12:58 PM Ermal LUÇI

Ticket #491. Do not actually check for enable to exist but for host since enable might be unset explicitly by the user. This should re-enable configs to work.

d2b20ab6 11/30/2010 06:15 PM Jim Pingle

Store upgraded monitor IPs in gateway items, not accidentally as bogus interfaces. This was causing some configs to upgrade and then get stuck in a reassignment loop after the next reboot.

af0b07d3 11/30/2010 01:42 PM Jim Pingle

Make the RRD path if it doesn't yet exist at this point.

558dda01 11/21/2010 09:22 PM Scott Ullrich

Remove hw.bce.tso_enable item it is loader.conf only per jimp

4830e56a 11/18/2010 05:31 PM Erik Fonnesbeck

Some fixes for the upgrade code for captive portal users.

8784a3bb 11/18/2010 04:13 PM Erik Fonnesbeck

Remove the old field even if empty in rename_field.

9734b054 11/10/2010 05:00 PM Scott Ullrich

Remove trailing carriage return

6bef0554 10/27/2010 08:55 PM Jim Pingle

Do some is_array() testing before renaming fields, otherwise empty variables can be accidentally created.

1feb93cf 10/22/2010 04:05 PM Ermal LUÇI

Mark this entry as an array before treating it as such otherwise php complains.

90e64fad 10/22/2010 03:49 PM Warren Baker

Check to see if it is not an array first - as per jim-p on IRC.

fc3e88f1 10/22/2010 02:54 AM Jim Pingle

Fix crl upgrade code.

47319bfb 10/20/2010 11:13 PM Jim Pingle

Add upgrade code for importing CRLs. Ticket #555

f2a86ca9 10/19/2010 06:19 PM Jim Pingle

Rename 'name' to 'descr' for CA, Certificates, and CRLs, to gain CDATA protection and standardize field names. Ticket #320.

6751b3e7 10/19/2010 05:03 PM Jim Pingle

Generalize this function and use it in more places to reduce duplicated code.

9ff73b79 10/19/2010 04:51 PM Jim Pingle

Convert fullname field on users to descr, so it gains CDATA protection.

e988813d 10/19/2010 04:39 PM Jim Pingle

desc to descr in Load Balancer config, so they gain CDATA protection and standardize field names. Ticket #320.

15864861 10/19/2010 04:00 PM Jim Pingle

Change the description field on sysctl tunables to be 'descr' and not 'desc' so they will gain CDATA protection. Ticket #320

f21c7979 10/18/2010 11:14 AM Ermal LUÇI

Use proper matching because the command might contain nice in it.

65167fcc 10/16/2010 03:27 PM Ermal LUÇI

Do not run anymore the cron job for monitoring check_reload_status since it has a monitoring process that does this through kqueue.

ab0eced7 10/14/2010 06:58 PM Ermal LUÇI

We want to upgrade all of interfaces/gateways.

b314ab72 10/01/2010 05:38 PM Ermal LUÇI

Better initialize this.

4c5b8653 09/05/2010 08:16 AM Erik Fonnesbeck

Add upgrade code for NAT 1:1 rules and bump config version.

2fc29020 09/03/2010 11:36 AM Ermal LUÇI

Base64 encode passowrd fields for safer operations. Suggested-by: Efonne(IRC)

ce968051 09/03/2010 10:54 AM Ermal LUÇI

Upgrade user data too for new pppoe world.

18de0728 09/03/2010 10:46 AM Ermal LUÇI

Correct function name. Pointy-hat: jimp@

8fefb9dd 09/02/2010 08:50 PM Jim Pingle

Upgrade code to merge user certificates with normal certificates.

6ae9f9b7 09/02/2010 05:59 PM Ermal LUÇI

Upgrade code for pppoe.

9ad72e5e 09/01/2010 07:06 PM Jim Pingle

Moving certs and ca out from under system. Provide upgrade code to move existing certs.

8fd0badd 08/23/2010 06:23 PM Ermal LUÇI

Ticket #482. This solves point 3) which converts the custom 'local IP' directive to the 2.0 format.

4f1ebacb 08/23/2010 06:15 PM Ermal LUÇI

Ticket #769. Convert assigned openvpn interfaces by using custom options to 2.0 style assigned openvpn interfaces. This upgrade removes the 'dev tun#' from cutom options and upgrades the assigned interface name to new style.

2f06cc3f 08/19/2010 06:32 PM Ermal LUÇI

Make dhcrelay GUI be simple and easy to use by collapsing the interface tabs to a multiselect control. Remove proxydhcp option because it is broken and is not trivial to make it usable(if user request for it a reconsideration will be made). Allow multiple server ips on the server input box separated by commas. Also on the interface list do not show interfaces without an ip because dhcrelay will not be happy with them. Upgrade code is also included in this commit.

56a5a0ab 08/04/2010 03:18 PM Jim Pingle

Disable TSO and LRO in upgraded configs.

318c1505 07/30/2010 10:58 AM Seth Mos

Do not use a monitor address from a load balancer pool as the monitor IP for a connection. This can lead to incorrect configurations. Some 1.2
configurations use load balancer pools as a subtitute for a gateway since that option was not available then.

d827f9cc 07/30/2010 09:54 AM Seth Mos

Invert the is_array() check as this incorrectly unsets the gateway array leaving the system unreachable

6d8e6b22 07/29/2010 07:38 PM Jim Pingle

Follow the restored username as the logged in user when upgrading a config. Otherwise you can get access errors if you need to do an interface reassignment.

34834e7e 07/28/2010 09:19 PM Jim Pingle

Only output these messages when booting.

4cb9abc3 07/26/2010 03:16 PM Jim Pingle

Change this find to a chdir/glob.

2b1b78e6 07/20/2010 05:50 PM Jim Pingle

Fix the RFC dns updates config upgrade. It would blow up on an incomplete/invalid config.

bf02c784 06/21/2010 04:33 PM Ermal LUÇI

Fixes #480. Correctly upgrade config for monitorip. When a gateway exists save there the monitorip instead of the interface.

901aa044 06/09/2010 07:06 PM Scott Ullrich

Include rrd.inc if dump_rrd_to_xml() is not found to be included to avoid Fatal error: Call to undefined function dump_rrd_to_xml() in /etc/inc/upgrade_config.inc on line 1752

d09ca87e 06/09/2010 05:07 PM Marcus Brown

Fix up upgrade function for new PPPs implementation.

f7480829 06/09/2010 03:17 PM Marcus Brown

Fix up for new ptpid scheme and iface name scheme.

8256f324 06/08/2010 03:32 PM Marcus Brown

Fix all issues that Ermal found.

Interfaces.php problems.
1- When creating a pppoe ptpid on the config is empty(<<ptpid/>).
2- after switching from pppoe to pptp in the config there remains
pppoe-reset-type which is not that much of a bug but needs to be...

4749cccb 06/03/2010 04:01 PM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

59cfe65d 06/01/2010 05:35 PM Ermal LUÇI

Do not set max_execution time here.

1e68a58b 06/01/2010 05:06 PM Jim Pingle

Fix upgrade code for disable bit on OpenVPN CSC entries.

6fdfa8fb 05/26/2010 02:21 PM Marcus Brown

Update upgrade_config to remove 'defaultgw' from <ppp> config sections

0661b194 05/26/2010 02:07 PM Marcus Brown

Fix many things related to PPP connections.

Fixed tab array numbering in interfaces_* files. Enabled multilink over PPtP connections.
Fixed handling of bandwidth, mtu, mru settings. Removed unnecessary curly brackets from
single line if conditionals, and more . . .

c2b2b571 05/18/2010 03:40 PM Marcus Brown

PPPoE config upgrade code and bump config version in globals.inc

763a1b52 05/17/2010 04:14 PM Jim Pingle

Fix OpenVPN upgrade code to properly handle the disable option. Fixes item 1a (and probably 1b) in #482 and should be the rest of the fix for #449.

c9ba2835 05/12/2010 12:57 PM Seth Mos

Move RRD quality databases to reflect the gateway name instead of the interface name. This should prevent a flurry of duplicate but
unused RRD files on 2.0 where we use the gateway names for the RRD file. Fix ticket #354

246aceaa 05/11/2010 02:53 PM Seth Mos

Prevent empry dyndns array items on config upgrade ticket #491

1852fef0 05/11/2010 06:50 AM Seth Mos

Unbreak the switch statement, pointy hat to me

0f8266ed 05/10/2010 09:36 AM Seth Mos

Correct the function name so that it upgrades properly

168a1e48 05/10/2010 09:35 AM Seth Mos

Make sure to upgrade deprecated themes to pfsense_ng.
The switch() should make it easy to add other deprecated themes here.

6cae2c44 05/07/2010 03:13 PM Ermal LUÇI

Do not put ip address on teh name since pfctl does not like an ip as part of macro name.

a842e988 05/07/2010 01:41 PM Ermal LUÇI

Ticket #408. Provide code to upgrade static routes.

fcf4e8cd 05/06/2010 10:20 AM Erik Fonnesbeck

Fix upgrade code for port forwards with "Interface address" set on external address. Ticket #561

416ae3d6 05/06/2010 09:13 AM Seth Mos

Fix the empty array check, a empty load balancer tag has a value of 1, not 0.

92a2ceae 05/06/2010 09:06 AM Seth Mos

Do not trip with configuration upgrades on a empty load balancer tag.

e31c90fc 05/04/2010 10:27 AM Ermal LUÇI

Ticket #491. Fix upgrade code. Since dyndns is considered and array item it failed with previous code. Use index of 0 since 1.2.x does not have multiple entries.

743ce9f8 04/30/2010 06:18 PM Erik Fonnesbeck

Add upgrade code for values of "Interface address" and "any" for the external address of port forwards. Ticket #561

59ecde49 04/29/2010 11:27 AM Renato Botelho

Improve NAT Port Forwarding

New features available are:
  • Now you can disable a rule
  • You can define "no rdr" rules
  • Source type, address and port, with an option "not" for exceptions
  • Destination type, address and port, with an option "not" for exceptions...
8b666514 04/29/2010 01:54 AM Jim Pingle

Fix OpenVPN upgrade code for lzo compression. Resolves #280, mentioned also in Ticket #482.

dfa11031 04/29/2010 01:38 AM Jim Pingle

Fix apparent typo in IPsec upgrade code which broke the user_fqdn identity type.