From nobody Mon May 22 09:35:56 2023 X-Original-To: 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 4QPslD2yNQz4TJ04 for ; Mon, 22 May 2023 09:36:08 +0000 (UTC) (envelope-from melifaro@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QPslD2SbXz4FVJ; Mon, 22 May 2023 09:36:08 +0000 (UTC) (envelope-from melifaro@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684748168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wPxWNt7frxT/NCwzEK7oFQYQjzsmff7UZcARWD3UHIQ=; b=Lip2k5ANnZJlhMMuFu9BlK7AVQ81C9VXIXIyTmfkg8a8tkAs7Gff77pzZ/nIYZ4SqncZ2q hm2wu2hXp5qhaeIzK+CffeQUct/K1y5QAQYsuqZDuj0rULcTTMi21VWD+j3Jae5ZLP1XZD jcuLfKYPBzR4BKReby+1bu5q3V/CftQtU1Iu4ob6lFEmkUXthvrGQbk8aO7mmz/gi5SdLc lR2UH0TyBFvbdWPPs6ECHYJg4JKw++MK5nWp1qnhbiVub/S9PU14k9ZP2hJY1NC+uFgra+ PhM9TJg/1zu9xmc+6HKoaFQlUo2mn4rPNwLHc1l/EJREpXYgqF2Wkttr1zXZkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684748168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wPxWNt7frxT/NCwzEK7oFQYQjzsmff7UZcARWD3UHIQ=; b=R1ZH0RzuNwWytf0FaNTMFh0LQtxET5+V4uVdAHoGTnMp1YsTgfAd7LE7fnfQ8FRAC4sGMb MZn1MqKSRLYGBfbrArfsVqcoXlNuqQWgTSzT2NFaVcT9K/RwMFTU7ZNfP8ZFJTeKFc256q oyyI6d9VM6/L/Nq00EyBJBn4B7iui40zJ1k2typ8D3ylnwVhOGbWBmXBCXAU6x7Hc/cFkx sEDhdang4rHF2HtZzQ2tb2tTvMENa3LiWjbeAlsl+tpX2gBmC91NSyLEjZWn6os+O1EdN1 7o+Cnytuy/b2BVxrPxjNe13mJVVqmTBSkZW9C1Q3X9AxgV8KgyBd5LpUEEWThA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684748168; a=rsa-sha256; cv=none; b=FMjwmHgCCB2r0JhQjYy81NmpHndNygVcG1wcHlYZGy1C4+kZKg+RvOf+IrvrI24upFkogc mzARLApDwd+dgEq+xDVF2aDWnVEsB/XX+j4TP2Wec6llIYcgsw1KR/bPIPlZqqqd0nTM9s DFKrCx7fsg+7YPYOfgIx4wYX7Nynk5gKjEj+SL/KHEjax7pjZ3g51/AxDZEu0CQxFKA4SL ua0zJ1M7UOtnAL5wAhFoYHumcIa10IRXd85Bq37v6xwLpEq5DyejmApNj1lvI+yy1OfJzO fYvZQ7CaLr5j+2e3QApQFIL0GAhELSpEjETKjqgFyb/0LtY3jTZqfpQ7cQkpAQ== Received: from smtpclient.apple (unknown [IPv6:2a02:8084:d6bb:510:a966:d3d6:9789:8d0a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: melifaro/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QPslC61bFz113T; Mon, 22 May 2023 09:36:07 +0000 (UTC) (envelope-from melifaro@freebsd.org) Content-Type: text/plain; charset=utf-8 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.400.51.1.1\)) Subject: Re: connection loss related to ndp? From: Alexander Chernikov In-Reply-To: Date: Mon, 22 May 2023 10:35:56 +0100 Cc: net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0BA534C4-EA11-46C0-B225-B18CD2C37F07@FreeBSD.org> References: To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N > On 22 May 2023, at 00:34, Bjoern A. Zeeb = wrote: >=20 > Hi, Hi Bjoern, >=20 > I am on 14-CUREENT (6fa88a4ad35e from April) and I recently started to Could you please check if that=E2=80=99s a local commit? I=E2=80=99m not = able to find this one in -main. > experience something which looks like: >=20 > ping6 -n ff02::1%wlan0 works > ping6 -n host works Is =E2=80=98host=E2=80=99 a global unicast address reachable via the = default route? >=20 > but ssh to host hangs. Given this seemed to be periodic-ish and I = only > always notice way after the facts I started to poke around and found: >=20 > ndp -P > ndp -R > rtsol wlan0 >=20 > fixes things. >=20 >=20 > I've seen similar problems with NDP vs. routing table updates and > another rtsol call would not bring back the default route unless > ndp -R was run before and I wonder if these are connected. >=20 > Both have become a bit annoying problems on a day-to-day IPv6-only = usage > for me that I had never experienced like this (in the last decade) = before. >=20 > If anyone has ideas and saves me from spending too many hours digging > into this now I'd appreciate. There were a number of changes related to routing/ndp (by me) and PCB = table split work, so there are multiple candidates for the issue. I=E2=80=99d start with checking with tcpdump (w/o promisc) output when = running ssh. Specifically, checking if * SYN is sent to the right destination with the right source address * Destination MAC is correct * S+A Is received I=E2=80=99d also check if NDP record for the default GW looks sane & = check the PCB status while SSH is trying to connect. >=20 > /bz >=20 > --=20 > Bjoern A. Zeeb = r15:7 >=20