From owner-freebsd-ipfw@freebsd.org Sat Feb 13 15:58:25 2021 Return-Path: Delivered-To: freebsd-ipfw@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E58D530DBC for ; Sat, 13 Feb 2021 15:58:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DdFQT162Hz4gYc for ; Sat, 13 Feb 2021 15:58:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 23FB0530DBB; Sat, 13 Feb 2021 15:58:25 +0000 (UTC) Delivered-To: ipfw@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23C61530CBB for ; Sat, 13 Feb 2021 15:58:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DdFQT0SNqz4gQV for ; Sat, 13 Feb 2021 15:58:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2F771A004 for ; Sat, 13 Feb 2021 15:58:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11DFwOi5004524 for ; Sat, 13 Feb 2021 15:58:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11DFwOhZ004523 for ipfw@FreeBSD.org; Sat, 13 Feb 2021 15:58:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ipfw@FreeBSD.org Subject: [Bug 253476] ipfw keepalive: tcp_do_segment: Timestamp missing, segment silently dropped Date: Sat, 13 Feb 2021 15:58:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rscheff@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2021 15:58:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253476 Richard Scheffenegger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rscheff@freebsd.org Assignee|ipfw@FreeBSD.org |rscheff@freebsd.org Status|New |In Progress --- Comment #1 from Richard Scheffenegger --- Looking into this; without the tolerate_missing_ts, using the TCP_NOOPT soc= ket option would also result in sessions not being set up: nc --no-tcpopt -l 10.0.0.101 12345 & nc -s 10.0.0.102 10.0.0.101 12345 The server side would respond without timestamp, and even so it was not yet negotiated, the client would apparently request the SYN,ACK missing the TS.= .. 16:48:10.515731 IP 10.0.0.102.46343 > 10.0.0.101.12345: Flags [S], seq 1670959926, win 65535, options [mss 16344,nop,wscale 6,sackOK,TS val 150557= 5656 ecr 0], length 0 16:48:10.515908 IP 10.0.0.101.12345 > 10.0.0.102.46343: Flags [S.], seq 3686780973, ack 1670959927, win 65535, length 0 16:48:10.515959 IP 10.0.0.102.46343 > 10.0.0.101.12345: Flags [.], ack 1, w= in 65535, length 0 16:48:11.514681 IP 10.0.0.101.12345 > 10.0.0.102.46343: Flags [S.], seq 3686780973, ack 1670959927, win 65535, length 0 16:48:11.514829 IP 10.0.0.102.46343 > 10.0.0.101.12345: Flags [.], ack 1, w= in 65535, length 0 16:48:13.713713 IP 10.0.0.101.12345 > 10.0.0.102.46343: Flags [S.], seq 3686780973, ack 1670959927, win 65535, length 0 16:48:13.713975 IP 10.0.0.102.46343 > 10.0.0.101.12345: Flags [.], ack 1, w= in 65535, length 0 16:48:17.916016 IP 10.0.0.101.12345 > 10.0.0.102.46343: Flags [S.], seq 3686780973, ack 1670959927, win 65535, length 0 16:48:17.917153 IP 10.0.0.102.46343 > 10.0.0.101.12345: Flags [.], ack 1, w= in 65535, length 0 16:48:58.977772 IP 10.0.0.102.46343 > 10.0.0.101.12345: Flags [.], ack 1, w= in 0, length 0 16:48:58.979551 IP 10.0.0.101.12345 > 10.0.0.102.46343: Flags [R], seq 3686780974, win 0, length 0 For the reported issue, this doesn't appear to be ipfw related per se, the persist / keepalive segemtns are being sent without TS, even though TS = was negotiated: 16:26:39.655911 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [S], seq 1299597894, win 65535, options [mss 16344,nop,wscale 6,sackOK,TS val 330811= 2659 ecr 0], length 0 16:26:39.656269 IP 10.0.0.101.12345 > 10.0.0.102.43262: Flags [S.], seq 3229957175, ack 1299597895, win 65535, options [mss 16344,nop,wscale 6,sackOK,TS val 2214622743 ecr 3308112659], length 0 16:26:39.656370 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [.], ack 1, w= in 1277, options [nop,nop,TS val 3308112659 ecr 2214622743], length 0 16:27:23.455682 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [.], ack 1, w= in 0, length 0 ## should have the TS option too. 16:27:28.456635 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [.], ack 1, w= in 0, length 0 16:27:33.453985 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [.], ack 1, w= in 0, length 0 16:27:38.456062 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [.], ack 1, w= in 0, length 0 16:28:06.343812 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [F.], seq 1, = ack 1, win 1277, options [nop,nop,TS val 3308199350 ecr 2214622743], length 0 16:28:06.344116 IP 10.0.0.101.12345 > 10.0.0.102.43262: Flags [.], ack 2, w= in 1277, options [nop,nop,TS val 2214709434 ecr 3308199350], length 0 16:28:06.344363 IP 10.0.0.101.12345 > 10.0.0.102.43262: Flags [F.], seq 1, = ack 2, win 1277, options [nop,nop,TS val 2214709434 ecr 3308199350], length 0 16:28:06.344419 IP 10.0.0.102.43262 > 10.0.0.101.12345: Flags [.], ack 2, w= in 1276, options [nop,nop,TS val 3308199350 ecr 2214709434], length 0 --=20 You are receiving this mail because: You are the assignee for the bug.=