Linux tcp settings for ipv6

I want to change tcp keepalive settigs namely tcp_keepalive_time, tcp_keepalive_intvl, tcp_keepalive_probes and tcp_retries2 for linux. all of these settings are available for ipv4 on Linux, but I do not see any ipv6 settings. Are these options automatically applied to ipv6? If these options apply to ipv6, is there an official document that mentions this?

Thank!

+4
source share
1 answer

Yes, tcp settings for ipv4 also apply to ipv6:

https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt :

...
/ proc / sys / net / ipv6 / * Variables:

IPv6 has no global variables such as tcp_*.  tcp_* settings under ipv4/ also
apply to IPv6  
...
+7

Source: https://habr.com/ru/post/1529889/


All Articles