public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] sysctl.conf: Enable TFO in sysctl
@ 2018-12-14 12:03 erik.kapfer
  2018-12-14 14:59 ` Michael Tremer
  2018-12-14 16:54 ` [PATCH v2] " erik.kapfer
  0 siblings, 2 replies; 4+ messages in thread
From: erik.kapfer @ 2018-12-14 12:03 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

Fixes #11945

This do not enables TFO support in general there is still the execution of
echo 3 > /proc/sys/net/ipv4/tcp_fastopen
needed after every reboot (rc.local e.g.).

For further information see:
https://tools.ietf.org/html/rfc7413#section-4.2.2
https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt

Signed-off-by: erik.kapfer <ummeegge(a)ipfire.org>
---
 config/etc/sysctl.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/etc/sysctl.conf b/config/etc/sysctl.conf
index 4066af767..52b21efa4 100644
--- a/config/etc/sysctl.conf
+++ b/config/etc/sysctl.conf
@@ -13,6 +13,7 @@ net.ipv4.tcp_syncookies = 1
 net.ipv4.tcp_fin_timeout = 30
 net.ipv4.tcp_syn_retries = 3
 net.ipv4.tcp_synack_retries = 3
+net.ipv4.tcp_fastopen = 3
 
 net.ipv4.conf.default.arp_filter = 1
 net.ipv4.conf.default.rp_filter = 0
-- 
2.12.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-14 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-14 12:03 [PATCH] sysctl.conf: Enable TFO in sysctl erik.kapfer
2018-12-14 14:59 ` Michael Tremer
2018-12-14 16:41   ` ummeegge
2018-12-14 16:54 ` [PATCH v2] " erik.kapfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox