From nobody Wed May 19 19:44:40 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C5E2F8C7406 for ; Wed, 19 May 2021 19:44:49 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fljxs3mbFz4cMp for ; Wed, 19 May 2021 19:44:49 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 14JJieNH004975; Wed, 19 May 2021 12:44:40 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 14JJie2n004974; Wed, 19 May 2021 12:44:40 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202105191944.14JJie2n004974@gndrsh.dnsmgr.net> Subject: Re: Some odd TCP behavior (timeouts) In-Reply-To: <877716937.20611434.1621446044943.JavaMail.zimbra@schweikhardt.net> To: Jens Schweikhardt Date: Wed, 19 May 2021 12:44:40 -0700 (PDT) CC: freebsd-current X-Mailer: ELM [version 2.4ME+ PL121h (25)] List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4Fljxs3mbFz4cMp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] > Hello, > > I'm having a TCP connectivity issue stumping me and driving me crazy. > The TLDR version: No more printing on my LaserJet (but ping works), > while printing and the web interfacw works fine under Windows. > Other TCP connections apparently flawless. > Wireshark shows FreeBSD performing the three way handshake but > then ignoring some packets sent from the printer (no ACKs) > and retransmitting until timeout hits. > > The details with the wireshark logs are on > https://superuser.com/questions/1649435/mysterious-tcp-http-issue-accessing-laserjet-web-interface > > I have seen a few commits to CURRENT's tcp and timeout code recently. > I went back to stable/13 as of two days ago, but still no joy. > > Has anyone else noticed something going on with TCP? > Especially HTTP/HTTPS, like connections timing out in rare cases? > If you have a LaserJet (preferably 551dn), can you still access > its web interface, or get a reply with > > printf "GET / HTTP/1.0\r\n\r\n" | nc LaserJet 80 # or 443. > > Regards, > Jens One thing that did change that comes to mind is the fact FreeBSD now drops certain packets if timestamps got negotiated. Locally I have that turned off as an unconfirmed suspect of some connection problems: sysctl net.inet.tcp.tolerate_missing_ts=1 You can try that, if it fixes the problem PLEASE let us know! > Jens Schweikhardt http://www.schweikhardt.net/ -- Rod Grimes rgrimes@freebsd.org