Module Name:    src
Committed By:   christos
Date:           Sun Mar  7 14:58:54 UTC 2021

Modified Files:
        src/sys/netinet: tcp_subr.c

Log Message:
netinet: Enable RFC 1948 pseudorandom TCP ISS selection by default.
(from riastradh)


To generate a diff of this commit:
cvs rdiff -u -r1.284 -r1.285 src/sys/netinet/tcp_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/tcp_subr.c
diff -u src/sys/netinet/tcp_subr.c:1.284 src/sys/netinet/tcp_subr.c:1.285
--- src/sys/netinet/tcp_subr.c:1.284	Fri Jun 12 07:04:45 2020
+++ src/sys/netinet/tcp_subr.c	Sun Mar  7 09:58:54 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_subr.c,v 1.284 2020/06/12 11:04:45 roy Exp $	*/
+/*	$NetBSD: tcp_subr.c,v 1.285 2021/03/07 14:58:54 christos Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_subr.c,v 1.284 2020/06/12 11:04:45 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_subr.c,v 1.285 2021/03/07 14:58:54 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -163,7 +163,7 @@ int 	tcp_mssdflt = TCP_MSS;
 int	tcp_minmss = TCP_MINMSS;
 int 	tcp_rttdflt = TCPTV_SRTTDFLT / PR_SLOWHZ;
 int	tcp_do_rfc1323 = 1;	/* window scaling / timestamps (obsolete) */
-int	tcp_do_rfc1948 = 0;	/* ISS by cryptographic hash */
+int	tcp_do_rfc1948 = 1;	/* ISS by cryptographic hash */
 int	tcp_do_sack = 1;	/* selective acknowledgement */
 int	tcp_do_win_scale = 1;	/* RFC1323 window scaling */
 int	tcp_do_timestamps = 1;	/* RFC1323 timestamps */

Reply via email to