From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202510 header.b=VexayDBo; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 8BE525A0271 for ; Thu, 20 Nov 2025 03:22:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202510; t=1763605324; bh=uSweldwm/dZ6lRvU8h2HME1gpQwQB9z3mTEIAwEaxPM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VexayDBo/ZH/wyCP8MIaN9nWqPRlWTpAIqZz8/NOjP5n4DMHYBXyS2Fc+ho5n6qyN 6FolMvjw3HRrXBDWIAJBUyzHmGfwKF2kXzTQuDzEDn4QaN+Cc3n9wT9FZOhkUwsOoN Mho0Snn4+C6UfNBxfB/tPW86+A30MWcJoYAkw+eQOeSXfoJJofGAqQoQVxrlSjukR5 SwrHnxW4B6KbPccmbvfBtycBrwTKyBKAXFzC+Ev+iALOxpu/nvHqEMl/k8NhwrSCTY CX4BEeun211BcE/08msxQkFNjl/qtEVE6UhGSRt+LLQPyasi15JX2+iJEIi3dv3KsD 12lJEmX0oggGA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4dBhv024cDz4wGy; Thu, 20 Nov 2025 13:22:04 +1100 (AEDT) Date: Thu, 20 Nov 2025 13:22:00 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH v3 2/8] util, flow, pif: Simplify sock_l4_sa() interface Message-ID: References: <20251029062628.1647051-1-david@gibson.dropbear.id.au> <20251029062628.1647051-3-david@gibson.dropbear.id.au> <20251113073313.1287b4dc@elisabeth> <20251118011921.4094e698@elisabeth> <20251119124204.25650cb3@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="srlLFwuN2kM6axWr" Content-Disposition: inline In-Reply-To: Message-ID-Hash: UGHQVR2IMFS2DRWAEG3CZFGT5BGIOTGV X-Message-ID-Hash: UGHQVR2IMFS2DRWAEG3CZFGT5BGIOTGV X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --srlLFwuN2kM6axWr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 20, 2025 at 11:05:25AM +1100, David Gibson wrote: > On Wed, Nov 19, 2025 at 12:42:04PM +0100, Stefano Brivio wrote: > > On Tue, 18 Nov 2025 14:34:58 +1100 > > David Gibson wrote: > >=20 > > > On Tue, Nov 18, 2025 at 01:19:21AM +0100, Stefano Brivio wrote: > > > > On Fri, 14 Nov 2025 10:21:46 +1100 > > > > David Gibson wrote: [snip] > > > I'm not really sure what you mean by an "equivalent untranslated > > > address". AFAIK, the only non-wildcard case that will actually listen > > > on both IP versions is a v4-mapped address. > >=20 > > I mean 192.0.2.1 (untranslated, IPv4) and ::ffff:192.0.2.1 (v4-mapped). > > Will we ever want to listen to both? >=20 > Maybe one day, but not soon, I think. >=20 > > I don't think we have to care about that right now, though. >=20 > Agreed. So, I couldn't find anything definitive, but fwiw I did find a couple things suggesting that v4-mapped addresses probably shouldn't ever appear on the wire: https://datatracker.ietf.org/doc/html/draft-itojun-v6ops-v4mapped-harmful-02 https://lwn.net/Articles/688630/ --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --srlLFwuN2kM6axWr Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmkee0cACgkQzQJF27ox 2Gc6QBAAm30R3Kii7XdX+MA+cGBlqLlGLhwD5pQKqKrS7ROaAwerFIXoqgtiilYb 9dd4X92pHXY0WN01ZuUhYn+YO7K0z9cIpcJpuMo8kNWR2y2tn8dTm4EMnAzS8ql1 elSZ0zsDe9PPL2iD/RuKEp+Tcgkjg0HS1Urk46ZRQ5bJphf+pW2hSW/NPWdFw3xL 5AWNY3glY7p3PJ2OijGGBIt2rbkzVVYX/uZL8kQ8hJL2THz3vf9hv9kNN0dTuH+Z RiwfOcHFR2b7qDTyUyefT3xs6i0CWQCdYBzSL0hwP1uPulhgyRCh9qr82N+4sBac p99ZUvfIm9C7sAMwmncLaJ9LUYyLJ7n1i/yUl00ml4JaOlSLAWZH9+bKtHxRMVzR xN4+jhU1GTrzStGOkfpGfcPWLKldZc5W++EhN682E/DZp4QM/LDQ63r0wDBSib4i 3gbW3Wew4tjVR8LQU0Bp5315Mc04dPibCbLDPYrXKlkikngr3MBNJgWjhXV/g349 +ctWpTdy/gN8oLCN7ubkkmKgYxrJt1KoJTCBqjRU24P+NvagFKr4ncOxp3HoPP4O w5232r16KY8osvTfrRdjdGF3/+nv3RmY+YFRTGIN2JMd5CD56uv47NdbR230omoe YvPGd+HxDtP7SNj0/EyP0RTRdHGmhypV8THhHFjP1bJ4/1JkDg4= =abeN -----END PGP SIGNATURE----- --srlLFwuN2kM6axWr--