summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.default/config.xml5
-rw-r--r--etc/inc/globals.inc7
2 files changed, 9 insertions, 3 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index 0200f4d..f5ea2c9 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -135,6 +135,11 @@
<tunable>net.inet.tcp.tso</tunable>
<value>default</value>
</item>
+ <item>
+ <descr>Maximum socket buffer size</descr>
+ <tunable>kern.ipc.maxsockbuf</tunable>
+ <value>default</value>
+ </item>
</sysctl>
<system>
<optimization>normal</optimization>
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 8afab4a..bf01a11 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -3,7 +3,7 @@
/*
globals.inc
part of pfSense (www.pfsense.com)
- Copyright (C) 2004-2006 Scott Ullrich
+ Copyright (C) 2004-2010 Scott Ullrich
Originally Part of m0n0wall
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
@@ -159,9 +159,10 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
"net.inet.tcp.log_debug" => "0",
"net.inet.tcp.tso" => "1",
"net.inet.icmp.icmplim" => "0",
- "vfs.read_max" => "32"
+ "vfs.read_max" => "32",
+ "kern.ipc.maxsockbuf" => "4262144"
);
$config_parsed = false;
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud