Commit Graph

39 Commits

Author SHA1 Message Date
jim-p
52ec5df88e Don't display a "mobile" user without a username. 2012-05-30 10:02:11 -04:00
jim-p
6e0b68bfde List logged-in IPsec xauth users and provide a mechanism to disconnect them. Implements #1986 2012-05-25 16:42:07 -04:00
jim-p
a55be495a2 Don't do resolve_retry on ipsec_get_phase1_dst() results, because ipsec_get_phase1_dst() already does that before returning output. 2012-05-24 16:35:00 -04:00
jim-p
a6222c0378 Test for empty here, rather than !, so a blank value (as from mobile clients) doesn't fall to the other tests. 2012-05-24 16:33:59 -04:00
jim-p
8b6313a4d3 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
2011-07-12 19:57:42 -04:00
Vinicius Coque
4842755397 Merge remote-tracking branch 'mainline/master' into inc 2011-06-28 16:55:51 -03:00
jim-p
8a385f4274 Merge remote branch 'upstream/master' 2011-06-27 14:06:33 -04:00
jim-p
2f3554bba1 Bail out of ipsec_get_phase1_dst if there is no remote gateway, else it falls into running resolve_retry() with invalid parameters causing a long delay in returning. 2011-06-27 14:05:01 -04:00
Vinicius Coque
d8012adbce Merge remote-tracking branch 'mainline/master' into inc
Conflicts:
	etc/inc/voucher.inc
	usr/local/www/fbegin.inc
2011-06-07 10:47:29 -03:00
jim-p
534375b6f0 Merge remote branch 'upstream/master'
Conflicts:
	etc/inc/openvpn.inc
2011-06-03 15:34:54 -04:00
jim-p
f451ea09a2 Show how much data has passed on an SAD entry. 2011-06-02 12:47:53 -04:00
Vinicius Coque
54bdff758f Merge remote-tracking branch 'mainline/master' into inc
Conflicts:
	etc/inc/auth.inc
	etc/inc/config.lib.inc
	etc/inc/filter.inc
	etc/inc/pfsense-utils.inc
	etc/inc/pkg-utils.inc
	etc/inc/priv.defs.inc
	etc/inc/services.inc
	etc/inc/shaper.inc
	etc/inc/voucher.inc
	etc/inc/vpn.inc
	usr/local/www/fbegin.inc
2011-03-25 08:49:04 -03:00
Seth Mos
98790f61dc Try to make IPv6 feature complete for IPv6 support. Looks like ipsec-tools was built without v6 support, make sure you have a newer build 2011-03-15 16:29:59 +01:00
Seth Mos
e79b24ab35 Extend the IPsec configuration with a protocol family for the phase 1 2011-03-14 22:02:50 +01:00
Seth Mos
6c4f3b54a0 Make sure to note the limitations to gethostbyname, it does not work for Quad A records. Fix resolve_retry in the process, use that. 2011-03-14 21:40:12 +01:00
Seth Mos
3795d067c9 Add the ability to differentiate between v4 and v6 tunnels. Bill says he can test 2011-03-11 22:34:53 +01:00
smos
df82fae1a3 Don't forget to include $g, otherwise the check will fail and still perform a DNS resolve 2011-02-21 14:17:23 +01:00
smos
33d5cb7a0f Hold off on resolve_retry during boot. The rest of the IPsec config is already delayed during boot for tunnels with hostnames 2011-02-21 13:45:35 +01:00
Vinicius Coque
9d3d8d005e Merge branch 'master' into inc
Conflicts:
	etc/inc/captiveportal.inc
	etc/inc/config.console.inc
	etc/inc/config.lib.inc
	etc/inc/easyrule.inc
	etc/inc/filter.inc
	etc/inc/ipsec.inc
	etc/inc/pkg-utils.inc
	etc/inc/shaper.inc
	etc/inc/system.inc
	etc/inc/voucher.inc
2011-01-28 17:32:17 -02:00
Pierre POMES
8f5c3d8d8a Ticket #1116: anonymous sainfo may be used only for single phase2 ipsec VPN's 2010-12-28 16:23:36 -05:00
Vinicius Coque
c92ccac76f Merge remote branch 'mainline/master' into inc
Conflicts:
	etc/inc/auth.inc
	etc/inc/config.lib.inc
	etc/inc/filter.inc
	etc/inc/gwlb.inc
	etc/inc/interfaces.inc
	etc/inc/pfsense-utils.inc
	etc/inc/pkg-utils.inc
	etc/inc/shaper.inc
	etc/inc/upgrade_config.inc
	etc/inc/xmlparse.inc
	usr/local/www/fbegin.inc
2010-12-14 09:56:34 -02:00
Pierre POMES
25f6730aed Add IPSec 'ipalias' VIP support. Ticket #1041 2010-12-10 20:42:55 -05:00
Scott Ullrich
9734b0545e Remove trailing carriage return 2010-11-10 12:00:32 -05:00
Carlos Eduardo Ramos
b1fd753662 Implement gettext() calls on ipsec.inc 2010-08-16 16:29:14 -03:00
jim-p
958420c5fa Bring back IPsec PSK Tab/Edit. Part of ticket #108. Still needs backend code to use the resulting keys. 2010-05-06 15:06:53 -04:00
Ermal Luçi
63017a732e Ticket #430. Give a none option to allow for roadwarriors configs. 2010-03-16 13:08:01 +00:00
sullrich
1703e5c570 Revert "Turn off xauth by default. Ticket #108"
This reverts commit 7998c3f280.
2009-12-02 22:49:29 -05:00
sullrich
7998c3f280 Turn off xauth by default. Ticket #108 2009-12-02 22:25:48 -05:00
Scott Ullrich
523855b02b Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions 2009-09-12 15:34:07 -04:00
Ermal Luçi
afb2de1b82 * Make the carp ip fix for ipsec more general so other services that use the same methodology work.
- Basically get_interface_ip() now knows how to handle carp(4).
* Move interface related function from pfsense-utils.inc to interfaces.inc that is their place.
	- More will come after the schedules fixes.
2009-04-22 11:53:37 +00:00
Ermal Luçi
924876a80f * 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.
2009-04-22 09:21:26 +00:00
Ermal Luçi
a55e9c701c * 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
* Some other missed custom interface list building and substituing with propper get_configured_interface*()
NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
2009-03-30 00:38:36 +00:00
mgrooms
4b96b3675a 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.
2009-03-15 06:18:35 +00:00
Bill Marquette
30bc15cfdc fix display of ipsec tunnel status when using DNS entries for the endpoints 2009-02-27 00:18:46 -06:00
Seth Mos
c7ce85b5bc Correctly return phase2 status for tunnels with hostnames 2009-01-16 08:30:05 +00:00
Matthew Grooms
d799787e49 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
commit were not being referenced.

This commit also splits out the certificate management components into a
new system menu item.
2008-08-26 04:48:04 +00:00
Matthew Grooms
0af7398aab 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.
2008-08-02 02:04:05 +00:00
Matthew Grooms
3462a52903 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
external RADIUS and LDAP account DBs in a follow up comiit.
2008-07-13 23:28:45 +00:00
Matthew Grooms
a93e56c58a 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
have also been improved. The key size for variable length algorithms can
now be selected and the phase1 ID options have been extended to allow for
more flexible configuration. Several NAT-T related issues have also been
resolved.

Please note, IPsec remote access functionality has been temporarily
disabled. An improved implementation will be included in a follow up
commit.
2008-07-11 01:55:30 +00:00