]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a sysctl variable ts_offset_per_conn to change the computation
authortuexen <tuexen@FreeBSD.org>
Tue, 23 Jul 2019 21:28:20 +0000 (21:28 +0000)
committertuexen <tuexen@FreeBSD.org>
Tue, 23 Jul 2019 21:28:20 +0000 (21:28 +0000)
commitbd266b70fa9d99a149f97cd027a17f38a668824d
tree0d6464650ca388f43186988023604bd394cf85db
parentfeb038e4b4cec89f24f3a23da2d69e3d1e741cc5
Add a sysctl variable ts_offset_per_conn to change the computation
of the TCP TS offset from taking the IP addresses and the TCP port
numbers into account to a version just taking only the IP addresses
into account. This works around broken middleboxes or endpoints.
The default is to keep the behaviour, which is also the behaviour
recommended in RFC 7323.

Reported by: devgs@ukr.net
Reviewed by: rrs@
MFC after: 2 weeks
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D20980
share/man/man4/tcp.4
sys/netinet/tcp_subr.c
sys/netinet/tcp_var.h