From owner-freebsd-current@freebsd.org Wed Dec 30 13:14:54 2020 Return-Path: Delivered-To: freebsd-current@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 8A0704C30E3 for ; Wed, 30 Dec 2020 13:14:54 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5WwY3FtDz3NPQ for ; Wed, 30 Dec 2020 13:14:52 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([89.12.11.0]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mxm3Q-1k5Ulb3Yh4-00zICq; Wed, 30 Dec 2020 14:14:49 +0100 Date: Wed, 30 Dec 2020 14:14:48 +0100 From: "Hartmann, O." To: Michael Tuexen Cc: FreeBSD CURRENT Subject: Re: # Fssh_packet_write_wait: Connection to 77.183.250.3 port 22: Broken pipe Message-ID: <20201230141448.48871cc5@hermann.fritz.box> In-Reply-To: References: <20201230080403.5474da7c@hermann.fritz.box> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8tXX7vAxhlkt+dhYppWM_C6"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Provags-ID: V03:K1:r3Fmp7VevJ5VxnsYwTvCbqnh8DAcvQJzGXOQY1mxX+VWi0m5sWO b985Ilcu6aFE42fxpFfl/YRXFsoeGZIV7ObTqKMF8TNIGuFvTZ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-Rspamd-Queue-Id: 4D5WwY3FtDz3NPQ X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.95)[-0.946]; RECEIVED_SPAMHAUS_PBL(0.00)[89.12.11.0:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.15.18:from]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[walstatt.org]; SPAMHAUS_ZRD(0.00)[212.227.15.18:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2020 13:14:54 -0000 --Sig_/8tXX7vAxhlkt+dhYppWM_C6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 30 Dec 2020 12:13:44 +0100 Michael Tuexen wrote: > On 30. Dec 2020, at 08:04, Hartmann, O. wrote: > >=20 > > On recent 12-STABLE, 12.1-RELENG and 12.2-RELENG I face a very nasty pr= oblem which > > occured a while ago after it seemed to have vanished for a while: runni= ng ssh in a > > xterm on FreeBSD boxes as mentioned at the beginning ends up very rapid= ly in a lost > > connection with =20 > How can I reproduce the problem? Just ssh'ing into a server? Client and s= erver running > FreeBSD head? Are there middleboxes (NAT, Firewall) involved or does it a= lso happen if > client and server are directly connected? What does 'rapidly' mean: 1 sec= ond, 1 minute, > 1 hour, 1 day? Take this course: 12-STABLE (FreeBSD 12.2-STABLE #63 r368787+3cc3872829b1(s= table/12): Mon Dec 28 06:07:57 CET 2020 amd64).=20 As a target (server) I just used a LibreELEC box, Leia 18. something, core = 9.2.6. My notebook this time is a Lenovo E540. ssh is running in xterm. After a succe= ssful login on the KODI/LibreElec, wait for a couple of minutes. It is random, the session= of mine died after 2 to 5 minutes of idling, one can extend that timeframe by starting t= op on the KODI/shell. regards oh p.s. That is only one scenario that I faced at home just a couple of minute= s ago. >=20 > Best regards > Michael > >=20 > > # Fssh_packet_write_wait: Connection to XXX.XXX.XXX.XXX port 22: Broken= pipe > >=20 > > The backend is in most cases a CURRENT, 12.1-RELENG or 12.2-RELENG or 1= 2-STABLE > > server. A couple of months ago we moved from 11.3-RELENG to 12.1-RELENG= (server side, > > clients were always 13-CURRENT or 12-STABLE). With FreeBSD 11 as the ba= ckend, those > > broken pipes occured, but not that frequent and rapid as it is the fact= now.=20 > >=20 > > The "problem" can be mitigated somehow: running top or using the consol= e prevents the > > broken pipe fault for a while, but it still occurs. Running "screen" (p= ort > > sysutils/screen) does extend the usability of the console for a signifi= cant timespan, > > but the broken pipe also occurs randomly, but it takes a significant ti= me to occur. > >=20 > > All systems mentioned above are highly customized, so I used the chance= of another, > > more "generic" scenario to test. The backend is a most recent Xigmanas = machine > > (running Hardened FreeBSD 12, latest official issue, its based on FBSD = 12.1). > > Accessing clients are recent GhostBSD or FreeBSD 12.2-RELENG, utilizing= Remmina (port > > sysutils/remmina). It doesn't matter whether I take the ports from our = local > > poudriere driven repository or from one of the official ones. SSH via R= emmina dies > > the same death as it does on all customized boxes. And those failing sc= enarios are > > occur in all kind of networks, home-ISP-lab/work, lab's network, home's= network with > > foreign, Linux based CPE or other vendor's CPE. > >=20 > > My conclusion is: either there is a serious problem with FreeBSD since = 12, or there > > is a config issue I'm not aware of, even with "vanilla" installations f= rom official > > repository running unchanged. > >=20 > > Kind regards, > >=20 > > oh =20 >=20 --Sig_/8tXX7vAxhlkt+dhYppWM_C6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX+x9SAAKCRA4N1ZZPba5 R9HTAQCoylYTmyy5Canw0uTU7uiFMX3cJ9CcnnKGK8toVecKPgD9GYsrKkneZ32J BoBX7imznEGT5Su4CsIeqStztzeKJQk= =aQLR -----END PGP SIGNATURE----- --Sig_/8tXX7vAxhlkt+dhYppWM_C6--