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=fail reason="key not found in DNS" header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202312 header.b=itRmsfVD; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 9F7475A026E for ; Sat, 17 Aug 2024 10:01:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1723881710; bh=z2TEw2ulau48jIiXW4MrnbMwfj25yVxawdJ18OSnZo0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=itRmsfVDjLy+sAm3OyVqy9VAXwYMpXjkhjlotCPK4vR/B/81woJI+KtQhIVGMtuhn AuSbCMh7N384r8hCcNKmHIQT4mAUiTGTER2poizCHOY3QhQpSRdzDUOegIgX2twfos W9YuQFJCmpSRCKK7orcHrWZ1kePfTxHjbwBbD58lY18mpUqTZxULnpySKzn/iX6KVD iuxkKkHkRnH4G+IzT+zMZZe3sb9ayZQ3WS8QoBqUVF9XBWU1MBR8YmEUFtB2mqMuDO 1eiwAL7HTtKdLHNl/GxC/S7DFBalRRLgK/vad+koFPDFfSQ4gF5M7ROIUEoGHArtBX J9XyPvBKhnpMg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WmBCL3Lttz4wc3; Sat, 17 Aug 2024 18:01:50 +1000 (AEST) Date: Sat, 17 Aug 2024 18:01:26 +1000 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 00/22] RFC: Allow configuration of special case NATs Message-ID: References: <20240816054004.1335006-1-david@gibson.dropbear.id.au> <20240816170322.7b9cd85b@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bumVqW77Sf9X+nsb" Content-Disposition: inline In-Reply-To: <20240816170322.7b9cd85b@elisabeth> Message-ID-Hash: 6PJBZZNGVGJ5TJ4RAMDNAQQKAABLZO5C X-Message-ID-Hash: 6PJBZZNGVGJ5TJ4RAMDNAQQKAABLZO5C 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: Paul Holzinger , 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: --bumVqW77Sf9X+nsb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 16, 2024 at 05:03:22PM +0200, Stefano Brivio wrote: > On Fri, 16 Aug 2024 16:45:14 +0200 > Paul Holzinger wrote: >=20 > > Hi, > >=20 > > On 16/08/2024 07:39, David Gibson wrote: > > > Based on Stefano's recent patch for faster tests. > > > > > > Allow the user to specify which addresses are translated when used by > > > the guest, rather than always being the gateway address or nothing. > > > We also allow this remapping to go to the host's global address (more > > > precisely the address assigned to the guest) rather than just host > > > loopback. > > > > > > Suggestions for better names for the new options in patches 20 & 22 > > > are most welcome. > > > > > > Along the way to implementing that make many changes to clarify what > > > various addresses we track mean, fixing a number of small bugs as > > > well. > > > > > > NOTE: there is a bug in 21/22 which breaks some of the passt_tcp perf > > > tests. I haven't managed to figure out why it's causing the problem, > > > or even what the exact triggering conditions are (running the single > > > stalling iperf alone doesn't do it). Have to wrap up for today, so I > > > thought I'd get this out for review anyway. > > > > > > Paul, amongst other things, I think this will allow podman to > > > (finally) nicely address #19213, picking an address to remap to the > > > host's external address with --nat-guest-addr, much like it already > > > uses --dns-forward. =20 > >=20 > > Thanks this looks promising. I will try to test it out next week. > >=20 > > No strong feelings about the naming but how about s/--nat/--map/ for th= e=20 > > options? >=20 > Exactly the same as I suggested offline a while ago. :) I think it's > easier to understand what it does, that way. Ok. I think I was going to do that originally but changed it for reasons that I've now forgotten. --map is more consistent with --no-map-gw too, so I'll change this. --=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 --bumVqW77Sf9X+nsb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmbAWNUACgkQzQJF27ox 2GdSqQ/+L7DsIlUrDaDLUNwWBQinVopnv4PB8sNIiACn8YsZhDB9jt8I7TDSTifB mM+tSf+s1Mz0tOvWCmgvLg3af33DpaacI0jEEL4ZrrwCDh/FYBFBHZnW00qrQgST kemMnshsBJzYcHt4hvOvbsZ2Jj9RKbMJpkBzu7MKfQS6itfPljav0G+qPbkWmJrE AmIozZX/IqaM89Xw7wLn86KWVt2ofV8mcXDzcnRxOxD2GP0NOzrTLSh/5PvSi7Ej s8ExM2ln3BEUDbfIHjz8EKwFisoRU3HgolggnwLF8U7nDwHbNflKpucdEcAQK5Jd +M8BhpswSMFt+WXwV12whuh8AD1ucQpkicECwSkfdzLM5m2plSbVQkT9cY8tdtXn gcEro3HcSLA4vMw/ff+q6VOVtUYldDZIEbvdqa0V42NdJJ0mrr1SW1gy9vXMWEHS mBqsf3LaEP59sADRZ95fqYOjJVNoC+e4nf7LPkxm9cza6VosCNTRi7BKGm63LSRc RPhpscZRvX+zAtpXO7CogcNZda090ZIgg7eNxEQVQD8umkHdlDX5V7gFE3hL/DDr i7HOZytYPU4FTod6TgGx6gWTf5VxHVautyDpEGZc2yXg4t6y4NcApi/wMWMeSQRE tuL4Hc0XqVoT0JOGcAJjD0EoySsJW7FM48EGCvHsYESeyy1kexc= =cc5t -----END PGP SIGNATURE----- --bumVqW77Sf9X+nsb--