From nobody Tue Dec 26 01:04:47 2023 X-Original-To: freebsd-arm@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 4Szc4w0CCsz55FC8 for ; Tue, 26 Dec 2023 01:05:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 4Szc4v3qknz3cCB for ; Tue, 26 Dec 2023 01:05:03 +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=1703552700; bh=UlvW/RBDwgJSbJIwUzhfbXXXZ380xqkURNblEUqslMg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=nggistvqZwcD+spJ2LLwFWZBlyFiul06IeCf2CPlq0z/OmizsCMXagq7mbIlaJYIhzWpK4K8Q7f9iiirUO1JhuaUKEt8KwOF6X+Z6DRe8hXYxaPDEbVa+dQ2ekSDUdH8uZUZhhkDJioTIkLT2Fb+HnUIMYwUcmrN0Ao3bi5mRAK2ECRxNvMnCN3+4NaIQZpQj/VJ6Ejp+v6ukg+1W/1Tjme9X98voQAOThaXySHiYo3WanbmObgCfq85NUFXL1/S4+T6lrI3Yqe9732Z6uZyJeIK+t/21ohdXwl5ItU1ietjmpG8O8MYArC0pDAy41wex46Bl0x/GUSWDWhZF8x84w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1703552700; bh=vXXVOwwZIc1X3KiSbeGZpJBZVvilc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X.Pu8wwa fYr5_f2PawH8fV4NHbIjjlFVz5Fgd4_95IxUqRunoloQaREsGwUUdueMFP7f4jLn9.Zu3ZUJsbuq TRf87jUl9b9FP9rUBaZrD9N_irTlij3rv6vd8bhcHT0nDNn9NG_5uQ2Us9aB8AvtvAFrR1diplPL IZ5Yyw27lZaKvqw0wJZEO6YAOiE4BBsIvFVeTubull8a3yCdwcJeMvk7lRj4AmU6m_RBVPlE4bAI 7inU_Fu1r8AYIVqtWR7s7N4O72dKg2P8a5Nc9LZcecUfDN3Tr7xz3Y9xeedSpOzLGi75efZezNwa jwjRBdwi57FB8ZTAaaqvCnQXSIQGwNpQgnFWmkbBPNtSlMEYOTZINgelg7D7HRAomk0tFkOFaIcW 7dYgdnbISktP09FtuLiPSUw7lJNUauD98Bmg2akmBJDNCBc3qo8xvEBTN.jZgEGKMqQ1grYiGTF6 I8GF.yFf9785eFb40ZbpY0Elz7Q184qFhBsHYvAewDpmvV4w1nbB1LPwb_OM2O8MQJTQa1__.vk4 oBPAhrJEMVSU9eFNV.tAQKldtVp8Uebv0ELlw3H1.qQJLp0gi1FqY1suH_ml6S9RjgynN0B9G5zw 6 X-Sonic-MF: X-Sonic-ID: a6903140-2be4-493c-84f6-bca154d40a28 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Tue, 26 Dec 2023 01:05:00 +0000 Received: by hermes--production-gq1-6949d6d8f9-bvfr7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 868e2ba519c67b42f3b4e2d48bc5791e; Tue, 26 Dec 2023 01:04:58 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: USB-serial adapter suggestions needed From: Mark Millard In-Reply-To: Date: Mon, 25 Dec 2023 17:04:47 -0800 Cc: Joseph Holsten , ticso@cicely.de, Marcin Cieslak , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5B6EE00A-3E69-4EEC-BB66-259EC9833841@yahoo.com> References: <16864054-4os0-pq3p-7qp0-7299666908os@fncre.vasb> <50011576-256a-4425-9091-7ddcf0c1085b@app.fastmail.com> To: bob prohaska X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Szc4v3qknz3cCB On Dec 25, 2023, at 09:45, bob prohaska wrote: > On Sun, Dec 24, 2023 at 01:31:56PM -0800, Joseph Holsten wrote: >> Okay you all, where should all this great info go in the docs? >=20 > Probably under the heading of "inexplicable miscellany" 8-) >=20 > In the meantime there's been a new development, maybe. >=20 > Overnight all four of my ft232 usb-serial sessions dropped their ssh > connections. In addition, one session using pl2303 dropped also, the > two remaining pl2303 sessions remained up. >=20 > On trying to reconnect via ssh to the host using the pl2303 adapter, > the first connection worked with a long authentication delay but a > second connection reported >=20 > bob@ns2:~ % top > Corrupted MAC on input. > ssh_dispatch_run_fatal: Connection to 50.1.20.30 port 22: message = authentication code incorrect Are there other historical examples of usch messages shown by: # more /var/log/auth.log FYI: # ssh -Q mac you have mail hmac-sha1 hmac-sha1-96 hmac-sha2-256 hmac-sha2-512 hmac-md5 hmac-md5-96 umac-64@openssh.com umac-128@openssh.com hmac-sha1-etm@openssh.com hmac-sha1-96-etm@openssh.com hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com hmac-md5-etm@openssh.com hmac-md5-96-etm@openssh.com umac-64-etm@openssh.com umac-128-etm@openssh.com When I looked I saw references to system load being an issue and switching from the likes of a more expensive: hmac-sha1-etm@openssh.com to: umac-64-etm@openssh.com solving that message and such broken pipe issues for at least some contexts. # ssh -vvvv NODEID apparently reports what is used in its debug output. You might try something analogous to: # ssh -o macs=3Dumac-64-etm@openssh.com = NODEID Apparently one can use MACs lines in /etc/ssh/sshd_config to control what is used by default. NOTE: I'm not expert in this. https://en.wikipedia.org/wiki/UMAC = reports: QUOTE A specific type of UMAC, also commonly referred to just UMAC, is = specified in RFC 4418, it has provable cryptographic strength and is = usually a lot less computationally intensive than other MACs. UMAC's = design is optimized for 32-bit architectures with SIMD support, with a = performance of 1 CPU cycle per byte (cpb) with SIMD and 2 cpb without = SIMD. A closely related variant of UMAC that is optimized for 64-bit = architectures is given by VMAC, which has been submitted to the IETF as = a draft (draft-krovetz-vmac-01) but never gathered enough attention for = becoming a standardized RFC. END QUOTE There may be better macs=3D??? alternatives for the RPi2B v1.1 for all I = know. > This host is a Pi2v1.1 armv7 running 12.4-STABLE FreeBSD 12.4-STABLE = r373269 GENERIC arm >=20 > Re-try was successful, but I've never seen that error message before, = does anybody > recognize it? >=20 > Three of the four restored ftdi sessions had garbage characters mixed = up with the login > prompt, one was clean and the restored pl2303 session was clean. >=20 > The two pl2303 sessions that remained connected showed no upset of any = kind. =3D=3D=3D Mark Millard marklmi at yahoo.com