Commit Graph

45 Commits

Author SHA1 Message Date
Erik Fonnesbeck
2545af0461 Remove csrf-magic include from functions.inc -- it was causing problems with console PHP scripts. 2010-11-10 00:28:14 -07:00
Scott Ullrich
9b2bc1af9c Testing csrf-magic 2010-11-09 11:23:49 -05:00
sullrich
7db2e2e867 No need for priv.inc 2009-11-28 21:19:54 -05:00
Scott Ullrich
5f2d078e7d Decouple filter.inc from functions.inc. There is no need to process filter functions most of the time. Include filter.inc where it is needed 2009-11-21 19:10:37 -05:00
Scott Ullrich
f7e3f9ac68 Include certs.inc 2009-11-21 17:48:22 -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
Scott Ullrich
523855b02b Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions 2009-09-12 15:34:07 -04:00
Scott Ullrich
66058d00d0 Ipsec.inc is in functions.inc 2009-08-25 20:06:15 -04:00
unknown
b9e28d57da Added support for automatically managing firewall rules with NAT rules. 2009-08-14 23:53:54 +03:00
Ermal Luçi
d84bd46818 Remove openvpn.inc from functions.inc since its just a subsystem that does not need to be present on all of the includes. 2009-07-08 16:49:56 +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
Ermal Luçi
14f5ae084e Remove certs.inc from functions.inc it is needed only by two pages usermanager and certmanager. 2009-06-18 19:59:30 +00:00
Ermal Luçi
164164816b Remove crypt.inc from functions.inc. It is included by config.inc which is included by auth.inc which is included by auth.inc. Easy no?! :) 2009-06-18 19:55:52 +00:00
Ermal Luçi
c895094064 Change order slightly. 2009-06-18 19:46:54 +00:00
Ermal Luci
6dc88d5352 * Move functions that output html to guiconfig.inc
* Remove some recursive dependency on some includes
* Remove ^M or \r from files
* Remove some entries from functions.inc to avoid including them twice
* Remove some unneccessary includes from some files

NOTE: There is some more work to be done for pkg-utils.inc to be removed from backend as a dependency.
2009-06-18 12:40:11 +00:00
Ermal Luçi
ae3c9a621b Change the order of the includes its the way it should be. 2009-04-29 15:44:35 +00:00
Ermal Luçi
6dc3a5c2e4 * Move other functions around to where it makes sense.
* Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed.
	Some more analysis is needed on the include path
2009-04-26 13:47:33 +00:00
Seth Mos
77e858f087 add rrd.inc for inclusion 2008-12-19 22:10:00 +00:00
Matthew Grooms
8ff5ffccf2 Add support for export and import of encrypted configuration files. A set
of command line utilities for encypting and decrypting the files format
is available from the tools/config-crypto directory.
2008-08-28 02:53:06 +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
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Scott Ullrich
06a9dc5aa4 Move Inline CSS and JS functions to guiconfig.inc. 2008-07-23 16:32:29 +00:00
Ermal Luçi
32dab50e76 Check if cuntions exists bvefore defining them to preven errors with some scripts mostly from console. 2008-07-23 16:23:36 +00:00
Scott Ullrich
7388172140 Say hello to outputJavaScriptFileInline() and outputCSSFileInline which
can take a css and or javascript file and pass it through the php
parser without forking and return the results inline.   This is still
faster then a round trip back to Lighttpd.  Soon I will be changing portions
of the webConfigurator to use these functions.
2008-07-22 05:55:12 +00:00
Scott Ullrich
c320be0a4a Include cmd_chain 2008-07-14 03:07:30 +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
Bill Marquette
17623ab556 Bring in relayd to perform server load balancing
Move gateway load balancing code into gwlb.inc - still uses slbd

TODO: vs and pool status screens are currently broken...and wouldn't work
      with the gateway pools anyway, ultimately, the gateway pools need
      to move.
2008-06-16 02:58:57 +00:00
Scott Ullrich
b8f82cd79a Only show menu subitems that the user has access to. 2007-12-02 05:34:18 +00:00
Scott Ullrich
ab6738c743 Use correct pfSenseHeader() function. 2007-12-02 02:43:42 +00:00
Scott Ullrich
cbe2ebe030 Remove trailing space / cr 2007-05-27 00:25:58 +00:00
Bill Marquette
fab7ff44cb Backport usermanager code from HEAD so I can get it in the snaps and
start testing it properly
There's still some CSS/HTML fixes needed but the code seems to work
2007-04-13 03:26:35 +00:00
Scott Ullrich
50797647a4 Our compatibility code raelly needs to go into functions.inc so it can get installed before other php files are sourced. 2006-09-08 21:05:26 +00:00
Scott Ullrich
a960d9909e Missed require 2006-08-11 01:53:34 +00:00
Scott Ullrich
175b914984 Rever commit. m0n0wall also uses require_once() 2006-08-11 01:50:41 +00:00
Scott Ullrich
19b300e4fd Change require_once to require.
This is how m0n0wall works, not sure at what point I made this bad decision.  Sorry!
2006-08-11 01:24:08 +00:00
Scott Ullrich
0e16b9cacd We're in 2006 now, toto 2006-04-08 02:04:26 +00:00
Scott Ullrich
e263fe9ae8 Remove trailing newline 2006-01-18 20:00:40 +00:00
Bill Marquette
8a848748ce Alpha sort includes
require util.inc
require pfsense-utils.inc
2005-09-25 02:55:45 +00:00
Bill Marquette
13e89f7617 add vslb to function includes 2005-08-07 02:56:12 +00:00
Scott Ullrich
923cf42e5b remove trailing psace 2005-06-18 22:18:45 +00:00
Bill Marquette
307cd5259d Add $Id$ tag 2005-03-27 22:43:48 +00:00
Scott Ullrich
cfc707f763 Add Copyright to each file that we have touched so far and re attribute the file to Manuel Kasper such as:
Copyright (C) 2004 Scott Ullrich
	All rights reserved.

	originally part of m0n0wall (http://m0n0.ch/wall)
	Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
	All rights reserved.
2004-11-19 23:12:26 +00:00
Scott Ullrich
f3e311cecd Do not run shaper.inc since we no longer support dummynet traffic shaping. 2004-11-10 18:36:21 +00:00
Scott Ullrich
5b23774500 Initial revision 2004-11-07 03:06:49 +00:00