From nobody Thu Jul 04 22:23:16 2024 X-Original-To: bugs@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 4WFWPd0QlGz5PxZS for ; Thu, 04 Jul 2024 22:23:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WFWPc5BSsz4Xtn for ; Thu, 4 Jul 2024 22:23:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720131796; a=rsa-sha256; cv=none; b=ylyAG0s2vB++dYhq6AsOUp+FWizGBRSu72QUk7zx4RCeysh/NImSPYTDsWoei/9qXe9g9p EdcsJf9AdUAxo2b1JzYvdq2aU5TpfdwpF3wewakT5tqkd8AjoIkW54eRxF9FQINpPM6zp/ //ULc2wsFNSnHjJw8YLzqB+gopf1yImWCbI2JV/bsTQ0hEtsQOezxdkLXH92BpBmvP8VE7 rd/kIr2qi9Gx6vdx10/pXDsqYrZWzE7awxpdR6uIOTLy+h79lLr2ZZNDuUOZAk9Z4+xXAt RGU+Z+AgnjSpRYkhP3XwFMTPWg7038xwJCEOyE21KPOe9EmQ7XjMyAUjUk6caQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720131796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=At0ZvU0UhgyYlHQZNVHzRLCiSaPtkcoqnkgSNB1oJu8=; b=nTi0EW2bzQbBJAm3FkVI4j6x4Ay7G3e4ChtSRVlDt0Qd3saeRbOKb2b0Lljsf9WjkMECoK aFT4kpYEU/IX08oQdeWvjV1e8nu0mS6qHD2jF5rCzw0RLGlpWNnpxoTIaNcACCs+zW61ze U2xa461lKxP+2RmWMURbPtCIeueGIOX97FeHghh4uoY5iaOcXXpxbKemPbB7Z2bbEb14cX lDj538PuXyLNjU6ShW35zzfwIgBDW6P8+AuRa4RJdZTvI/tvMblUYe72ZgEvR1UxHAT4XX ftYJVGN8NSm3SEddHKeZrCgOZ5Su03aiyViXUnwxub3TFEg/q+G1v0DPGMMsbA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WFWPc4pgfzX9G for ; Thu, 4 Jul 2024 22:23:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 464MNGdX051016 for ; Thu, 4 Jul 2024 22:23:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 464MNGkl051015 for bugs@FreeBSD.org; Thu, 4 Jul 2024 22:23:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280132] EHOSTUNREACH when using IPv4 over IPv6 nexthop Date: Thu, 04 Jul 2024 22:23:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: email@luiz.eng.br X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280132 Bug ID: 280132 Summary: EHOSTUNREACH when using IPv4 over IPv6 nexthop Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: email@luiz.eng.br After upgrading one of my hosts from FreeBSD 13.2-RELEASE to 14.1-RELEASE, I started running into issues when originating IPv4 traffic from the host.=20 On my public interface, I have a single IPv6 GUA address. No IPv4.=20 I have a loopback interface that has a public IPv4 address configured on it, with a /32 netmask.=20 I then install an IPv4 default route with: route add -net default -inet6 2a12:6e40:0::xx This setup works fine on the 13.2 host, but on the 14.1 host, it results in= a EHOSTUNREACH. I first noticed the issue because unbound was having issues w= ith domains that had only IPv4 nameservers, but I was also able to reproduce it when originating any type of IPv4 traffic from the host: mtr, telnet, ping = all fail.=20 I compared the netstat -no4 and netstat -nr4 outputs between the two systems and they are similar, changing only the last octet of the IPs between the systems.=20 I don't have a lot of experience with dtrace, but I put together a small sc= ript to check the nhop_object returned by fib4_lookup and I noticed that on Free= BSD 14.1 nh_ifa has an IPv6 link-local address, while on 13.2 it has an IPv4 (w= hich interestingly is not the public one). I'm glad to provide more information and run more tests on request. --=20 You are receiving this mail because: You are the assignee for the bug.=