Commit Graph

111 Commits

Author SHA1 Message Date
Erik Fonnesbeck
990d7c037c Check for pfsense root object name in config.xml as a fallback if the configured name is not found. 2010-11-26 15:57:55 -07:00
Scott Ullrich
9734b0545e Remove trailing carriage return 2010-11-10 12:00:32 -05:00
Ermal
0e642c78b4 Make possible to run multiple instances of pppoe server. Not yet switched to mpd4. 2010-09-02 17:27:14 +00:00
jim-p
6733f0f90f Add crl as a listtag 2010-08-30 17:31:16 -04:00
Ermal
187ce62b3d Do not call die while parsing package xml files. Instead return an empty array. This should avoid packages not uninstalling. 2010-08-06 21:51:37 +00:00
Scott Ullrich
981d193fb4 Remove trailing newline 2010-07-27 20:01:53 -04:00
Scott Ullrich
d9a6bd8f58 Adding build_port_path 2010-07-18 21:12:05 -04:00
Erik Fonnesbeck
1fb064e86d Separate regdomain.xml parsing back to a separate file, so it can be used when xmlreader.inc is used instead of xmlparse.inc 2010-07-10 21:36:54 -06:00
Ermal
70d6b5c491 Ticket #612. Correctly show the number of users as 0 on a group with no users. Also handle the case of empty arrays on the xmlparser. 2010-05-24 18:10:50 +00:00
Ermal
02611466ce Do not aritificially add spaces around values on CDATA fields. Tested-by: Jim 2010-05-20 19:38:05 +00:00
Ermal
2e6a43a13c Encode/decode special characters with htmlentities/html_entity_decode combo to make the parser not bail on special characters. 2010-05-18 20:03:25 +00:00
Ermal
e08e4ebc69 Make list the same. Remove whitespace at the end so it does not get interpreted as special tag. 2010-05-07 13:27:43 +00:00
Ermal
bef6cb998b Fix parsign of packages xml. 2010-03-19 17:49:39 +00:00
Ermal
541989d590 Ticket #434. Do not die when parsing config since we know how to recover. Only die during packages. 2010-03-19 15:55:04 +00:00
Erik Fonnesbeck
071d63b9ab Restore attribute support, but with some extra checks in the function that uses it. 2010-03-16 23:13:15 -06:00
Erik Fonnesbeck
441e600798 Needs a little more testing; revert attribute support in xmlparse.inc for now.
This reverts commit 2843a3ec5d.
2010-03-16 22:12:47 -06:00
Erik Fonnesbeck
2843a3ec5d Add optional support for reading attributes to xmlparse.inc and move regdomain.xml parsing from regdomain.inc to xmlparse.inc. 2010-03-16 20:59:06 -06:00
Ermal Luçi
9f695b0fc8 Add skip white space. To avoid erroring out on accidental blank space. 2010-03-08 23:12:50 +00:00
Erik Fonnesbeck
1e52f18cc9 Merge commit 'mainline/master' 2010-03-01 15:46:54 -07:00
Ermal Luçi
78dd50201b Prevent empty tags of creating <tag></tag> entries but instead just create them as <tag/> to be consistent. This fixes some empty arrays problems on the code. 2010-02-24 18:08:57 +00:00
Erik Fonnesbeck
9f428275e9 Add page for configuration of wireless clone interfaces. 2010-02-15 01:44:25 -07:00
Scott Ullrich
26433cb842 Adding newer xmlreader code to it's own file so that it can be turned and off until remaining bugs are fixed 2009-11-06 22:28:00 -05:00
Scott Ullrich
523855b02b Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions 2009-09-12 15:34:07 -04:00
Ermal Luçi
5e4071bef7 Seems we need even CDATA handling since it is used through packages. 2009-09-09 22:01:59 +00:00
Ermal Luçi
0eb230cb2e If it is supposed to be an array then make sure it has the array type. This fixes wireless configuration problems at least. 2009-09-09 14:41:07 +00:00
Ermal Luçi
8f192f4e81 Test if we actually succeeded in opening the requested xml file and log an error in bad cases to avoid strange errors. 2009-08-24 10:34:16 +00:00
Ermal Luçi
d1bd66b422 Micro speedup improvements on the parser. 2009-08-13 15:59:45 +00:00
Ermal Luçi
d7b6c8424d Change the parser to xmlreader instead of the current parser. This brings speed improvements and reduces some of the errors of the previous parser. 2009-08-12 17:55:18 +00:00
Scott Ullrich
5e7d127ad9 Revert "Rename cvssync to gitsync"
This reverts commit 62b035ce5f.
2009-06-18 20:17:10 -04:00
Scott Ullrich
62b035ce5f Rename cvssync to gitsync 2009-06-18 20:16:23 -04:00
Charlie
336e3c1cab Port voucher login ability on CaptivePortal from M0n0Wall.
Various locking fixes are done with the import and this means that as of now pfSense has a better performin/behaving CP than m0n0wall.
2009-06-13 17:24:28 +00:00
Ermal Luçi
5f1e1d2617 Bring in support for QinQ. At this time it is limited to only 2 levels. 2009-03-28 09:08:31 +00:00
Ermal Luçi
0ec2fdf0ad * Introduce interface groups. For now they are availble only on Firewall:Rules section maybe it would be usable to have tham on nat too.
* Some fixes and cleanup.
2009-03-16 23:48:59 +00:00
Scott Ullrich
54d0c16c8a Add GIT array type rrddatafile 2009-03-12 00:31:17 -04:00
Ermal Luci
bca76c1045 Unbreak igmpproxy by making known to the parser that we have IGMP too now. 2009-02-01 15:10:45 +00:00
Helder Pereira
f63d5b66b4 This patch adds the initial support for layer7 protocol inspection gui. 2008-12-20 23:57:09 +00:00
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