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/a82bd03650fe
branches: trunk
changeset: 953375:a82bd03650fe
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 8978503ad88d -r a82bd03650fe 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