Commit Graph

119 Commits

Author SHA1 Message Date
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
Scott Ullrich
1ebe9f62f4 Do not redeclare gettext 2008-03-10 00:38:23 +00:00
Scott Ullrich
d8c1a6c53c Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
2008-02-12 04:40:35 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
ae2ea68c42 Ensure that all form elements have an id. 2007-10-17 02:13:46 +00:00
Scott Ullrich
4fd34ccee4 Kill trailing space and note that dsh submitted last patch. 2007-01-20 20:52:51 +00:00
Scott Ullrich
67fa245aca Fix multiple selection in RELENG_1 package editor. -HEAD does not suffer from this bug as the codebase is different. 2007-01-20 20:51:47 +00:00
Seth Mos
656a2feab2 MFC fixes for Ticket 1187 by proxy for Scott Dale 2006-12-17 21:40:52 +00:00
Scott Ullrich
c7a121882a Set value to ON when checked. 2006-12-08 19:29:51 +00:00
Scott Ullrich
45a636478b Kill trailing space 2006-12-08 19:26:52 +00:00
Scott Ullrich
855cab2166 Add checkbox support to rowhelper 2006-12-08 19:26:18 +00:00
Scott Ullrich
9996eff6ce Detect if stored item in config.xml is an array. If it's an array simply pass array along, if its not then attempt to explode the array. 2006-09-26 19:22:41 +00:00
Scott Ullrich
3c61688623 Fix interfaces selection widget. Now selections are restored. 2006-09-26 19:15:49 +00:00
Bill Marquette
d012cff409 display page title during package editing 2006-09-01 04:44:20 +00:00
Bill Marquette
e156775235 per dsh@ this breaks enablechange() when multiselect is used (routed package
is an example of this)
2006-09-01 00:13:31 +00:00
Scott Ullrich
03664f640d Rowhelper saves rows in incorrect order when you save for the 1st time
Ticket #1000
2006-06-22 13:35:01 +00:00
Scott Ullrich
e34c9c0047 <br> before showing options 2006-06-08 20:39:29 +00:00
Scott Ullrich
14db714e02 Add dummy stubs for some code that was MFC'd 2006-06-07 19:22:18 +00:00
Scott Ullrich
fbd14b1382 MFC more needed package improvements 2006-06-07 19:17:16 +00:00
Scott Ullrich
57876601b7 add multiple select support
todo: figure out the new mystery which is our system in -HEAD. it sure is
shiny.
2006-06-01 04:22:01 +00:00
Scott Ullrich
b91540da0b MFC from HEAD
* Add gettext() dummy function to avoid needing gettext from -HEAD's php binary.
2006-04-20 21:53:38 +00:00
Scott Ullrich
b627d72c1e Kill Warning: in_array(): Wrong datatype for second argument in /usr/local/www/pkg_edit.php on line 417 errors 2006-04-19 18:34:38 +00:00
Scott Ullrich
5e4b648eb6 Nuke a c/r if included. 2006-04-19 18:30:27 +00:00
Scott Ullrich
7c172009f6 MFC Fernando's OpenVPN changes. 2006-04-01 22:18:36 +00:00
Scott Ullrich
8b97805007 Correctly restore interface array selections 2006-02-21 05:12:00 +00:00
Scott Ullrich
934ab6a226 Process include_file 2006-01-28 06:42:19 +00:00
Scott Ullrich
767a716ecd Correct warnings and errors found eclipse 2006-01-15 03:33:18 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
c52e000f69 MFC 8610
'cancel' -> 'Cancel'
2005-12-22 19:16:39 +00:00
Scott Ullrich
a93310c359 Do not show value = foo 2005-09-16 14:55:53 +00:00
Scott Ullrich
973dbc364f Turn off debugging helper line 2005-09-11 00:14:06 +00:00
Scott Ullrich
d2ac25995b When multiple and size is defined for a interface, treat it as a php array. 2005-08-27 01:43:38 +00:00
Scott Ullrich
036f7009a3 Fix a XXX 2005-08-01 00:32:55 +00:00
Erik Kristensen
677c08696a updating files to use theme images
removing images from /usr/local/www
adding specific images into the correct theme directories
2005-07-21 00:17:40 +00:00
Colin Smith
539b4c4410 Respect themes. 2005-07-18 03:38:40 +00:00
Colin Smith
3089059e95 If we don't have any adddeleteedit fields or a special redirect, default to pkg_edit.php?xml=$xml&id=0. 2005-07-18 02:08:42 +00:00
Erik Kristensen
afe4a7d36f It no longer breaks when the output of a package is displayed. 2005-07-17 00:01:09 +00:00
Colin Smith
bd78a8455e Minor cleanup. 2005-07-14 01:09:55 +00:00
Colin Smith
f4cb26b7f3 Add rounded tabs. 2005-07-14 01:00:47 +00:00
Colin Smith
e315cfa19a Fix missing ')'. 2005-07-13 18:57:41 +00:00
Colin Smith
7db8ff99c1 Clean up eval()s. 2005-07-13 18:49:45 +00:00
Bill Marquette
63637de932 Code cleanup 2005-07-04 19:52:23 +00:00
Scott Ullrich
201bf2eeff Include IP on interface when all_interfaces is enabled 2005-07-04 00:10:29 +00:00
Scott Ullrich
e6a121518c Correctly show all interfaces 2005-07-03 23:56:20 +00:00
Scott Ullrich
e4a7214692 Add <all_interfaces> option 2005-07-03 23:42:58 +00:00
Scott Ullrich
c98e7fb75a Allow filtering of interfaces_selection box 2005-07-03 23:21:25 +00:00
Bill Marquette
96d9f5c9d6 Use $pgtitle 2005-07-03 16:35:36 +00:00
Scott Ullrich
83ddedcda4 Set page titles accordingly 2005-07-02 03:50:50 +00:00
Colin Smith
2fe6c52bce Add field greyout. 2005-06-26 04:39:30 +00:00
Scott Ullrich
ff30be849b Set title to Package Editor if $title is unset 2005-06-25 22:17:05 +00:00