Page MenuHomeFreeBSD

D30740.id90772.diff
No OneTemporary

D30740.id90772.diff

diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -34,7 +34,7 @@
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd April 24, 2021
+.Dd June 12, 2021
.Dt TCP 4
.Os
.Sh NAME
@@ -382,7 +382,7 @@
connections for which support of
.Tn TCP
timestamps has been negotiated.
-(default is 0, i.e., the missing of timestamps is not tolerated).
+(default is 1, i.e., the missing of timestamps is tolerated).
.It Dv TCPCTL_MSSDFLT
.Pq Va mssdflt
The default value used for the maximum segment size
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -268,7 +268,15 @@
&VNET_NAME(tcp_do_rfc1323), 0,
"Enable rfc1323 (high performance TCP) extensions");
-VNET_DEFINE(int, tcp_tolerate_missing_ts) = 0;
+/*
+ * As of June 2021, several TCP stacks violate RFC 7323 from September 2014:
+ * - Omniswitch 63xx and 64xx models (negotiating TS, but not sending them).
+ * - HP LaserJet 500 color M551dn (negotiating TS, but not sending them).
+ * - IPFW TCP keep-alive injection (not sending TS when injecting packets).
+ * - Mac OS 11.4 (negotiating TS, but not sending TS on keep-alive packets).
+ * Therefore tolerating violations for now...
+ */
+VNET_DEFINE(int, tcp_tolerate_missing_ts) = 1;
SYSCTL_INT(_net_inet_tcp, OID_AUTO, tolerate_missing_ts, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(tcp_tolerate_missing_ts), 0,
"Tolerate missing TCP timestamps");

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 13, 9:12 AM (14 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23668706
Default Alt Text
D30740.id90772.diff (1 KB)

Event Timeline