From nobody Wed May 19 17:40:44 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 0B6108BCF94 for ; Wed, 19 May 2021 17:40:49 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from ikarus.efm.de (ikarus.efm.de [195.190.148.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FlgBm2XtJz4gRQ for ; Wed, 19 May 2021 17:40:48 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from ikarus.efm.de (localhost [127.0.0.1]) by ikarus.efm.de (Postfix) with ESMTPS id 369C629C11E7 for ; Wed, 19 May 2021 19:40:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ikarus.efm.de (Postfix) with ESMTP id 2A6AE29C11E3 for ; Wed, 19 May 2021 19:40:45 +0200 (CEST) Received: from ikarus.efm.de ([127.0.0.1]) by localhost (ikarus.efm.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PTpETzpNXz0P for ; Wed, 19 May 2021 19:40:45 +0200 (CEST) Received: from ikarus.efm.de (ikarus.efm.de [195.190.148.243]) by ikarus.efm.de (Postfix) with ESMTP id EF02829C1140 for ; Wed, 19 May 2021 19:40:44 +0200 (CEST) Date: Wed, 19 May 2021 19:40:44 +0200 (CEST) From: Jens Schweikhardt To: freebsd-current Message-ID: <877716937.20611434.1621446044943.JavaMail.zimbra@schweikhardt.net> Subject: Some odd TCP behavior (timeouts) 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-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_3975 (ZimbraWebClient - FF88 ([unknown])/8.8.15_GA_3975) Thread-Index: NVlWChipSc8pq8mJCdos+QW1OsRhXw== Thread-Topic: Some odd TCP behavior (timeouts) X-Rspamd-Queue-Id: 4FlgBm2XtJz4gRQ X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of schweikh@schweikhardt.net has no SPF policy when checking 195.190.148.243) smtp.mailfrom=schweikh@schweikhardt.net X-Spamd-Result: default: False [1.35 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FREEFALL_USER(0.00)[schweikh]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.984]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[schweikhardt.net]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.63)[0.634]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[195.190.148.243:from]; NEURAL_SPAM_SHORT(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25411, ipnet:195.190.148.0/24, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] 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 -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)