Project

General

Profile

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

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

02a2bffa 11/22/2014 06:57 PM Chris Buechler

add a usleep here to prevent killing twice. Ticket #3894

93ead355 11/22/2014 06:42 PM Chris Buechler

In some circumstances, OpenVPN doesn't exit on SIGTERM. SIGKILL it when that happens. Ticket #3894

d882658e 11/19/2014 08:32 AM Ermal LUÇI

Fixes #3894, --resolv-retry is infinite by default. To avoid the issues of locking the persistnet tun device by this just retry two times by default. People can enable resolv-retry infinite themselves for previous behaviour

41367b9c 11/05/2014 12:34 AM Chris Buechler

remove old DISABLE_PHP_LINT_CHECKING, which dates way back to the CVS days and hasn't been relevant in years.

c38764dc 08/20/2014 12:50 PM Dmitriy K.

fix #3515

8bb47a46 08/15/2014 01:41 PM Ermal LUÇI

Do not show errors from trying to delete a socket or similar

42bb1bee 07/07/2014 11:42 AM Renato Botelho

Remove extra spaces and tabs

b1e8e675 06/24/2014 12:27 PM Dmitriy K.

Update openvpn.inc

5b3c0116 06/20/2014 04:06 PM Dmitriy K.

Update openvpn.inc

Added verbosity check in case when verbosity_level is absent in config.xml

0e678da7 06/20/2014 02:57 PM Dmitriy K.

Update openvpn.inc

Removed unnecessary "else {";

b9e9903d 06/17/2014 07:01 AM Dmitriy K.

patchpack1

-Fix #3401 (Added tun option "Disable IPv6"
-Added new options: route-nopull, route-noexec, verb;

2da48592 06/04/2014 07:22 PM Jim Pingle

Allow the user to select "None" for OpenVPN client certificate, so long as they supply and auth user/pass. Ticket #3633

cb4f4ea9 05/30/2014 12:45 PM Jim Pingle

client-config-dir is also useful when using OpenVPN's internal DHCP while bridging.

f931befd 04/23/2014 08:30 PM Jim Pingle

This doesn't need via-env

4a97aa34 04/14/2014 07:11 PM Ermal LUÇI

Correct the sense of the check to allow openvpn to work

57ab9f7d 04/14/2014 06:52 PM Ermal LUÇI

Correct auth-user-pass-verify to include parameters properly so openvpn can start

d471a890 04/14/2014 09:35 AM Chris Buechler

tls-verify requires quotes around the command to be executed. Ticket #3596

5f242576 02/09/2014 06:23 PM Pi Ba

openvpn, allow for entering client user credentials in the WebGUI

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

2ec95f1f 01/24/2014 10:33 AM Renato Botelho

Fix openssl path

5c427ce7 12/26/2013 09:41 PM Jim Pingle

Add support for local (push route) and remote (iroute) network definitions in an OpenVPN client-specific override entry.

b95b40a1 12/19/2013 09:10 AM Ermal LUÇI

Move also tls-verify to fcgicli to avoid forking php process. Maybe even this should be done as a plugin to avoid overhead of forking.

5e28dad4 12/19/2013 08:53 AM Ermal LUÇI

Migrate openvpn authentication to use fcgicli rather than forking a php process. Maybe should could consider to write a short library todo this

78c36733 12/18/2013 09:45 PM Ermal LUÇI

Use does_interface_exist rather than calling ifconfig directly

0c21eb70 12/06/2013 07:16 PM Ermal LUÇI

Use _vip as identified for CARP vip IPs to allow easier upgrade code. This way only ipaliases on carp need to be upgraded.

af93d29a 12/05/2013 04:18 PM Ermal LUÇI

Make more strict checks

7238e0cf 11/28/2013 06:36 PM Ermal LUÇI

Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code

9ed52990 10/31/2013 07:03 PM Jim Pingle

Unset value should be '' and not 'none'

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

97d5b59b 10/30/2013 07:47 PM Jim Pingle

Add an Authentication Digest Algorithm drop-down to OpenVPN server/client (SHA1 is the default since that is OpenVPN's default)

330ecea1 09/03/2013 01:23 AM Shahid Sheikh

Fix #3174 Handling of gateway groups in openvpn_restart()
If the underlying vip of a gateway group that an openvpn client is bound
to is in backup mode then the client should not start.

de85521a 08/14/2013 12:52 PM Jim Pingle

Remove prior CSC entry when cleaning up. Fixes #3143

f2291484 08/14/2013 12:52 PM Jim Pingle

Declare globals as global before defining them in openvpn.inc

615d7f0a 06/17/2013 09:27 AM Ermal LUÇI

Add warning comment about missing IPv6 implementation

60f501ec 05/14/2013 04:16 AM Phil Davis

IPv6 OpenVPN TAP mode typo

fe9c774d 05/14/2013 02:25 AM Phil Davis

OpenVPN w/ IPv6 fails to set ifconfig-ipv6 value in conf #2991

be00850b 05/07/2013 02:34 PM Phil Davis

Remember which interface was used by each OpenVPN conf

When interfaces go down and up we need to know which interface (vr1, vr2 etc) each OpenVPN instance is using so we can optimize our decision about which instances to resync. That data is not in the conf file (the conf file contains the IP address the instance binds to). This change puts the interface name into a little file in /var/etc/openvpn for later use.

24d8c77d 04/03/2013 09:56 AM Ermal Luçi

Merge pull request #499 from phil-davis/master

Resync relevant OpenVPN instances when gateway group settings are modified

2eaa97b9 04/01/2013 04:57 PM Jim Pingle

Clarify notes when there is an error reaching the openvpn management daemon for service status. Also, add service controls to the openvpn status page.

99cc103b 03/29/2013 08:40 AM Phil Davis

Provide openvpn_resync_gwgroup function

Allows all OpenVPN servers and clients that use a particular gateway group to be resynced in one easy call.

6d0b9fe9 02/25/2013 08:24 PM Jim Pingle

Better check for the right bits being set.

6ca938cf 02/25/2013 08:19 PM Jim Pingle

Always clear the OpenVPN route when using shared key, no matter what the tunnel network "CIDR" is set to, it still needs it.

699125b1 02/11/2013 06:50 PM Jim Pingle

Use the actual openvpn restart routine when starting/stopping from services rather than killing/restarting manually.

49b76122 01/29/2013 05:30 PM Renato Botelho

Permit openvpn to use same port on different interfaces. It should fix #814

54285411 01/28/2013 04:51 PM Jim Pingle

is_subnet() will fail here if using comma-separated lists of networks. Use openvpn_validate_cidr() instead.

8793cb1f 01/28/2013 04:49 PM Jim Pingle

is_subnet() will fail here if using comma-separated lists of networks. Use openvpn_validate_cidr() instead.

349bf358 01/27/2013 07:55 PM Jim Pingle

Display a list of ciphers accelerated by a specific engine. Also, skip engines that are listed but unavailable for direct use.

dae707f5 01/27/2013 05:20 PM Jim Pingle

Fixup paths when executing OpenSSL.

a28d40cb 01/24/2013 06:54 PM Jim Pingle

Allow specifying multiple local/remote networks for OpenVPN separated by commas. While I'm here, fix up the IPv6 tunnel/remote/local network input validation. Simplify some code using functions.

ee55ce7d 01/22/2013 06:28 PM Jim Pingle

Add GUI option to use "topology subnet" for OpenVPN, since the OpenVPN Connect iOS client requires it for IPv6

ec970b50 01/21/2013 02:25 PM Jim Pingle

Add routing table display for each OpenVPN ssl/tls server instance, collapsed by default. Part of feature #2766

c69c37b6 12/17/2012 01:24 PM Jim Pingle

Needs more thought - might route something an unintended path. Perhaps a checkbox. Revert "Exclude the VPN peer from routes so as to not break connectivity to the actual VPN peer if a route includes its IP."

This reverts commit 5d8e8c9d25b55c6d3260e69fcf4620f76488d173.

1bc783b6 12/16/2012 10:38 PM Cyrill B

Update etc/inc/openvpn.inc

Mute error when interface does not exist, e.g. after reboot.

5d8e8c9d 12/13/2012 06:50 PM Jim Pingle

Exclude the VPN peer from routes so as to not break connectivity to the actual VPN peer if a route includes its IP.

91c44185 12/05/2012 10:15 PM Jim Pingle

Use functions to reduce code duplication; Add function to clear route to the interface IP before starting openvpn, otherwise the process cannot start. Ticket #2712

6714bbdc 12/04/2012 05:08 PM Jim Pingle

Activate choices for UDP6 and TCP6 for OpenVPN. Make sure interface IP selection chooses the proper IP and sets the proper protocol string. May need some GUI input validation to prevent someone from selecting a *6 proto with an IPv4 VIP and vice versa.

a0e3ee98 12/03/2012 04:08 PM Jim Pingle

Use the IPv6 tunnel network for peer to peer OpenVPN modes.

a8f538a8 11/21/2012 03:13 PM Jim Pingle

Wrap dir creation for openvpn in a function to reduce duplication, and use the function before places that could potentially write in the dir.

ed490bdf 11/21/2012 03:08 PM Ermal LUÇI

Create directory if it does not exists

e63f73d1 11/21/2012 03:05 PM Ermal LUÇI

Presence of a directory does not mean anthing. Just continue up. Pointy-hat: myself

10c7d642 11/21/2012 09:45 AM Ermal LUÇI

Unbreak the openvpn reading of configs. A dir needs to be executable to be searchable and readble inside. Reported-by: http://forum.pfsense.org/index.php/topic,55934.0/topicseen.html

938fc5b0 11/20/2012 04:34 PM Ermal LUÇI

Create necessary dir and unset conf string after writing to file

2d314598 11/19/2012 09:28 PM Chris Buechler

Merge pull request #244 from bcyrill/ovpn-alias

Fix: Use specified IP if available

9a6d6728 11/14/2012 10:32 AM Ermal LUÇI

Remove unused/unuseful tags anymore

d7a0c22a 11/03/2012 09:41 PM Cyrill B

Fix: Use specified IP if available

da601f8e 10/01/2012 12:45 PM Pi Ba

Allow for changing OpenVPN TUN to TAP device mode without reboot.

193a8e1f 09/30/2012 03:11 PM Jim Pingle

Revert "Allow for changing OpenVPN TUN to TAP device mode without reboot." -- Adds blank OpenVPN servers, see ticket #2643

This reverts commit c8bb7f1527a99c69784ab6c01d9050adcde6a8a0.

c8bb7f15 09/22/2012 09:23 PM Pi Ba

Allow for changing OpenVPN TUN to TAP device mode without reboot.

4856df9b 08/09/2012 06:40 PM Jim Pingle

Add forgotten "ipv6 remote network", clean up a couple bits, make sure local network box is hidden for shared key servers.

260f267e 06/29/2012 06:12 PM Jim Pingle

OpenVPN servers can start on carp vips, just not clients.

c1449c94 06/28/2012 09:59 AM Seth Mos

If we only have a IPv6 interface we'll use that, otherwise a IPv4 address always has preference. Revisit this for OpenVPN 2.3

47c48e28 06/25/2012 04:44 PM Seth Mos

Check in code that allows for using a gateway group as the interface on the OpenVPN server page. Only allow IPv4 gateway groups for now. We'll need to add IPv6 suppport here later when we import OpenVPN 2.3.
Unbreak the gateway group function on broken configurations like a missing 3G stick....

a1b9105b 06/06/2012 08:58 PM Jim Pingle

Only add openvpn acl script lines if it's a server mode that does user auth

1492e02c 06/05/2012 07:37 PM Ermal LUÇI

Import OpenVPN cisco style radius attributes applying policy to logged in users. Feature #2100

e052047d 05/14/2012 04:27 PM Jim Pingle

Whoops, don't flip these since I negated the test.

d9c96fb1 05/14/2012 03:09 PM Jim Pingle

Flip this test around since it's safer to assume the dev mode is tun. Ticket #2432

67898061 04/05/2012 08:30 PM Ermal LUÇI

Unbreak openvpn

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

Make vips vhid be unique per parent interface!

9ea0cb90 03/06/2012 07:33 PM Jim Pingle

Be more intelligent when managing OpenVPN client connections bound to CARP VIPs. If the interface is in BACKUP status, do not start the client. Add a section to rc.carpmaster and rc.carpbackup to trigger this start/stop.
If an OpenVPN client is active on both the master and backup system, they will cause conflicting connections to the server. Servers do not care as they only accept, not initiate.

002cacab 11/16/2011 09:38 PM Jim Pingle

Fix this ifconfig-push to also account for tap.

459e9333 11/16/2011 08:46 PM Jim Pingle

If there is a tunnel network in tap mode, the second parameter is a subnet mask, not the other IP.

9eced774 11/11/2011 08:08 PM Jim Pingle

username-as-common-name is not compatible with server-bridge, so don't put it in the config if server-bridge is active. Testing is needed to determine if there is any other negative impact, but with both present, openvpn will not start.

298fe5ae 11/10/2011 05:01 PM Jim Pingle

Fix order of client/server IPs and add a note, and clarify variable names. Fixes #2004.

74a556a3 11/09/2011 05:48 PM Jim Pingle

Rework this a little since using tap+tunnel network is valid, but using tap+tunnel network+bridging is not (will not do what the user expects/wants)

1ab6bdb5 11/08/2011 09:57 PM Jim Pingle

Fix up OpenVPN server tap modes, support various options for providing or passing through DHCP. (Work in progress)

41936acc 10/27/2011 02:28 PM Jim Pingle

Assume a default value of 1 for cert_depth to disallow chaining.

98963f27 10/27/2011 02:28 PM Jim Pingle

Add GUI option to limit the certificate depth allowed when OpenVPN clients are connecting.

453d9c96 08/30/2011 01:48 PM Jim Pingle

Fixup OpenVPN status a bit to properly handle SSL servers using a /30 (no server directive) and also be a little more verbose about what is happening, if we can tell.

7734aea6 08/17/2011 02:15 AM Andrew Thompson

Make initial changes to allow pfSense to work in a jail.

This mostly avoids starting things that will not work and gets the
initial config. Most of the pfSense functionality will not work
(pf rules, routing, etc) but it can be used for testing.

95305736 07/27/2011 03:37 PM Jim Pingle

Rework OpenVPN status, show status for shared key servers.

6b2dcac5 07/26/2011 09:30 PM Ermal LUÇI

Resolves #1719. Prevent disabled client/servers from being displayed on the widget.

17c98ba9 07/22/2011 08:20 PM Jim Pingle

Only apply remote_network setting for p2p modes, since it is not valid for remote access modes. Fixes #1707

cfcc6994 07/13/2011 09:16 PM Jim Pingle

CRL fixes for empty CRLs (so they don't kill OpenVPN)

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

769c4591 07/04/2011 03:11 PM Jim Pingle

Merge remote-tracking branch 'upstream/master'

d9489532 07/04/2011 05:13 AM Chris Buechler

Don't check OpenVPN ports in use against disabled clients or servers

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

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

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

Merge remote-tracking branch 'upstream/master'