public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH 3/3] fwd: Rework inconsistencies in translation of inbound flows
Date: Thu, 15 Aug 2024 15:01:53 +1000	[thread overview]
Message-ID: <Zr2LwSipi69gSW1k@zatzit.fritz.box> (raw)
In-Reply-To: <20240812235117.6a48a817@elisabeth>

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

On Mon, Aug 12, 2024 at 11:51:17PM +0200, Stefano Brivio wrote:
> I applied up to 2/3, I just have one doubt here, and a nit:
> 
> On Mon, 12 Aug 2024 19:53:55 +1000
> David Gibson <david@gibson.dropbear.id.au> wrote:
> 
> > We usually avoid NAT, but in a few cases we need to apply address
> > translations.  The current logic for this on inbound flows has some
> > inconsistencies:
> > 
> >  * For IPv4 (but not IPv6) we translated unspecified source addresses
> 
> ...I know we already talked about this, but 0.0.0.0/8 is not just
> unspecified, it also means "this host on this network" (RFC 6890,
> 2.2.2), and that's the reason for this apparent inconsistency (::
> doesn't). By the way, somebody was reminded of this just recently:

Good point.  I've changed that behaviour for the next spin.  And added
comments about this for the next sucker who notices the apparent
inconsistency :).

-- 
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2024-08-15  5:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12  9:53 [PATCH 0/3] Assorted fixes related to addressing David Gibson
2024-08-12  9:53 ` [PATCH 1/3] Correct inaccurate comments on ip[46]_ctx::addr David Gibson
2024-08-12  9:53 ` [PATCH 2/3] conf: Delay handling -D option until after addresses are configured David Gibson
2024-08-12  9:53 ` [PATCH 3/3] fwd: Rework inconsistencies in translation of inbound flows David Gibson
2024-08-12 21:51   ` Stefano Brivio
2024-08-15  5:01     ` David Gibson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zr2LwSipi69gSW1k@zatzit.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).