From owner-freebsd-security@freebsd.org Thu Jun 18 16:00:35 2020 Return-Path: Delivered-To: freebsd-security@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 A6CA7354049 for ; Thu, 18 Jun 2020 16:00:35 +0000 (UTC) (envelope-from rollingbits@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49nmqk5Z0tz4tPV; Thu, 18 Jun 2020 16:00:34 +0000 (UTC) (envelope-from rollingbits@gmail.com) Received: by mail-qk1-x732.google.com with SMTP id 205so6053771qkg.3; Thu, 18 Jun 2020 09:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:mime-version:subject:from:in-reply-to:cc :date:message-id:references:to; bh=JGgyK/oWYsVCJb93j8wEMMI4VGPqL+5XQ9CB3BK/wPw=; b=f3Urwf3tUOUUGCQAwWmASEt43oH1Ps6jUjPj2bsZ0JgsKf6nFWAwQoBAAOg6KmLxDL omzu5KmB3T2d0I0YvGuNs+0LmVdzzPsn8WevFPrLJM7FrazjIbbeonSqEFwx5KjmV4y3 xrwdsBf5m3Pgog3Z177mv5j/943ZYGOWt3vMARuDoessU5bP+khI/eiA3ZNwxCw52dPe /NSP/3dyEgJoixjPs+s/IKOyUL08zDmomiAl4DqCKow40wWOIFHDXkrn0YBxXDSoRbgg 8vNyekcMEArbrJAEiI81jT8teURx1bdol9nfsMP0I8j4nHS2IiJkkmiHPYhMSjBXLE9w YUyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:mime-version:subject :from:in-reply-to:cc:date:message-id:references:to; bh=JGgyK/oWYsVCJb93j8wEMMI4VGPqL+5XQ9CB3BK/wPw=; b=VfecEe8kPv5QaeK9+RUWq6r0WvepGXkiIf64mE0gDVcsjYnch7z8K6OhvWwVOkSKNM l3Wqm4IxkAvlZ5EOUMNjJfmfL8AI9EOYQ0pz4RPkHYGg2kf5Gd8WMCt2gENP9+Xw9GNy Iwk3ogwGlm4sqXBbpCBpHzDIT97u8JowzofzatlmS0RhOd9Q67N2aJtrWM5Mm2+D1RaZ 1//ZyC0De180Lx7Upmcdqo2dv69O+06yhvqjfoaD711Ey6M/g9CsIJYhRlk0ynTo50aP NTgYD+6HXsyBIXPtg7geQ9/4rkpZVJXeAQuIknniKljzPDZYl5iBPdKz7o6qvkRB3g2z 4sdg== X-Gm-Message-State: AOAM532Ydyf5ZFnf9+XCmmyi8Xmoly0naLQ/45B4UhvmKfpD6ryys9cH iOuLsf4t5HADoMZvv4G0jPymgY0WZio= X-Google-Smtp-Source: ABdhPJzi66/sOrJ9BK7at1kvUDqWM2EHygrgmStJ4d/eefjX+MVoreWRGPOwbk/x5pqrsikH8to96Q== X-Received: by 2002:a05:620a:1408:: with SMTP id d8mr4531865qkj.110.1592496033332; Thu, 18 Jun 2020 09:00:33 -0700 (PDT) Received: from ?IPv6:2804:389:1015:14fb:59ca:ccca:14ac:17d1? ([2804:389:1015:14fb:59ca:ccca:14ac:17d1]) by smtp.gmail.com with ESMTPSA id r5sm3855032qtc.40.2020.06.18.09.00.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jun 2020 09:00:32 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: Odd ssh sessions From: =?utf-8?Q?Lucas_Nali_de_Magalh=C3=A3es?= In-Reply-To: Cc: freebsd-security@freebsd.org Date: Thu, 18 Jun 2020 13:00:30 -0300 Message-Id: <08BDD3F1-D396-49F4-8DB6-0CFDE9411F8E@gmail.com> References: To: Carlo Strub X-Mailer: iPhone Mail (17F80) X-Rspamd-Queue-Id: 49nmqk5Z0tz4tPV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=f3Urwf3t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rollingbits@gmail.com designates 2607:f8b0:4864:20::732 as permitted sender) smtp.mailfrom=rollingbits@gmail.com X-Spamd-Result: default: False [-1.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.09)[-0.088]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; R_MIXED_CHARSET(0.62)[subject]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.960]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::732:from]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2020 16:00:35 -0000 > On Jun 12, 2020, at 7:27 PM, Lucas Nali de Magalh=C3=A3es wrote: >> =EF=BB=BFOn Jun 12, 2020, at 7:10 PM, Lucas Nali de Magalh=C3=A3es wrote: >>> On Jun 12, 2020, at 3:23 AM, Carlo Strub wrote: >>>> On Fri, 5 Jun 2020, 20:48 Lucas Nali de Magalh=C3=A3es, wrote: >>>> On Jun 5, 2020, at 3:45 PM, Lucas Nali de Magalh=C3=A3es wrote: >>>>>=20 >>>>> I've an old machine where I play with FreeBSD and after a while off, I= came back and noted that >>>>> sometimes when I enter an ssh session part of the text repeats. It can= be many lines or it can be >>>>> just one or even it can be none. So it also looks like I found a memor= y problem. Is it just me? >>>> And I'm going from FreeBSD 12.1-p3 to 12.1-p5 in this case. >>=20 >>> =EF=BB=BFCan you elaborate on what steps you are doing to get to such a s= tate? >>=20 >>=20 >>=20 >> I wrote in the hope it was somewhat easy, sorry. I've difficulty in repro= ducing it myself. Network is not >> very reliable in it and I first though it was the WiFi but I observed it o= ver Ethernet IPv6, too. My sessions >> have some "host not found" and "connection lost." I access from a Window= s 10 machine. I've no idea if >> the things are related or not. I hope it have no relation with my typos. T= oday it was stable and I tried to >> use the sftp but Windows (for the first time) tried to resolve the IPv6 a= ddress and didn't find the host. >> The next ssh sessions had the line duplication problem. It's a 32bit Inte= l Celeron M notebook used for >> experimentation with customized FreeBSD (with make.conf and src.conf). >>=20 >=20 >=20 > $ cat /etc/make.conf > (...) > $ cat /etc/src.conf > (...) Usually the wifi is the problem on this machine. In fact, I'm no sure if the= se things are related. A few days ago the drive caused a double fault on detach. I was turning it o= ff and it ended in=20 a kernel backtrace. Nothing was saved on disk and the part of the message I c= ould read said=20 the wifi didn't allowed the detach (or something alike). This isn't common. T= he part of the=20 dmesg that is related to it is ugen4.2: at usbus4 urtw0 on uhub0 urtw0: on usbus4 urtw0: unknown RTL8187L type: 0x8000000 urtw0: rtl8187l rf rtl8225u hwrev none uhub_reattach_port: giving up port reset - device vanished wlan0: Ethernet address: 00:15:af:XX:XX:XX uhub_reattach_port: giving up port reset - device vanished and a few more messages of unrecognized devices follows in the dmesg. It's c= omputer bought in Brazil, if that matters. --=20 rollingbits =E2=80=94 =F0=9F=93=A7 rollingbits@gmail.com =F0=9F=93=A7 rollin= gbits@terra.com.br =F0=9F=93=A7 rollingbits@yahoo.com =F0=9F=93=A7 rollingbi= ts@globo.com =F0=9F=93=A7 rollingbits@icloud.com