Commit 11bb2b90 authored by Franco Fichtner's avatar Franco Fichtner

system: add defaults for newer sysctls

parent 59deb5f7
...@@ -55,16 +55,9 @@ ...@@ -55,16 +55,9 @@
</item> </item>
<item> <item>
<descr><![CDATA[ <descr><![CDATA[
Redirect attacks are the purposeful mass issuing of ICMP type 5 packets. In a normal network, redirects Redirect attacks are the purposeful mass-issuing of ICMP type 5 packets. In a normal network, redirects
to the end stations should not be required. To defend against this type of attack both the sending and to the end stations should not be required. This option enables the NIC to drop all inbound ICMP redirect
accepting of redirect should be disabled. packets without returning a response.
]]></descr>
<tunable>net.inet.icmp.redirect</tunable>
<value>default</value>
</item>
<item>
<descr><![CDATA[
This option enables the NIC to drop all inbound ICMP redirect packets without returning a response.
]]></descr> ]]></descr>
<tunable>net.inet.icmp.drop_redirect</tunable> <tunable>net.inet.icmp.drop_redirect</tunable>
<value>default</value> <value>default</value>
......
...@@ -78,6 +78,10 @@ function get_default_sysctl_value($id) ...@@ -78,6 +78,10 @@ function get_default_sysctl_value($id)
"net.inet.tcp.recvspace" => "65228", "net.inet.tcp.recvspace" => "65228",
"net.inet.tcp.sendspace" => "65228", "net.inet.tcp.sendspace" => "65228",
"net.inet.ip.fastforwarding" => "0", "net.inet.ip.fastforwarding" => "0",
'net.inet.ip.sourceroute' => '0',
'net.inet.ip.accept_sourceroute' => '0',
'net.inet.icmp.drop_redirect' => '0',
'net.inet.icmp.log_redirect' => '0',
"net.inet.tcp.delayed_ack" => "0", "net.inet.tcp.delayed_ack" => "0",
"net.inet.udp.maxdgram" => "57344", "net.inet.udp.maxdgram" => "57344",
"net.inet.ip.intr_queue_maxlen" => "1000", "net.inet.ip.intr_queue_maxlen" => "1000",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment