Commit Graph

75 Commits

Author SHA1 Message Date
Matthew Grooms
b63f2e8b29 Make it possible for pakages to insert additional tabbed pages into an
existing tab group. This requires that each page in the tab group call
add_package_tabs() with the tab group name before display_top_tabs() so
pages can be inserted. While far from optimal, this system is really a
stop-gap measure until a more intelligent menu/tab system can be
implemented. Discussed with Scott on IRC.
2008-09-16 17:41:22 +00:00
Matthew Grooms
b66174030d Correct a typo that could cause problems for openvpn if a client specific
override existed. A space was omitted in the listtags array which was
causing the openvpn-csc tag to be merged with the following field.
2008-08-30 23:33:47 +00:00
Bill Marquette
0919224fbd Bring in relay options for inbound load balancer
More work pending, this seems to generate proper configs
needs much more testing though
2008-08-28 21:21:50 +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
64cc39d3dd Implement a certificate authority and certificate webui that can be used
to centrally manage this data. There are no consumers at this time. This
interface allow for the following ...

Certificate Authority Manager:
- List certificates authorities
- Import existing certificate authority
- Create internal certificate authority

Certificate Manager:
- List certificates
- Import existing certificate
- Create internal certificate using an internal CA
- Generate certificate signing request for external CAs
- Process certificate signing response from external CAs

Certificate revocation is not currently implemented. The user system will
also be extended to allow for user specific certificate management in a
follow-up commit.
2008-08-09 00:06:08 +00:00
Ermal Luçi
3134528d84 Rename the bridge knob to bridged so that the upgrade code works correctly and we play by the rules of the parser. 2008-08-05 22:21:14 +00:00
Bill Marquette
50d86c1377 Bring in new server load balancing code, this introduces:
* The ability to create your own monitors (tcp, http, https, send/expect)
* A new way of displaying 'standard tables' - MainTable class
* monitor_type array type
2008-08-05 05:03:55 +00:00
Matthew Grooms
fbf672cbe9 Add an interface to manage external authentication servers. The two types
supported currently are LDAP and Radius.
2008-08-05 04:16:50 +00:00
Ermal Luçi
ed00d8e519 knob for lagg. 2008-07-25 20:47:30 +00:00
Ermal Luçi
468c6fb8c6 Teach parser about bridge knob. 2008-07-25 16:25:41 +00:00
Matthew Grooms
45ee90edb3 Rewrite portions of the user manager to ensure data is properly synced to
the system password and group databases. This is to provide better support
for centralized user management when local account administration is
preferred.

I also took this opportunity to do some housekeeping. A lot of funtions
that were only being used in one place or not at all were removed. The
user page privelege checks were also simplified in preperation for future
work in this area.
2008-07-25 02:28:31 +00:00
Ermal Luçi
3650492133 Add the new knobs to the parser 2008-07-23 16:12:56 +00:00
Ermal Luçi
67ee1ec5ec * 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
2008-07-14 20:43:59 +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
Seth Mos
be4524a0ca Don't forget that gateway_group is also a array 2008-06-20 11:56:24 +00:00
Scott Ullrich
ebf12449a8 Add missing ppp array item. 2008-04-10 00:48:18 +00:00
Seth Mos
d173230c70 Add prelimenary Routing page.
Allow multiple gateways on one (static) interface
2007-10-19 19:10:16 +00:00
Scott Ullrich
8a58063d28 Improve the load balancing pool edit screen. Submitted-by: Chris Daniel 2007-07-06 18:46:44 +00:00
Scott Ullrich
cbe2ebe030 Remove trailing space / cr 2007-05-27 00:25:58 +00:00
Seth Mos
ad1719997b Add NTP server field to dhcp config.
From: Alexander Schaber
2007-05-08 14:47:07 +00:00
Scott Dale
1db766dfbe Widget base. Note: changes to widgets are not saved yet. 2007-05-07 02:21:35 +00:00
Scott Ullrich
2c1689fd13 When we iterate through the backup cache we call out to parse the configuration file. This can be fatal if the xml contents is corrupted and the process will die out. Instead of dieing, return -1 and let the process continue since we have further logic to detect these issues and restore a previous configuration, etc. 2007-04-21 19:53:14 +00:00
Scott Ullrich
f479b40710 Kill trailing space 2007-03-25 05:13:23 +00:00
Scott Ullrich
d244855af6 s/timepart/timerange 2007-03-25 05:12:14 +00:00
Scott Ullrich
5447374453 Since we already have a "time" field convert the time day "time" to "timepart" 2007-03-25 00:51:32 +00:00
Scott Ullrich
bce8a71930 Make <time> an array so it can appear multiple times 2007-03-23 20:25:55 +00:00
Scott Ullrich
d8c091f8bd Back out last commit, we are going to use <schedule> 2007-03-23 20:21:08 +00:00
Scott Ullrich
8bf167b6cb Allow multiple timeday entries (set as an array) 2007-03-23 20:17:56 +00:00
Scott Dale
615b27bc26 Firewall Schedule GUI! ... and there was much rejoicing. 2007-03-23 11:08:36 +00:00
Scott Ullrich
c5a2bfdbd3 Allow priv to appear multiple times so that a person can downgrade from the pile of SHIT we call -HEAD. 2006-11-10 18:27:10 +00:00
Scott Ullrich
72a1578549 MFC 13823
freenas package makes disk and mount arrays
2006-08-18 04:35:50 +00:00
Scott Ullrich
4928848f9c This one adds support for custom array types for the functions dump_xml_config* .
Submitted-by: DanielS
2006-08-17 16:18:51 +00:00
Scott Ullrich
eb72cedac6 Allow packages to define array variables.
Submitted-by: DanielH
2006-08-17 03:37:19 +00:00
Scott Ullrich
3fdc661d86 Add group to the array field so that importing recent m0n0wall configurations do not go boom. 2006-06-19 13:31:27 +00:00
Scott Ullrich
3f8e57debf Add pages to the array field so that importing recent m0n0wall configurations do not go boom. 2006-06-19 13:26:27 +00:00
Scott Ullrich
e1b5fccb68 MFC 9544 2006-01-22 00:05:34 +00:00
Scott Ullrich
4b49bf19c6 Add elements to the array types
Ticket #793
2006-01-21 01:10:18 +00:00
Scott Ullrich
ff074bf948 Remove trailing newline 2006-01-18 21:05:37 +00:00
Scott Ullrich
61982b8501 Back out yesterdays changes 2006-01-15 20:07:10 +00:00
Scott Ullrich
66c908e0a8 Add depends_on_package to arrays 2006-01-15 10:17:03 +00:00
Scott Ullrich
117b4eda84 Add depends_on_package to arrays list 2006-01-15 10:10:16 +00:00
Scott Ullrich
64e3b8a6d9 Add aliasurl to array list. This will prevent developers working on head from preventing their firewall from booting when testing RELENG_1 2005-12-18 02:58:19 +00:00
Scott Ullrich
0d57f5f37c If a value is marked as "false" simply do not write its contents out.
This will fix 71 occurances of true : false in the code w/o having
to touch each case.   And frankly, a item should not be in the xml
unless its set.
2005-10-18 19:50:10 +00:00
Scott Ullrich
b37aa8caa9 Add back pipe array item. We will need this when users upgrade from m0n0wall to avoid getting a PIPE is not a array error 2005-10-09 23:20:42 +00:00
Scott Ullrich
e20f1e2c3b Treat earlyshellcmd as an xml array 2005-10-05 18:52:09 +00:00
Scott Ullrich
2e5ebf5d60 * Add interface_array to config.xml array list
* Clarify comment that this list is a array list
2005-08-27 01:44:37 +00:00
Bill Marquette
9f09f99a01 Ooops...need a space there 2005-08-08 18:08:49 +00:00
Colin Smith
48ca2dc941 Add <file> listtag. 2005-08-07 15:53:58 +00:00
Bill Marquette
5be479deff Move pool -> lbpool 2005-08-06 22:13:38 +00:00
Bill Marquette
b6d1659dc8 Add virtual_server tag 2005-08-06 21:53:53 +00:00