Project

General

Profile

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

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

6364b88b 04/14/2010 01:18 PM Ermal LUÇI

Ticket #486. Convert even the gateways that specify the interface itself.

6a688547 03/27/2010 12:28 AM Ermal LUÇI

Make lan/wan behave as all other interfaces.

c73bd8f0 02/09/2010 05:53 PM Ermal Luçi

Ticket #324. Add allow all rule during upgrade.

da831323 01/14/2010 06:34 PM Ermal Luçi

Ticket #280. Seems that xml parser does not set the value correctly.

d9d4c637 12/24/2009 11:05 AM Seth Mos

Reorder a few lines so we do not step on the interface variable. This was the cause of accidentaly adding gateway name entries in the
$config['interfaces'] xml

a63ab6b6 12/23/2009 08:29 PM Seth Mos

Fix variable name, this tagged all gateways as dynamic on upgrades.

3cfa11c2 12/22/2009 09:29 PM Scott Ullrich

Unbreak remote-ip box. Mpd is now starting for ppptp server

2328dcc5 12/21/2009 02:27 PM Seth Mos

Partial rewrite of gateway code, now partially facilitates dynamic interfaces
- Upgrade code takes different naming into account
- Add gateway entries for dynamic interfaces
- Rewrite status array to also support dynamic interfaces.
- Always use unique localhost monitor IP addresses for down dynamic interfaces...

d30bbdd7 12/21/2009 08:53 AM Seth Mos

Make sure we test for the right gateway name in the upgrade code.

816a5aff 12/18/2009 10:23 PM Seth Mos

Attempt to work around both static configs and dynamic configs on load balancer upgrades. Needs testing on
live installs 1.2 => 2.0.

134f6b6e 12/18/2009 09:01 PM Seth Mos

Add a FIXME note to the upgrade part.

acae946b 12/18/2009 08:37 PM Seth Mos

Make sure that the upgraded load balancer configuration reflects the new gateway names

42c462c3 12/18/2009 03:32 PM Seth Mos

Make sure that we mark the wan interface as the default gateway on upgrades

fc85edaf 12/18/2009 03:01 PM Seth Mos

Replace the previous itteration with this version 2 attempt.
The interface gateways array previously contained no interface name that could be used.
Succesfully upgraded 1 configuration. Needs more testing to catch other edge cases.

3240836a 12/18/2009 02:36 PM Seth Mos

Replace gateways configuration upgrade code with 1st attempt to fix.
Revert the lbpool descriptopn variable name. It was correct before.

eb4637d8 12/18/2009 12:02 PM Seth Mos

Make sure that when upgrading the load balancer pools to the gateway format we set the description as well. Typo in the
variable name

6ee1b7eb 12/18/2009 12:01 PM Seth Mos

Make sure that when upgrading a balance pool that we always user tier 1, it previously used tier 0 which equals "Do not use".

da74e673 12/14/2009 12:32 PM Seth Mos

Fix the VLAN upgrade code so that it correctly renames the vlan entries and updates the interfaces
config section to the new name. Tested with 2 VLANS.

54f8bad0 12/14/2009 12:01 PM Seth Mos

Make sure we do not place the temporary files in / but in /tmp

38b5beaf 12/08/2009 03:03 AM Scott Ullrich

s/loadbalancer/load_balancer/

25753b5b 12/08/2009 02:56 AM Scott Ullrich

Add back chopped off and. Output updating configuration after rrd upgrade to make upgrade text look uniform.

cb945ced 12/08/2009 02:50 AM Scott Ullrich

oops, revert this. there is code already. focus on making it work for this config instead

b5e8ddee 12/08/2009 02:09 AM Scott Ullrich

Upgrade outgoing load balancing to gateway groups. Ticket #78

fcf6a458 12/07/2009 03:53 PM Ermal Luçi

Do not rely on PHP5 features which are not widely used in pfSense.

908c4eea 12/06/2009 07:26 PM Scott Ullrich

upgrade sysctls to value default. Ticket #71

0b5b4f32 12/03/2009 12:14 PM Seth Mos

Extra protection to prevent empty load_balancer arrays on configuration upgrades

523855b0 09/12/2009 07:34 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

06702ef7 09/01/2009 06:18 AM Chris Buechler

add missing sysctl to config upgrade

2602fe39 09/01/2009 06:09 AM Chris Buechler

Make the config upgrade sysctls match the correct values in the default config.xml.

a0588fad 08/24/2009 11:35 PM Scott Ullrich

Include certs.inc

39788354 08/24/2009 11:30 PM Scott Ullrich

Make style consistent

9d3dab70 08/24/2009 11:29 PM Scott Ullrich

Oops, part of the git merge sneaked in here. Remove

d43ad788 08/24/2009 10:15 PM Scott Ullrich

Merge branch 'master' of git://rcs.pfsense.org/pfsense/nigel-ca-chain into review/master

Conflicts:
etc/inc/certs.inc
etc/inc/upgrade_config.inc

a1a4a22b 08/24/2009 08:45 PM Scott Ullrich

Minor header changes

d84bd468 07/08/2009 04:49 PM Ermal Luçi

Remove openvpn.inc from functions.inc since its just a subsystem that does not need to be present on all of the includes.

48315e65 06/16/2009 11:27 PM Ermal Luçi

s/./_/ for vlans since netgraph does not like .(dots) in the path names.

76b37651 06/08/2009 10:35 PM Ermal Luçi

Change even the upgrade code to use new style vlan names.

e1c449c0 06/08/2009 10:14 PM Ermal Luçi

Revert "Do not use tags for vlan interface names since there might be same vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@"

This reverts commit 83bdca55920ca6ab3d848f0993d57a1f9b85098f.

83bdca55 06/08/2009 05:57 PM Ermal Luçi

Do not use tags for vlan interface names since there might be same vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@

ef026950 06/08/2009 05:52 PM Ermal Luçi

Remove code from Seth since one code already exists. And fix a bug on the previous upgrade code.

db7f618b 06/08/2009 01:20 PM Seth Mos

Yank bridge upgrade function as it appears to be a duplicate. I should have checked before making one. Oh well.

c11ba0d2 06/08/2009 01:18 PM Seth Mos

Fix bridge upgrade code.

dbaa0e34 06/08/2009 12:39 PM Seth Mos

Fix VLAN upgrade code properly. That's what I get for blind coding.
Testing bridging code now

fcf5afa0 06/08/2009 10:49 AM Seth Mos

Fix butchered upgrade code in the end of the file

ab235895 06/08/2009 10:49 AM Seth Mos

Add missing quote

21ee12a6 06/08/2009 10:49 AM Seth Mos

Add missing ; to prevent parse error

983061e4 06/07/2009 10:31 PM Seth Mos

Try to fix "key element can not be a reference"

8c1b604d 06/06/2009 11:16 PM Seth Mos

Actually use the counter

0105ae3d 06/06/2009 11:07 PM Seth Mos

Add bridge upgrade code for 1.2 -> 2.0
Like the vlan upgrade code this uses slot 38 to make sure it will not run on a 2.0 configuration.
This is blind coded and needs testing. Please help testing.

2523c923 06/06/2009 10:45 PM Seth Mos

Since we still needed upgrade code for vlans from 1.2 to 2.0 I added the upgrade at spot number 39 which is just before the user manager upgrade code.
This should make sure that we won't accidentally try to convert a 2.0 install. Good thing we left some spots open!...

a87afa7c 06/06/2009 12:45 AM Seth Mos

Revert mwexec back to exec. They are very different functions.
mwexec() has a mute flag which can be true or false, exec, returns a
array in the 2nd argument and the return code in the 3rd.
We require the output from the command.

2cf6ddcb 05/24/2009 06:36 AM Nigel Graham

Added support for certificate chains to manager so that lighty can deliver them via SSL.

2b4d37de 04/29/2009 02:28 PM Ermal Luçi
  • Shuffle functions around to reduce require_once() a little.
60120e37 04/26/2009 02:23 PM Ermal Luçi
  • Convert schedules to pf(4).
    This allows to schedule the whole feature of the rules like queues/limiters/gateways/blocks/allows/etc...
  • Whitespace cleaning on filter.inc
  • Move schedule backend logic from pfsense-utils.inc to filter.inc and prefix with filter_....
a64c490a 03/27/2009 10:19 PM Scott Ullrich

Use mwexec() to hide find *-quality.rrd messages