diff options
Diffstat (limited to 'etc/inc/globals.inc')
-rw-r--r-- | etc/inc/globals.inc | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index 74b2876..bcfc80f 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -34,12 +34,6 @@ */ -function remove_numbers($string) { - $nums = array("1", "2", "3", "4", "5", "6", "7", "8", "9", "0", " "); - $string = str_replace($nums, '', $string); - return $string; -} - $g = array( "base_packages" => "siproxd", "event_address" => "unix:///var/run/check_reload_status", @@ -47,7 +41,6 @@ $g = array( "factory_shipped_password" => "pfsense", "upload_path" => "/root", "dhcpd_chroot_path" => "/var/dhcpd", - "unbound_chroot_path" => "/var/unbound", "varrun_path" => "/var/run", "varetc_path" => "/var/etc", "vardb_path" => "/var/db", @@ -65,19 +58,20 @@ $g = array( "product_name" => "pfSense", "product_copyright" => "BSD Perimeter LLC", "product_copyright_url" => "http://www.bsdperimeter.com", - "product_copyright_years" => "2004 - 2012", + "product_copyright_years" => "2004 - 2013", "product_website" => "www.pfsense.org", "product_website_footer" => "http://www.pfsense.org/?gui20", "product_email" => "coreteam@pfsense.org", "hideplatform" => false, "hidedownloadbackup" => false, + "hidebackupbeforeupgrade" => false, "disablethemeselection" => false, "disablehelpmenu" => false, "disablehelpicon" => false, "disablecrashreporter" => false, "crashreporterurl" => "http://crashreporter.pfsense.org/crash_reporter.php", "debug" => false, - "latest_config" => "9.1", + "latest_config" => "9.4", "nopkg_platforms" => array("cdrom"), "minimum_ram_warning" => "101", "minimum_ram_warning_text" => "128 MB", @@ -109,6 +103,8 @@ if(file_exists("/etc/platform")) { $g['update_url']="http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/{$arch}/pfSense_HEAD/.updaters/"; $g['update_manifest']="http://updates.pfSense.com/nanobsd/manifest"; $g['firmware_update_text']="pfSense-*.img.gz"; + $g['hidedownloadbackup'] = true; + $g['hidebackupbeforeupgrade'] = true; } else { $g['update_url']="http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/{$arch}/pfSense_HEAD/.updaters/"; @@ -125,6 +121,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "net.inet.tcp.drop_synfin" => "1", "net.inet.ip.redirect" => "1", "net.inet6.ip6.redirect" => "1", + "net.inet6.ip6.use_tempaddr" => "0", + "net.inet6.ip6.prefer_tempaddr" => "0", "net.inet.tcp.syncookies" => "1", "net.inet.tcp.recvspace" => "65228", "net.inet.tcp.sendspace" => "65228", @@ -145,7 +143,12 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "vfs.read_max" => "32", "kern.ipc.maxsockbuf" => "4262144", "debug.pfftpproxy" => "0", - "net.inet.ip.process_options" => 0 + "net.inet.ip.process_options" => 0, + "vfs.forcesync" => 0, + "kern.random.sys.harvest.interrupt" => 0, + "kern.random.sys.harvest.point_to_point" => 0, + "kern.random.sys.harvest.ethernet" => 0, + "net.route.netisr_maxqlen" => 1024 ); $config_parsed = false; |