Date: Thu, 26 Dec 2024 14:00:31 +0100 From: Gert Doering Message-ID: References: <7e42399c-3a94-40a2-bcaa-15545c3b761c@...68...> <6a00da72-dc11-409e-9d47-4694e1d6f02f@...68...> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u2pt7bNHOnF1kKyS" Content-Disposition: inline In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH v2 1/2] port-share: Normalize IPv4-mapped IPv6 addresses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: corubba Cc: openvpn-devel@lists.sourceforge.net --u2pt7bNHOnF1kKyS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, On Wed, Dec 25, 2024 at 05:21:35PM +0100, Gert Doering wrote: > I'm fine with the idea, but I do not like the implementation with=20 > "yet another localized sockaddr manipulation function" - we already > have similar code in socket.c/setenv_sockaddr(), so maybe we need > to make this a more general thing. I now see that it's not *that* easy, as transform_mapped_v4_sockaddr() is also used by part 2/3 of the series... so maybe we'll just take 1/3 as it is, and see if we can overhaul the whole handling of v4-mapped addresses in a more coordinated way later. gert --=20 "If was one thing all people took for granted, was conviction that if you=20 feed honest figures into a computer, honest figures come out. Never doubte= d=20 it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistre= ss Gert Doering - Munich, Germany gert@...1296... --u2pt7bNHOnF1kKyS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJnbVNvAAoJEB2Cnv7KVigSm9cL/3icg7PLI/FddVOxP31RQWYx fciKfhaiDpZZbeAQH3KA5dpIoqQK7/L4wN090tdPGsOLIX4pgcLOf5m9BVQ0tYqA wp/w/gOFQcA5sJGTRd4pCOvDL7EvJKoGj2niUUFP52TIc1Knu6ckIRAZjaE9RAmm nfSJX/eCgm92o/7CF67MglDN7i6h9hI0IIwxXc0XzIPouZpP5fWsf8zahIFC6+Mn b0sXn/GJqbeDHt1okpagwq9SXF82WmCRQJXrq/EGpP0z0kyPC7SHQA6D7Fcy+zDx Tf8Lj+hIj7H2+YBozBfyh8VKQ+6vbafp2rhbbYtwBYYKPbkQITOcOrt2d2CYaqxM amWr0YKfCfzAlFAhUOX+IkCYcijU1OSZMS3jkRZquwm5UFBO01JuNUr5IdTE8tad /TlYtbHlseeIGFhax8etSX7spH9UTwIYC+auKB5xriiUSB1bqqHNyjxbZUWrF4H7 CbgixCn3kzXZASUgY5/p5BMhL2AZBi/InU8Ea+QeNQ== =kyuJ -----END PGP SIGNATURE----- --u2pt7bNHOnF1kKyS--