diff options
author | Ermal <eri@pfsense.org> | 2010-12-08 18:45:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-08 18:45:33 +0000 |
commit | 4f76b144b0885b9a407db026723bb61f568effc3 (patch) | |
tree | 0b3a124d0d709d9e90baf84da4342a56b6a1f633 | |
parent | 8ab82decf758be7e9de85391ea95ee421615dc81 (diff) | |
download | pfsense-4f76b144b0885b9a407db026723bb61f568effc3.zip pfsense-4f76b144b0885b9a407db026723bb61f568effc3.tar.gz |
Get rid of fastforwarding since it is not maintained from long time. Courtesy-of: battlez_ IRC
-rw-r--r-- | etc/inc/globals.inc | 2 | ||||
-rw-r--r-- | etc/inc/system.inc | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index ef04f37..ba97ba0 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -147,7 +147,7 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "net.inet.tcp.syncookies" => "1", "net.inet.tcp.recvspace" => "65228", "net.inet.tcp.sendspace" => "65228", - "net.inet.ip.fastforwarding" => "1", + "net.inet.ip.fastforwarding" => "0", "net.inet.tcp.delayed_ack" => "0", "net.inet.udp.maxdgram" => "57344", "net.link.bridge.pfil_onlyip" => "0", diff --git a/etc/inc/system.inc b/etc/inc/system.inc index f249256..63cf2c8 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -306,11 +306,6 @@ function system_routing_configure($interface = "") { echo "system_routing_configure() being called $mt\n"; } - /* Enable fast routing, if enabled */ - /* XXX: More checks need to be done for subsystems that are not compatibel with fast routing. */ - if(isset($config['staticroutes']['enablefastrouting']) && !isset($config['ipsec']['enable'])) - mwexec("/sbin/sysctl net.inet.ip.fastforwarding=1"); - $gatewayip = ""; $interfacegw = ""; $foundgw = false; |