1 |
5b237745
|
Scott Ullrich
|
<?php
|
2 |
307cd525
|
Bill Marquette
|
/* $Id$ */
|
3 |
5b237745
|
Scott Ullrich
|
/*
|
4 |
|
|
globals.inc
|
5 |
ee11cc6e
|
Scott Ullrich
|
part of pfSense (www.pfsense.com)
|
6 |
|
|
Copyright (C) 2004 Scott Ullrich
|
7 |
|
|
|
8 |
|
|
Originally Part of m0n0wall
|
9 |
5b237745
|
Scott Ullrich
|
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
|
10 |
|
|
All rights reserved.
|
11 |
ee11cc6e
|
Scott Ullrich
|
|
12 |
5b237745
|
Scott Ullrich
|
Redistribution and use in source and binary forms, with or without
|
13 |
|
|
modification, are permitted provided that the following conditions are met:
|
14 |
ee11cc6e
|
Scott Ullrich
|
|
15 |
5b237745
|
Scott Ullrich
|
1. Redistributions of source code must retain the above copyright notice,
|
16 |
|
|
this list of conditions and the following disclaimer.
|
17 |
ee11cc6e
|
Scott Ullrich
|
|
18 |
5b237745
|
Scott Ullrich
|
2. Redistributions in binary form must reproduce the above copyright
|
19 |
|
|
notice, this list of conditions and the following disclaimer in the
|
20 |
|
|
documentation and/or other materials provided with the distribution.
|
21 |
ee11cc6e
|
Scott Ullrich
|
|
22 |
5b237745
|
Scott Ullrich
|
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
23 |
|
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
24 |
|
|
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
25 |
|
|
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
26 |
|
|
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
27 |
|
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
28 |
|
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
29 |
|
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
30 |
|
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
31 |
|
|
POSSIBILITY OF SUCH DAMAGE.
|
32 |
|
|
*/
|
33 |
|
|
|
34 |
|
|
$g = array(
|
35 |
|
|
"varrun_path" => "/var/run",
|
36 |
|
|
"varetc_path" => "/var/etc",
|
37 |
|
|
"vardb_path" => "/var/db",
|
38 |
|
|
"varlog_path" => "/var/log",
|
39 |
|
|
"etc_path" => "/etc",
|
40 |
|
|
"tmp_path" => "/tmp",
|
41 |
|
|
"conf_path" => "/conf",
|
42 |
|
|
"ftmp_path" => "/ftmp",
|
43 |
|
|
"conf_default_path" => "/conf.default",
|
44 |
|
|
"cf_path" => "/cf",
|
45 |
|
|
"cf_conf_path" => "/cf/conf",
|
46 |
|
|
"www_path" => "/usr/local/www",
|
47 |
|
|
"captiveportal_path" => "/usr/local/captiveportal",
|
48 |
44ce4df1
|
Scott Ullrich
|
"xml_rootobj" => "pfsense",
|
49 |
5b237745
|
Scott Ullrich
|
"pppoe_interface" => "ng0",
|
50 |
e803e886
|
Scott Ullrich
|
"n_pptp_units" => 16, /* this value can be overriden in pptp->n_pptp_units */
|
51 |
|
|
"pptp_subnet" => 28, /* this value can be overriden in pptp->pptp_subnet */
|
52 |
|
|
"n_pppoe_units" => 16, /* this value can be overriden in pppoe->n_pppoe_units */
|
53 |
|
|
"pppoe_subnet" => 28, /* this value can be overriden in pppoe->pppoe_subnet */
|
54 |
d70190d9
|
Scott Ullrich
|
"debug" => false,
|
55 |
1325678b
|
Scott Ullrich
|
"latest_config" => "2.2",
|
56 |
3eff038c
|
Colin Smith
|
"nopkg_platforms" => array("cdrom"),
|
57 |
86437131
|
Colin Smith
|
"nopccard_platforms" => array("wrap", "net48xx"),
|
58 |
3eff038c
|
Colin Smith
|
"xmlrpcbaseurl" => "www.pfsense.com",
|
59 |
|
|
"xmlrpcpath" => "/pfSense/xmlrpc.php",
|
60 |
a1af2e27
|
Scott Ullrich
|
"embeddedbootupslice" => "/dev/ad0a",
|
61 |
f7a14e03
|
Scott Ullrich
|
"wireless_regex" => "/^(wi|ath|an|ral|ural|wai|iwi|awi|wlan)/"
|
62 |
5b237745
|
Scott Ullrich
|
);
|
63 |
|
|
|
64 |
a03e3c1f
|
Bill Marquette
|
/* IP TOS flags */
|
65 |
|
|
$iptos = array("lowdelay", "throughput", "reliability", "congestion");
|
66 |
|
|
|
67 |
|
|
/* TCP flags */
|
68 |
|
|
$tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");
|
69 |
|
|
|
70 |
|
|
|
71 |
9faa5e30
|
Scott Ullrich
|
?>
|