about summary refs log tree commit diff stats
path: root/core
diff options
context:
space:
mode:
authorSilvino <silvino@bk.ru>2019-06-18 20:38:33 +0100
committerSilvino <silvino@bk.ru>2019-06-18 20:38:33 +0100
commitc89c785b301ea90290190aceeb1da0c9b7d464b3 (patch)
tree370505592fd862da66ae424153c5bb9b11d30d89 /core
parent3ec086df28374f6433c15c060ff608eb2cb19814 (diff)
downloaddoc-c89c785b301ea90290190aceeb1da0c9b7d464b3.tar.gz
added protection against sack in core sysctl
Diffstat (limited to 'core')
-rw-r--r--core/conf/sysctl.conf3
-rw-r--r--core/sysctl.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/core/conf/sysctl.conf b/core/conf/sysctl.conf
index 771112a..d50520e 100644
--- a/core/conf/sysctl.conf
+++ b/core/conf/sysctl.conf
@@ -39,6 +39,9 @@ net.core.wmem_max = 8388608
 net.core.netdev_max_backlog = 5000
 net.ipv4.tcp_window_scaling = 1
 
+#A sequence of SACKs may be crafted such that one can trigger an integer overflow, leading to a kernel panic.
+net.ipv4.tcp_sack = 0
+
 # Both ports linux-blob and linux-libre don't build with ipv6
 # Disable ipv6
 net.ipv6.conf.all.disable_ipv6 = 1
diff --git a/core/sysctl.html b/core/sysctl.html
index afee463..550ae6d 100644
--- a/core/sysctl.html
+++ b/core/sysctl.html
@@ -62,6 +62,9 @@
         net.core.netdev_max_backlog = 5000
         net.ipv4.tcp_window_scaling = 1
 
+        #A sequence of SACKs may be crafted such that one can trigger an integer overflow, leading to a kernel panic.
+        net.ipv4.tcp_sack = 0
+
         # Both ports linux-blob and linux-libre don't build with ipv6
         # Disable ipv6
         net.ipv6.conf.all.disable_ipv6 = 1
mit/tests/test_cmd_statuses.c?id=c7325de0732cdb50ee8f339dc4f5a74ad30cc92f'>c7325de0 ^
81190251 ^
c7325de0 ^
81190251 ^
c7325de0 ^
c7325de0 ^



c7325de0 ^

81190251 ^
c7325de0 ^
81190251 ^
c7325de0 ^
c7325de0 ^



c7325de0 ^

81190251 ^
c7325de0 ^
81190251 ^
c7325de0 ^
c7325de0 ^



c7325de0 ^

81190251 ^
c7325de0 ^
81190251 ^
c7325de0 ^
c7325de0 ^
79e9ab83 ^


79e9ab83 ^



81190251 ^
79e9ab83 ^




79e9ab83 ^



79e9ab83 ^



81190251 ^
79e9ab83 ^




79e9ab83 ^



79e9ab83 ^



81190251 ^
79e9ab83 ^




79e9ab83 ^



79e9ab83 ^



81190251 ^
79e9ab83 ^




79e9ab83 ^



79e9ab83 ^



81190251 ^
79e9ab83 ^




79e9ab83 ^



79e9ab83 ^



81190251 ^
79e9ab83 ^




79e9ab83 ^

2af418fd ^
79e9ab83 ^
2af418fd ^
79e9ab83 ^
2af418fd ^
79e9ab83 ^
81190251 ^
79e9ab83 ^
2af418fd ^
79e9ab83 ^
2af418fd ^
79e9ab83 ^
79e9ab83 ^

2af418fd ^
79e9ab83 ^
2af418fd ^
79e9ab83 ^
2af418fd ^
79e9ab83 ^
81190251 ^
79e9ab83 ^
2af418fd ^



2af418fd ^



2af418fd ^



81190251 ^
2af418fd ^



79e9ab83 ^
79e9ab83 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182