Project

General

Profile

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

# Date Author Comment
66058d00 08/26/2009 12:06 AM Scott Ullrich

Ipsec.inc is in functions.inc

a9a6de88 08/23/2009 07:03 PM Scott Ullrich

Unbreak IPSEC!

fc097300 07/14/2009 08:57 AM Seth Mos

Do not send a HUP to racoon as that causes issue with initial
configuration loading.

2b8c84e6 07/14/2009 08:20 AM Seth Mos

Switch over the dns list from arguments to dnswatch to a file which holds them which dnswatch will use.

7664f2ef 07/13/2009 12:24 PM Seth Mos

Make the dnswatch_list array unique before processing it

2968431b 07/13/2009 12:14 PM Seth Mos

Silence route delete, this will also match on local network connected
vpn endpoints, those routes can not be deleted and throw a error.

70bf5abe 07/06/2009 01:22 PM Seth Mos

Correct variable names so that the logging is useful.
Remove racoon reload signal

72bd8df5 06/18/2009 07:24 PM Ermal Luçi

Remove some unneccessary calls to filter_configure() they just give recursivity!

f0c3eea0 06/02/2009 10:37 PM Scott Ullrich

Use is_dir, not is_file for detecting directory existance.

52cca3a4 05/31/2009 08:31 PM Chris Buechler

fix route deletion

b04eb23b 05/31/2009 07:55 PM Chris Buechler

clarify log message

202e5379 05/30/2009 08:51 PM Scott Ullrich

Ensure /var/db/racoon exists

71569a7e 05/12/2009 08:29 PM Jim Pingle

Fix PPTP+RADIUS. See ticket #1926.

532b0fb8 05/05/2009 11:38 PM Ermal Luçi

Rename filter_translate_type_to_real_interface to interface_translate_type_to_real
Move this function to interfaces.inc where it belongs.

00f9e567 04/26/2009 08:00 PM Ermal Luçi

Use correct variable name.

f3c8bd98 04/26/2009 03:11 PM Ermal Luçi

Fix a spd.conf not loading changes issue.

04b46591 04/22/2009 09:21 AM Ermal Luçi
  • Do not apply the settings directly from hitting the SAVE button show the apply settings option for consistency with other pages.
924876a8 04/22/2009 09:21 AM Ermal Luçi
  • Fix ipsec over carp handling.
  • do not useinterface in Upper case when working on the backends.
  • Do not print Configuring IPSec during bootup if there is nothing configured.
a55e9c70 03/30/2009 12:38 AM Ermal Luçi
  • Hide interfaces internals to other code and use the propper interfaces.
    Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc...
  • Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml...
40de0b13 03/22/2009 11:54 PM Ermal Luçi

Add secret option required on some setups.

c9aee395 03/16/2009 02:47 AM Scott Ullrich

We include ng_l2tp in kernel already, do not kldload

57dc2556 03/15/2009 06:29 AM mgrooms

Correct a typo in vpn.inc that broke esp encryption algorithm configuration.

4b96b367 03/15/2009 06:18 AM mgrooms

Modify IPsec code to allow for transport mode. All existing configurations are
marked as tunnel for backwards compatibility. There are problems with the spd
read code which Will likely choke on transport entries. We can fix this later.

87e07f52 03/15/2009 03:47 AM mgrooms

Move the IPsec pinghost option from phase1 to phase2. Correct some
bugs that were preventing the local address from being selected.

6edc48fe 03/13/2009 12:26 AM Seth Mos

Move the admin socket parameter into the existing listen section.

8d534565 03/12/2009 07:00 PM Seth Mos

Actually remove the spd reload files after processing it. This would break the tunnels as it would re-process all files in order every time the configuration reloads a
tunnel.

287e0c9d 03/12/2009 06:44 PM Seth Mos

Correct and expand the local and remote IP address endpoint check so that it specifies which one is at fault.

73fbece8 03/12/2009 08:06 AM mgrooms

Migrate IPsec certificate management to centralized system.

b19533ed 03/12/2009 07:23 AM Seth Mos

Fix typo in function names

bd6af475 03/12/2009 04:31 AM Seth Mos

If either the old or new local or remote endpoint is not a IP address we make sure to abort.

00707bc5 03/11/2009 08:55 PM Seth Mos

Correct spelling to the past tense

ea79cf11 03/08/2009 12:37 AM Ermal Luçi

Use the new is_module_loaded function to avoid spamming the System log.

01c41d40 02/15/2009 09:39 PM Ermal Luçi

Increase time to wait after killing mpd4 on l2tp case.

a56120f2 02/15/2009 09:34 PM Ermal Luçi

Remove all global decalarations regarding pptp/pppoe/l2tp they are no more needed.

eff29d62 02/15/2009 09:26 PM Ermal Luçi

L2TP improvements.

daa20efd 02/15/2009 09:22 PM Ermal Luçi

Fix typo.

14c8cd1c 02/15/2009 09:13 PM Ermal Luçi

Remove radius-ip option also non present on mpd4.

0e05aeb6 02/15/2009 09:08 PM Ermal Luçi

radius-fallback option is no more present on mpd4.

e1f78f15 02/15/2009 09:06 PM Ermal Luçi

Fix ltp links creation.

0af9dba4 02/13/2009 09:04 PM Ermal Luçi

Catch up on mpd4 changes even when operation as pppoe/pptp/l2tp server.

eb9ae6bb 02/10/2009 05:41 AM Bill Marquette

can't continue when you aren't in a loop

b83b77ea 01/17/2009 12:01 AM Seth Mos

Use correct var so dnswatch will launch correctly.

9f14066f 01/16/2009 08:15 AM Seth Mos

Modify our function to process according to the new IPsec config.xml
array format of 2.0
This should now correctly reload ipsec tunnels where a hostname is used
as the endpoint.
TODO: The UI pages still need to be changed for the granular IPsec
policy reloading.

1d69f52f 01/14/2009 04:07 PM Seth Mos

Improved logic to delete old ipsec policies. It can now be used in a generic fashion to replace
spd policies instead of just dynamic dns endpoints.
We know leave files in tmp which are picked up by vpn_ipsec_refresh_policies().
This allows us to use the apply buton again.

223547eb 01/13/2009 05:28 PM Seth Mos

Oops forgot to modify and commit the code that tells racoon to re-read the configuration files.

c60cae98 01/13/2009 05:18 PM Seth Mos

Port the code for granular adding and removing IPsec SPD policies.
This is the backend part of it which is uses by rc.newipsecdns when a
hostname changes IP

4bfdee6a 12/18/2008 09:21 PM Bill Marquette

Merge the preferred SA logic from 1.113 of HEAD 2 years 7 months later

3c63cc7c 11/29/2008 05:36 AM Bill Marquette

I think mpd 4.x doesn't like "set pptp self 127.0.0.1" - removing this
allows my iphone to connect to my pfsense box just like it does on
1.2.1

871ce025 11/29/2008 05:25 AM Bill Marquette

Don't try to configure a blank WINS server, while it doesn't kill mpd, it
sure whines about it.

630cfa6c 11/19/2008 05:29 AM Scott Ullrich
  • Do not destory enc0
  • Only run ifconfig if a real ip and netmask exists instead of ifconfig
be38535c 11/08/2008 03:56 PM Ermal Luçi

Try to use where possible filter_configure so upcoming event modifications can be easily integrated.

2731ebc8 11/07/2008 06:29 AM Seth Mos

Correct path to netstat

98cb9208 11/06/2008 03:41 PM Seth Mos

Correct route lookup

ce97a47b 11/06/2008 03:17 PM Seth Mos

Lookup route table before attempting a delete

73239086 11/06/2008 03:13 PM Seth Mos

Surpress killall messages

6dd2a1e4 11/03/2008 01:33 PM Seth Mos

Extra sighup not needed on 7

85a5da13 10/23/2008 09:51 PM Ermal Luçi
  • Rename get_current_wan_address to get_interface_ip
  • Rename get_real_wan_interface to get_real_interface
  • Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
  • Cleanup some code when passing or remove some unused one.
c8423fbf 09/10/2008 02:53 AM Matthew Grooms

Make sure the /var/db/racoon path exists before starting racoon. This is
needed to ensure racoonctl can communicate properly with racoon.

cf960d12 09/07/2008 07:52 PM Ermal Luçi

Remove unused and possibly erroneous code.

0af7398a 08/02/2008 02:04 AM Matthew Grooms

Remove the vpn_endpoint_determine function. It did not work properly when
CARP devices were in use. Use the newer ipsec_get_phase1_src instead.

084a1fb3 07/18/2008 06:02 PM Ermal Luçi

Fix regression on interface list.(missed merge from RELENG_1_MULTI_ANYTHING)

6d7de776 07/14/2008 09:16 PM Ermal Luçi

Add myself to the Copyright.

67ee1ec5 07/14/2008 08:43 PM Ermal Luçi
  • Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHING
  • Much improved rule generation speed
  • Many bug fixing in general of the interface handling

NOTE: this is only half part of the changes the other half will come after

3462a529 07/13/2008 11:28 PM Matthew Grooms

Introduce a new and improved version of IPsec mobile client support. The
mobile client tab is now used to configure user authentication (Xauth) and
client configuration (mode-cfg) options. User authentication is currently
limited to system password file entries. This will be extended to support...

a93e56c5 07/11/2008 01:55 AM Matthew Grooms

Overhaul IPsec related code. Shared functions have been consolidated into
a new file named /etc/ipsec.inc. Tunnel definitions have been split into
phase1 and phase2. This allows any number of phase2 definitions to be
created for a single phase1 definition. Several facets of configuration...

6b91fe11 07/04/2008 11:11 PM Seth Mos

Correct setkey path to correct usr local sbin location.

78155ff9 06/30/2008 06:36 PM Scott Ullrich

PPPoE server fixes. Patch submitted by Ermal.

252052a8 06/20/2008 09:38 PM Scott Ullrich

Update binary to use mpd4

ba9d6cc8 06/19/2008 06:13 PM Ermal Luçi

Get correct interface list.

015cbe0e 06/18/2008 09:32 PM Ermal Luçi

Interface list improvements.

b1e23a2d 06/07/2008 02:12 AM Chris Buechler

The physical interface must be passed to find_interface_ip()

this was breaking the racoon.conf for OPT WAN IPsec when interface is not statically addressed

f390206f 06/06/2008 02:24 PM Seth Mos

Correctly process non carp interfaces

aad50aec 06/06/2008 02:09 PM Seth Mos

Correctly update static routes on change

037b51b3 06/05/2008 08:59 AM Seth Mos

Make the vpn configuration add static routes on interfaces other then WAN.
link_carp_interface_to_parent() now correctly returns parent interface instead of always WAN.

218939a9 05/19/2008 10:37 PM Scott Ullrich

Start PPTPD.

67629270 05/19/2008 10:35 PM Scott Ullrich

Start MPD correctly on newer mpd

6a4d47a1 05/19/2008 10:22 PM Scott Ullrich

Fix mpd startup

194d9340 05/19/2008 09:16 PM Scott Ullrich

Unbreak racoon

d597b0b9 05/17/2008 02:16 AM Scott Ullrich

Do not quote an empty string when the DN identifier is blank.

Obtained-from: m0n0wall

172c6dd7 04/10/2008 08:09 AM Seth Mos

Bump dpd from 20 to 120

60399592 04/05/2008 10:19 PM Seth Mos

Use DPD and frag support we already have

3a1259ae 04/01/2008 09:11 PM Seth Mos

Send extra sighup after starting

938ca3f3 03/22/2008 10:52 PM Scott Ullrich

Pass -c along to mpd

c9c9ad4a 02/05/2008 09:11 AM Seth Mos

With the current Racoon we need to inform that we are reloading our SPD
entries with a SIGHUP

448f4e11 02/01/2008 09:34 PM Seth Mos

Update to racoon-0.7-cvs with Timo Teras patches.
Use setkey -f because spd loading works normally now.

87b5deb1 01/15/2008 05:28 PM Seth Mos

attempt loading SPD entries 4 times

d319d7d8 01/15/2008 11:35 AM Seth Mos

Somehow sending a SIGHUP before flushing and reloading works better then
after. Technically a SIGHUP to racoon should not do anything.

cdf779cd 01/15/2008 08:21 AM Seth Mos

Flush both SA and SPD entries

4515fb79 01/14/2008 09:44 PM Seth Mos

repair logic I think. Can we please use more curlies?

eea54038 01/14/2008 09:34 PM Seth Mos

Make 3 passes at loading the SPD entries as this will fail on large configurations > 250 tunnels.
Tested by smos@ 399 tunnels, 239 active, ok by sullrich@

5fc2f163 01/08/2008 02:18 AM Chris Buechler

touch up text

Ticket #1569

a35c2033 12/21/2007 11:10 PM Martin Fuchs

freeradius and pptp changes by forum-user 'cybrsrfr'

979cd6db 12/17/2007 12:30 AM Scott Ullrich

Adding dnswatch support.

Obtained-from: m0n0wall

cbcc5530 11/05/2007 05:29 PM Scott Ullrich

IPSEC keep alive pinger using the wrong source IP address

Ticket #1482

d6c79741 11/01/2007 05:54 PM Scott Ullrich

Adding keep alive host to IPsec causes warning in webGUI

Ticket #1509

fb748ac4 10/19/2007 08:52 PM Bill Marquette

Ticket #1482 - set the source to an interface that is inside the subnet definition

725dd10a 08/04/2007 08:26 PM Scott Ullrich

Sync NATT support from m0n0wall

d852c526 07/08/2007 09:06 PM Seth Mos

Unbreak IPSEC, correct pathnames

b9d8cc51 07/04/2007 12:11 PM Seth Mos

Fix loading and reloading config for IPSEC.
MFC: Possible candidate, works for seth. Needs test.

66cc67c6 06/30/2007 08:57 PM Scott Ullrich

Add ASN1DN identities support to IPSEC.

Subbmitted-by: Nic Bernstein <nic_AT_onlight.com>