From: Stefano Brivio <sbrivio@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: passt-dev@passt.top, Daniel Rudolf <passt.top@daniel-rudolf.de>
Subject: Re: [PATCH] conf: Demote overlapping port ranges error to a warning
Date: Sun, 13 Aug 2023 18:31:51 +0200 [thread overview]
Message-ID: <20230813183151.34e60eae@elisabeth> (raw)
In-Reply-To: <20230811073600.685128-1-david@gibson.dropbear.id.au>
On Fri, 11 Aug 2023 17:36:00 +1000
David Gibson <david@gibson.dropbear.id.au> wrote:
> We give a fatal error if the port ranges from any port forwarding
> specifiers overlap. This occurs even if those port ranges are specifically
> bound to different addresses, so there's not really any overlap.
>
> Right now, we can't 100% handle this case correctly, because our data
> structures don't have a way to represent per-address forwarding. However,
> there are a number of cases that will actually work just fine: e.g. mapping
> the same port to the same port on two different addresses (say :: and
> 127.0.0.1).
>
> We have long term plans to fix this properly, but that is still some time
> away. For the time being, demote this error to a warning so that the cases
> that already work will be allowed.
>
> Link: https://bugs.passt.top/show_bug.cgi?id=56
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Also applied.
--
Stefano
prev parent reply other threads:[~2023-08-13 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 7:36 [PATCH] conf: Demote overlapping port ranges error to a warning David Gibson
2023-08-13 16:31 ` Stefano Brivio [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=20230813183151.34e60eae@elisabeth \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
--cc=passt.top@daniel-rudolf.de \
/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).