summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-01-17 21:29:04 +0000
committerErmal <eri@pfsense.org>2011-01-17 21:29:04 +0000
commit2b7ca9b2d908cb04433477c3be52bd20d47acf75 (patch)
tree9f390129b715dcfe9076f32ae80cf7c5c6273b79
parent9d7d238816b6b3f087af1c5246e59dec8629a228 (diff)
downloadpfsense-2b7ca9b2d908cb04433477c3be52bd20d47acf75.zip
pfsense-2b7ca9b2d908cb04433477c3be52bd20d47acf75.tar.gz
Add the default value for the new tunable debug.pfftpproxy to 0. It allows to disable the pfftpproxy. Also add it to the default config.xml though no upgrade code should be needed since people can create this from the gui and hopefully do not need to know about this anyway.
-rw-r--r--conf.default/config.xml5
-rw-r--r--etc/inc/globals.inc5
2 files changed, 8 insertions, 2 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index a946c3c..6074c02 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -6,6 +6,11 @@
<theme>pfsense_ng</theme>
<sysctl>
<item>
+ <descr><![CDATA[Disable the pf ftp proxy handler.]]></descr>
+ <tunable>debug.pfftpproxy</tunable>
+ <value>default</value>
+ </item>
+ <item>
<descr><![CDATA[Increase UFS read-ahead speeds to match current state of hard drives and NCQ. More information here: http://ivoras.sharanet.org/blog/tree/2010-11-19.ufs-read-ahead.html]]></descr>
<tunable>vfs.read_max</tunable>
<value>default</value>
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 2d4300a..c19a849 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -160,9 +160,10 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
"net.inet.tcp.tso" => "1",
"net.inet.icmp.icmplim" => "0",
"vfs.read_max" => "32",
- "kern.ipc.maxsockbuf" => "4262144"
+ "kern.ipc.maxsockbuf" => "4262144",
+ "debug.pfftpproxy" => "0"
);
$config_parsed = false;
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud