From nobody Wed Jun 21 17:45:25 2023 X-Original-To: freebsd-net@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 4QmWBH6B4rz4gCjT for ; Wed, 21 Jun 2023 17:45:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmWBH3lYJz3tSb for ; Wed, 21 Jun 2023 17:45:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687369541; bh=/YY7J1M0QC/u6FEX/FfIa0U9pxxRzKQF3s41Az/XSkw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=L3JIb+TwdMRdxHm5Lt18KEDww3hq2TV1MHGvOyy+n2I8EPMeHg+TDYap+dSijV4OLEsMzxGsXu3Q+sR1QWLqu2H+bGjzGTSRsxSQavMI4qt9p6GFaHQDuCniuSFdMKDpIaPpU8JNKrUo6aWlNt/lavr7jpFH3kkQ98vTMTKt7ffFkvDkX13Uf/zk/fIVvKHFKwTJatUHQZYge1ffSZMXT9vHQT7qkSwVc7/KKod1z6mBerFhScOm+GwRXhnZ5IgJ4XfNNHHn5Idgjl1fS53SgXKDS/6836bnRYHhMoXdXyRcTYTMwOCtd4xS7cRXaf/7FpOiqtTbzyU5Xr5CINzslQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687369541; bh=v1r+vvkJSo2a5adrxlIdnJ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_ejzuR5YPEqR.11ardW2mBZf_y8mc7GUABYmIMkdgbk.b1gXKbo1Sd58JZZN 2G4gjujBUloGIDFpU1l3VUhGpWl9XY6P554GWnO0QyocjOLL0qRkUQ9cyrSOKbHRDXAEWzaSR3Sr cjPnScgLwSR3RAHAL6ezs291HveBOnLSE4zrrKtF1XM6CuDdBWRovqzr54ghu9QivBSkKz7443N. sPalCBKlowDRMgE9yfYsDepenxJA3yhd1mMhH8fv2CNc4XguWpguSUjN2nvgrLlQJapyab9M5B4H Si.6TsWl45CB44sGul1IXrh74tECtMlt4RB_T5jG5g_4DsCP.mODSDQP2Zahld.sI4JVQIuoAaWy JD3nrzyZK_qy7MVjsKp_ieJ55Dq9yowrS26UwH3zwr0E734Xhdwr3a.jMJmnVmBusEvOcmJeXfQ4 t1VFGDeOMXQyFk2vOcGa74PG_3xNvsriUIScNt34kOJveJYSGja3lSZK77hp0lG65aXLVcSFMMjE 5UTzZnESFdi_BCGQV8L1TX8GqjZlNokExCtwhThCluDkiiuhA9e34VLkZzu5RmvX_KF_x4m5SuA- - X-Sonic-MF: X-Sonic-ID: ee390e75-9ecb-4b5f-9a2b-f1f84e8ae895 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Wed, 21 Jun 2023 17:45:41 +0000 Received: by hermes--production-bf1-54475bbfff-4z5b6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID becb1068c2fd50ac1792842bd2946caf; Wed, 21 Jun 2023 17:45:38 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: -current dropping ssh connections From: Mark Millard In-Reply-To: Date: Wed, 21 Jun 2023 10:45:25 -0700 Cc: freebsd-net@freebsd.org, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: bob prohaska X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4QmWBH3lYJz3tSb X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 21, 2023, at 10:24, bob prohaska wrote: > I've got a Pi4 running -current that seems to selectively drop ssh = connections. Only when the ssh has text streaming over it? Even when it is idle? Any other types of context differences that lead to observable differences of some type related to the disconnects (vs. lack of them)? > Connections running a shell seem to stay up, but a session running tip = to a > usb-serial adapter (FTDI TTL232R-3V3) seems go away within a few = hours.=20 The way that reads, ssh to a shell and then running tip in that shell would stay up. (Does it?) tip is being run without ssh running a shell? May be more detail about the two contexts of establishing the connection is needed here? > There don't seem to be any error messages on the console at all, the = client=20 > session simply reports=20 > client_loop: send disconnect: Broken pipe >=20 > Searches through /var/log/sshd_debug.log find many transactions = between > the ssh client and the -current target host, but none seem to be error > messages; all are either connection reports or disconnects by user. >=20 > This sort of behavior has been intermittent with aarch64 among both > the Pi4 and a pair of Pi3s for some time, but now only the Pi4 is > dropping connections.=20 >=20 > I've tried searching /var/log/sshd_debug.log for the keywords tip, > ucom, the IP address of the NAT client used to connect and cuaU0. > Are there other things worth looking for? >=20 > Right now I'm using in /etc/rc.conf the line > sshd_flags=3D"-E /var/log/sshd_debug.log" > which is already quite verbose. Is there a better > option that emphasizes errors over normal traffic? I'm not likely to identify such, unfortunately. =3D=3D=3D Mark Millard marklmi at yahoo.com