Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet netinet: Enable RFC 1948 pseudorandom TCP ISS se...



details:   https://anonhg.NetBSD.org/src/rev/05c45c7e2c7c
branches:  trunk
changeset: 981304:05c45c7e2c7c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 07 14:58:54 2021 +0000

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

diffstat:

 sys/netinet/tcp_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f0396fa0380d -r 05c45c7e2c7c sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c    Sun Mar 07 14:58:27 2021 +0000
+++ b/sys/netinet/tcp_subr.c    Sun Mar 07 14:58:54 2021 +0000
@@ -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_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 */



Home | Main Index | Thread Index | Old Index