Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
11bb2b90
Commit
11bb2b90
authored
Aug 13, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: add defaults for newer sysctls
parent
59deb5f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
config.xml.sample
src/etc/config.xml.sample
+3
-10
system.inc
src/etc/inc/system.inc
+4
-0
No files found.
src/etc/config.xml.sample
View file @
11bb2b90
...
...
@@ -55,16 +55,9 @@
</item>
<item>
<descr>
<![CDATA[
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
accepting of redirect should be disabled.
]]>
</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.
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. This option enables the NIC to drop all inbound ICMP redirect
packets without returning a response.
]]>
</descr>
<tunable>
net.inet.icmp.drop_redirect
</tunable>
<value>
default
</value>
...
...
src/etc/inc/system.inc
View file @
11bb2b90
...
...
@@ -78,6 +78,10 @@ function get_default_sysctl_value($id)
"net.inet.tcp.recvspace"
=>
"65228"
,
"net.inet.tcp.sendspace"
=>
"65228"
,
"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.udp.maxdgram"
=>
"57344"
,
"net.inet.ip.intr_queue_maxlen"
=>
"1000"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment