Project

General

Profile

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

# Date Author Comment
3e2bd5de 05/07/2009 09:07 PM Ermal Luçi

Propperly fix openvpn parameter parsing.

2f1e3ebe 05/07/2009 08:23 PM Ermal Luçi

Fix correction of openvpn parameters.

fe787fc7 09/09/2008 08:32 PM Matthew Grooms

Modify the OpenVPN server configuration to allow the DH parameter length
to be specified. Upgraded 1.2.x configurations will default to 1024 bits.

15b414e6 09/09/2008 08:01 PM Matthew Grooms

Comment out the code that creates a dh-parameters file at boot time and
add three new static parameters files to the /etc directory. In the near
term OpenVPN configurations will use the 2048 bit file.

76369bfc 09/08/2008 04:06 PM Matthew Grooms

Correct a bug where we attempt to kill an OpenVPN process even though its
pid file does not exist.

035e4289 09/08/2008 03:50 PM Matthew Grooms

Revert the dh parameters generation back to 1024 bits. There were several
complaints that 2048 bit parameters took too long to generate.

c67dd94e 09/08/2008 01:23 AM Bill Marquette

Log why we're writing a new config out

705c8ec9 09/07/2008 06:43 AM Matthew Grooms

When restarting an OpenVPN process, don't send a term signal and expect it
to exit within a fixed time frame of two seconds. The old process may take
longer to exit and cause the new process creation to fail. Instead, check
the process status every 1/4 seconds and only continue once it terminates.

3c11bd3c 09/06/2008 09:10 PM Matthew Grooms

Minor re-work of OpenVPN configuration. Use operational modes to determine
what configuration options are appropriate. The operational mode dictates
the authentication method. They are defines as follows ...

Peer to Peer ( SSL/TLS )
Peer to Peer ( Shared Key )...

ea28182c 09/04/2008 10:48 PM Matthew Grooms

Correct the path for OpenVPN client specific configuration files. When the
directory creation moved to the rc script, the path name was changed from
/var/etc/openvpn_csc to /var/etc/openvpn-csc. Update the code to match.

095a95ae 09/04/2008 07:47 PM Matthew Grooms

Revert to the previous method of referencing OpenVPN device names in the
filter.inc file. We now specify the openvpn device name which is actually
an os managed group. OpenVPN tap instances are added or removed from this
group when OpenVPN configurations are created or destroyed. Portions of...

8411b218 09/04/2008 05:13 PM Matthew Grooms

Bump the system dh-parameters file to 2048 per request on dev@.

1cb0b40a 09/03/2008 04:13 AM Matthew Grooms

Correct problems with OpenVPN that prevented the lzo compression and pass
tos options from being set correctly in configuration files.

ddee43a5 09/02/2008 09:27 PM Matthew Grooms

Now that we are delaying the creation of OpenVPN dh parameters, it appears
we need an explicit call to write_config() to ensure the data is saved.

3cb54b54 09/02/2008 06:29 PM Matthew Grooms

Delay writing out the dh-parameters file if the paths have not yet been
initialized by the rc scripts. I hope this will make the initial boot
process more pleasant during install. If not, I will revert this commit.

82b61e6b 09/01/2008 01:11 AM Matthew Grooms

Don't create the standard OpenVPN paths in openvpn_resync_all(). These are
now created during the bootup process.

6a418ab7 08/31/2008 02:29 AM Scott Ullrich

Ensure $g is populated by reading in globals.inc

34bc1324 08/29/2008 10:55 PM Matthew Grooms

Store the OpenVPN system DH parameters contents in the config.xml file so
it is not generated each time on embedded systems. Problem reported by
Scott.

63084885 08/27/2008 07:52 PM Matthew Grooms

Replace the old openvpn status page with a new implementation. We now add
a tcp management port option to each OpenVPN server. Instead of rooting
through the OpenVPN logs once a minute for status updates, we now submit a
request to the management port to obtain informaiton. We probably need to...

dc408939 08/27/2008 04:19 AM Matthew Grooms

Correct some problems with the filter code where we were calling foreach
on data that wasn't necessarily a valid array.

Modify the OpenVPN code to stop passing the array index around and then
immediately obtaining a reference to the array entry. We already have a...

f432e364 08/26/2008 11:49 PM Matthew Grooms

Set some important default values for the new OpenVPN interface screens.
Add functions and interface code to handle local port conflict detection
and resolution.

e28120e5 08/26/2008 10:20 PM Matthew Grooms

Dump the per-configuration dh parameters data. It make no sense to keep
this information in the configuration as its not specific to the server.
It only contains the parameters ( a safe large prime number ) that is
used during a DH key exchange. Instead, we now use a system wide dh file...

d799787e 08/26/2008 04:48 AM Matthew Grooms

Rework most of the OpenVPN support. The interfaces have been updated to
not use the pkg system and the configuration has been migrated to an
openvpn prefix. The centralized user and certificate manager is now used
to support the openvpn configurations. Most of the files removed in this...

93a0a028 08/05/2008 10:59 PM Ermal Luçi

This check is needed to prevent php oddities with arrays and strange behaviour of count and empty! As commit fixes errors with not configured openvpn.

c5428977 08/05/2008 10:24 PM Ermal Luçi

Try to do better sanity checks.

8874c692 07/01/2008 03:39 PM Ermal Luçi

Correctly name clients and server interfaces otherwise we have clashes.

c0cf27aa 04/28/2008 05:17 AM Scott Ullrich

Reformat file.

522a95b6 04/28/2008 03:51 AM Scott Ullrich

Pass mode

b880b193 04/28/2008 03:48 AM Scott Ullrich

Just handle server instances for now.

96874f83 04/28/2008 03:40 AM Scott Ullrich

Escape \$2

702a4702 04/28/2008 03:39 AM Scott Ullrich

Shutdown deleted process

18a124f7 04/28/2008 03:08 AM Scott Ullrich

Move assignment

7ae1d4b1 04/28/2008 03:06 AM Scott Ullrich

Define interface correctly

71c2deca 04/28/2008 03:04 AM Scott Ullrich

Use unique name

d6e01cdb 04/28/2008 03:01 AM Scott Ullrich

move variable assignment more near to the code it is used in

bcc3e19b 04/28/2008 02:58 AM Scott Ullrich

Use array name for .crt|.key

b5971c4e 04/28/2008 02:25 AM Scott Ullrich

Set keysize correctly

81494c66 04/28/2008 02:15 AM Scott Ullrich

Use $int$port$proto for unique server name

3a6bed46 04/28/2008 02:12 AM Scott Ullrich

Check for descr

f2493c61 04/28/2008 02:11 AM Scott Ullrich
  • Obtain keysize
  • Use keyname for server
3875f821 04/28/2008 02:07 AM Scott Ullrich

Add missing #!

011c2678 04/28/2008 02:00 AM Scott Ullrich

Add a shell interpriter

d32cf9d2 04/28/2008 01:55 AM Scott Ullrich

Make multi-user friendly and lock config.xml during cert creation.

ccbc4bf7 04/28/2008 01:54 AM Scott Ullrich

Make script executable.

33ab8aa5 04/28/2008 01:52 AM Scott Ullrich

Add me as a (C) holder add blurb about file being reritten by Fernando.

ac93f7ab 04/28/2008 01:50 AM Scott Ullrich

Correct log text and move to end of function.

4eefa6e8 04/28/2008 01:49 AM Scott Ullrich

Seperate server cert creation routines out to its own function for readability.

513f4b4d 04/28/2008 01:45 AM Scott Ullrich

Note in logs when the server cert creation started.

a35aaa25 04/28/2008 01:44 AM Scott Ullrich

Creatae server certificate if needed.

97d7d720 04/27/2008 10:41 PM Scott Ullrich

use description

b9f340f5 04/27/2008 10:22 PM Chris Buechler

touch up text

85ff97a7 04/14/2008 05:15 PM Ermal Luçi

Change the renaming of openvpn tun devices to ovpnX so netstat copes with the names.
Better do this than patch netstat to allow space for IFNAMSIZ in the interface column.

308e95cb 04/11/2008 09:19 PM Ermal Luçi

correct logic.

04a6e900 04/11/2008 09:03 PM Ermal Luçi

Differentiate between shared key and pki on the GUI.
Fix some errors with the javascript

de5824aa 04/11/2008 08:15 PM Ermal Luçi

Fix some typos.

bd1e0268 04/11/2008 07:51 PM Ermal Luçi

Destroy the interface before creating a new one.

45580cd2 04/10/2008 07:48 PM Martin Fuchs

ticket#1700: comment out the fix, it does not work for editing existing entries. $_GET['act'] is not passed from pkg_edit to openvpn.inc... else the check would be easy...

b398bbca 04/09/2008 10:14 PM Martin Fuchs

fix ticket#1700 and also check for protocol

ee6c33b8 04/09/2008 09:36 PM Martin Fuchs

fix ticket#1700

fdd725f0 04/08/2008 03:58 PM Ermal Luçi

Change back to the interface naming for tun(4) devices to openvpnX.
Openvpn allows this with the --dev-type and --dev-node arguments.
Better read the manual page throughly next time thugh i would like it to be handled automatically
but is not possible in Openvpn and FreeBSD devfs(5) currently.

89c889a7 04/07/2008 06:43 PM Ermal Luçi

Propperly fix certificate file creation for openvpn in client mode.

64bc6c88 04/07/2008 06:13 PM Ermal Luçi

Fix a double '/' in the pathname for which openvpn seems to error out.

6577b52f 04/07/2008 06:07 PM Ermal Luçi

Comment out for now the renaming of tun interfaces to openvpn.
Seems like openvpn code has "tun"/"tap" hardcoded and FreeBSD devfs does not keep track of such interface renaming thus you cannot get a file descriptor to renamed device as openvpn like application do....

0b2a4e64 04/05/2008 03:52 PM Martin Fuchs

OpenVPN: remove keepalive, its already hardcoded

e4342843 04/05/2008 02:24 PM Martin Fuchs

OpenVPN: added keepalive and infinite resolver options

27ce449a 04/04/2008 06:17 PM Martin Fuchs

OpenVPN: redirect-gateway: override instead of overwrite

fe32492e 04/04/2008 12:06 AM Martin Fuchs

OpenVPN: my fault... now its correct... the server pushes the commands...

505a15cb 04/03/2008 11:22 PM Martin Fuchs

OpenVPN: redirect-gateway added [for CSC]

0202f392 04/03/2008 09:39 PM Martin Fuchs

OpenVPN: redirect-gateway added: missed the "push"-command

cb360370 04/03/2008 08:46 PM Martin Fuchs

OpenVPN: redirect-gateway added

98872d89 03/30/2008 06:43 PM Ermal Luçi
  • Create tun interfaces for openvpn explicitly. * The only downside for now is that we can leak tun devices when tunnels are deleted.
    The propper fix can be by using devd script on down interface event or use the on down script called by openvpn itself....
9583e25b 03/26/2008 01:26 AM Bill Marquette

unbreak openvpn client config file generation

18ad149a 03/06/2008 10:50 PM Ermal Luçi

Revert previous commit and remove only the unneeded parts.

c3d765f0 03/06/2008 10:37 PM Ermal Luçi

This javascript is not needed anymore.

177e04fe 03/06/2008 10:30 PM Ermal Luçi

Do not recreate the ciphers repeatedly.

8be2d6d3 03/06/2008 07:03 PM Ermal Luçi

Remove ugly hacks and use propper method for dispalying generated ciphers.

6300a53d 03/06/2008 06:09 PM Ermal Luçi

Do not generate certificate directives if no certificate is selected.

267ab13f 03/06/2008 05:33 PM Ermal Luçi

Switch to using generated certificates for server mode.

bc1fd2b7 03/06/2008 04:43 AM Scott Ullrich

Check that the item exists before using.

90923e09 03/04/2008 07:20 AM Martin Fuchs

OpenVPN: tidy up source...

eff83433 03/04/2008 12:51 AM Martin Fuchs

OpenVPN: permit TLS for TCP

62366828 12/21/2007 08:09 PM Martin Fuchs

OpenVPN-multi-interface-patches by Fernando Tarl? Cardoso Lemos

c1a4aaca 10/24/2007 07:41 PM Martin Fuchs

Ticket 1709: fixed typo in OpenVPN cfg-page

d739dbe9 06/30/2007 09:20 PM Scott Ullrich

Kill trailing space

c876662c 06/30/2007 09:19 PM Scott Ullrich

Remove openvpn csc file when option is disabled.

Ticket #1339

8fc63cd8 06/24/2007 09:03 PM Martin Fuchs

Add Type-Of-Service-passthru for server and client

6d031071 06/07/2007 06:11 PM Martin Fuchs

correct code formatting

54816afd 06/07/2007 04:28 PM Martin Fuchs

Add OpenVPN CSC-DHCP Options (override per Client), add TLS-Authentication, add connection-limit for server

cbe2ebe0 05/27/2007 12:25 AM Scott Ullrich

Remove trailing space / cr

7528fc09 05/10/2007 03:56 PM Scott Ullrich

Patch from Martin to fix http://forum.pfsense.org/index.php/topic,4773.0.html

f9927473 05/07/2007 05:02 PM Scott Ullrich

Add openvpn server tos and dhcp server options.

Submitted-by: Martin Fuchs

12415bd8 04/26/2007 09:47 PM Scott Ullrich

OpenVPN bandwidth fix from Martin Fuchs

db9aabe2 04/23/2007 05:13 PM Scott Ullrich

Apply OpenVPN patch from Martin Fuchs which adds outgoing tunnel bandwidthg control.

36df0acc 04/02/2007 04:33 PM Scott Ullrich

Remove openvpn-csc when needed.

Submitted-By: Fernando Lemos

48f4405e 03/20/2007 05:01 PM Scott Ullrich

After openvpn resync all function, sleep for 5 seconds and trigger a filter reload

ee506044 03/14/2007 07:08 PM Scott Ullrich

Fix ticket #1265

Multiple openvpn clients all attempt to bind to same local port

d8576be5 03/08/2007 05:59 PM Scott Ullrich

Allow multiple client tunnels via OpenVPN

Ticket #1265

Ok: fernando lemos

481fda7f 11/28/2006 07:14 PM Scott Ullrich

Start OpenVPN with nohup

5b3fe9a2 10/05/2006 06:54 PM Scott Ullrich

Start OpenVPN in the background.

Suggested-by: Fernando

2f0a7613 09/22/2006 06:41 PM Scott Ullrich

MFC openvpn fixes by Fernando