untrusted comment: verify with openbsd-80-base.pub RWSMSt0erHTctVcpUVmDZsICV9g83I+HHorcAyiACnXzxqED1FQHahdKFuash7b6TUM9pLXAq+Cv+A2RuU1hvD9FLz/4mOnhNAY= OpenBSD 8.0 errata 029, December 3, 2026: The FIN_WAIT_2 timeout of closed TCP connections was 16 hours instead of 10 minutes. Apply by doing: signify -Vep /etc/signify/openbsd-80-base.pub -x 029_tcpfinwait.patch.sig \ -m - | (cd /usr/src && patch -p0) And then rebuild and install a new kernel: KK=`sysctl -n kern.osversion | cut -d# -f1` cd /usr/src/sys/arch/`machine`/compile/$KK make obj make config make make install Index: sys/netinet/tcp_input.c =================================================================== RCS file: /cvs/src/sys/netinet/tcp_input.c,v diff -u -p -r1.469.2.1 tcp_input.c --- sys/netinet/tcp_input.c 10 Nov 2026 21:52:27 -0000 1.469.2.1 +++ sys/netinet/tcp_input.c 27 Nov 2026 14:54:16 -0000 @@ -1801,7 +1819,7 @@ trimthenstep6: soisdisconnected(so); maxidle = TCPTV_KEEPCNT * - atomic_load_int(&tcp_keepidle); + atomic_load_int(&tcp_keepintvl); TCP_TIMER_ARM(tp, TCPT_2MSL, maxidle); } tp->t_state = TCPS_FIN_WAIT_2; Index: sys/netinet/tcp_usrreq.c =================================================================== RCS file: /cvs/src/sys/netinet/tcp_usrreq.c,v diff -u -p -r1.253 tcp_usrreq.c --- sys/netinet/tcp_usrreq.c 24 Oct 2025 15:09:56 -0000 1.253 +++ sys/netinet/tcp_usrreq.c 27 Nov 2026 14:54:16 -0000 @@ -1116,7 +1116,7 @@ tcp_usrclosed(struct tcpcb *tp) int maxidle; maxidle = TCPTV_KEEPCNT * - atomic_load_int(&tcp_keepidle); + atomic_load_int(&tcp_keepintvl); TCP_TIMER_ARM(tp, TCPT_2MSL, maxidle); } }