Commit Graph

110 Commits

Author SHA1 Message Date
jim-p
534375b6f0 Merge remote branch 'upstream/master'
Conflicts:
	etc/inc/openvpn.inc
2011-06-03 15:34:54 -04:00
jim-p
c8ff68a457 Allow duplicating an IPsec phase 2. The code was already on vpn_ipsec_phase2.php but unlinked. 2011-06-03 10:29:44 -04:00
Seth Mos
af8f910eeb Merge remote branch 'upstream/master' 2011-04-12 10:40:44 +02:00
jim-p
127eb8e023 Add a toggle under System > Advanced on the misc tab to enable/disable debug mode for racoon. 2011-04-11 16:58:13 -04:00
Seth Mos
1778480dbe Show the proper Phase entry for the IPv6 tunnels 2011-03-14 22:09:47 +01:00
Pierre POMES
25f6730aed Add IPSec 'ipalias' VIP support. Ticket #1041 2010-12-10 20:42:55 -05:00
Erik Fonnesbeck
e46616a729 Fix text for the P1 table header. 2010-11-24 03:42:38 -07:00
jim-p
070343cbd0 Remove unused variable. 2010-10-05 10:49:29 -04:00
jim-p
9fad9848c9 Reorder this, otherwise the function doesn't pick up on the config change. 2010-08-12 13:33:19 -04:00
Carlos Eduardo Ramos
108f16bf0c Implement gettext() calls on vpn_ipsec.php 2010-07-27 14:05:46 -03:00
Ermal
42f4bbd96a Ticket #655. Call vpn_ipsec_configured in all cases it knows how to handle enabled/disabled ipsec setting. 2010-06-15 21:24:53 +00:00
jim-p
e85858df66 Remove Logs tab from OpenVPN, as it is no longer needed. 2010-06-01 15:35:35 -04:00
jim-p
6deedfde64 Add status/log icons to IPsec pages. 2010-06-01 15:33:17 -04:00
jim-p
6894b25a0d Add PSK tab to all IPsec pages, it was missing from some. 2010-05-13 16:36:32 -04:00
Scott Ullrich
c443bb14cb Show p2 items correctly (add missing td's) 2010-04-19 18:52:10 -04:00
pierrepomes
fa03b3c1d1 Remove some sort of extra space/break in ipsec screen. Ticket #211 2009-12-13 00:26:45 -05:00
sullrich
895445e5f4 Remove ph2 add button. It is shown when needed 2009-12-07 22:45:02 -05:00
sullrich
83221d3bc2 Pass ph1ent 2009-12-07 22:42:07 -05:00
sullrich
afcda0d098 Make g a global and pass ph1ent 2009-12-07 22:38:04 -05:00
sullrich
fbc8af8f05 Replace dollarsigndollarsign with dollarsign 2009-12-07 22:23:46 -05:00
Chris Buechler
4494cf6ad9 fix typos 2009-12-07 18:50:11 -05:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -05:00
Scott Ullrich
483e6de842 Rework includes/require. This saves about 4 megabytes.
Simplify get_memory(). Tested on mips/i386
2009-11-21 16:08:36 -05:00
Chris Buechler
09725e7611 add links to IPsec logs under IPsec status and other pages 2009-11-07 22:21:59 -05:00
Scott Ullrich
c20acc3559 Kill racoon when disabling IPSEC. Restart it if re-enabled. 2009-11-07 21:34:00 -05:00
Ermal Luçi
abcb2bed92 * Convert carp/vips code to behave the same as other interfaces.
* Make optimizations around it.
* Make sure when we reload teh underlying interface we reload carp too.
* Some fixes around the code.

Reviewed-by: scott@ and billm@
2009-10-01 15:19:42 +00:00
Scott Ullrich
fe4397d283 Nuke sorting it apparently changed the ID association 2009-09-23 18:16:01 -04:00
Eirik Oeverby
bd875499c5 WIP: IPSec changes 2009-09-22 23:18:13 +02:00
Eirik Oeverby
3b60a1385f WIP: fixing IPSec screens/config 2009-09-22 23:10:59 +02:00
Scott Ullrich
53d4b84d21 Sort items 2009-09-11 15:44:53 -04:00
Scott Ullrich
0f84b741d9 Include functions.inc which will then include ipsec.inc 2009-08-23 15:16:36 -04:00
Scott Ullrich
a03d18c092 Unbreak ipsec! 2009-08-23 14:58:59 -04:00
Seth Mos
4da0e32a72 Fix incorrect double click edit link for phase2 records.
The link referred the phase2 edit page with the phase1 id which was incorrect
2009-07-15 11:20:21 +02:00
Ermal Luçi
a368a026db * Reorganize the 'apply' button infrustructure in the GUI.
- Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
	- Convert all pages to the new infrustructure
	- This improves a lot the control on this notification
2009-06-30 17:15:22 +00:00
Ermal Luçi
72bd8df5aa Remove some unneccessary calls to filter_configure() they just give recursivity! 2009-06-18 19:24:42 +00:00
Ermal Luçi
0027de0a54 * Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
	If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
	This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
2009-05-08 18:42:37 +00:00
Ermal Luçi
04b46591f6 * Do not apply the settings directly from hitting the SAVE button show the apply settings option for consistency with other pages. 2009-04-22 09:21:26 +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
mgrooms
87e07f5242 Move the IPsec pinghost option from phase1 to phase2. Correct some
bugs that were preventing the local address from being selected.
2009-03-15 03:47:18 +00:00
mgrooms
73fbece8f1 Migrate IPsec certificate management to centralized system. 2009-03-12 08:06:17 +00:00
Seth Mos
fabd8cdbcf Make sure the field names and description match up 2009-03-12 08:30:37 +01:00
Seth Mos
647c7c48a5 Add initial support for granular IPsec SPD changes. 2009-01-16 15:02:25 +00:00
Bill Marquette
0483112193 Make table headers reflect reality 2008-12-07 06:50:58 +00:00
Scott Ullrich
9616232711 Show header even when no records exists so the lonely + sign doe snot look
strange.  This makes this page more consistent with all other pages when
no configuration records exist.
2008-10-26 00:32:43 +00:00
Scott Ullrich
b9056c39ef Use listbg 2008-10-12 20:19:32 +00:00
Matthew Grooms
99bbd213c9 Fix a few minor problems with the IPsec configuration interface. Make sure
we don't copy the ikeid when duplicating a phase1 entry. Simplify the code
that deletes all associated phase2 entries when a phase1 is deleted. I was
and still am learning the finer points of php.
2008-09-16 18:04:08 +00:00
Matthew Grooms
a0d4c5da29 Correct all double click action urls in the main IPsec config screens.
Reported by Seth.
2008-09-03 18:20:19 +00:00
Scott Ullrich
c82c89acf3 Leave $j alone 2008-08-29 00:16:20 +00:00
Scott Ullrich
b2a189a859 Show correct count of phase2 entries. 2008-08-29 00:15:08 +00:00
Scott Ullrich
e1b749501e Show how many phase 2 entries are hidden.
Suggested-by: mgrooms
2008-08-29 00:11:53 +00:00