From: David Gibson <david@gibson.dropbear.id.au>
To: passt-dev@passt.top, Stefano Brivio <sbrivio@redhat.com>
Subject: Re: [PATCH v3 00/13] SKIP THIS VERSION destination remapping
Date: Thu, 2 Jul 2026 16:32:23 +1000 [thread overview]
Message-ID: <akYF9_IDuZ9dxvbL@zatzit> (raw)
In-Reply-To: <20260702005901.2010709-1-david@gibson.dropbear.id.au>
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
On Thu, Jul 02, 2026 at 10:58:48AM +1000, David Gibson wrote:
> This was... a bit of a nightmare. It took way too long and went down
> a bunch of blind alleys. I'm not sure how much I like the final
> result: it's pleasingly terse in some cases, but in others it feels
> dangerously subtle, requiring a pretty careful understanding of the
> sequencing rules of C's &&, || and , operators.
>
> That said, while I was at many points ready to pack it in and hack my
> around the problems limiting the parsing for destination remapping, I
> couldn't really think of feasible way to do that either. So, here we
> are.
Reposting again, because I realised 12/13 was missing matching manpage updates.
--
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 --]
prev parent reply other threads:[~2026-07-02 6:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 0:58 [PATCH v3 00/13] Rework option parsing in preparation for " David Gibson
2026-07-02 0:58 ` [PATCH v3 01/13] Makefile: Add missing PESTO_HEADERS variable David Gibson
2026-07-02 0:58 ` [PATCH v3 02/13] conf: Use parameter instead of global in conf_nat() David Gibson
2026-07-02 0:58 ` [PATCH v3 03/13] parse: Start splitting out parsing helpers David Gibson
2026-07-02 0:58 ` [PATCH v3 04/13] conf: Remove duplicate parsing of -F option David Gibson
2026-07-02 0:58 ` [PATCH v3 05/13] conf: Clean up conf_ip4_prefix() David Gibson
2026-07-02 0:58 ` [PATCH v3 06/13] parse: Add helper to parse unsigned integer values David Gibson
2026-07-02 0:58 ` [PATCH v3 07/13] parse: Move parse_port_range() to new parsing framework David Gibson
2026-07-02 0:58 ` [PATCH v3 08/13] parse: Add helpers for parsing IP addresses David Gibson
2026-07-02 0:58 ` [PATCH v3 09/13] conf: Move address configuration into helper function David Gibson
2026-07-02 0:58 ` [PATCH v3 10/13] conf: Remove unnecessary mode checks from conf_addr() David Gibson
2026-07-02 0:58 ` [PATCH v3 11/13] conf: Use new parsing tools to handle -a option David Gibson
2026-07-02 0:59 ` [PATCH v3 12/13] fwd_rule: Allow "all" port specs to be combined with other options David Gibson
2026-07-02 0:59 ` [PATCH v3 13/13] fwd_rule: Rewrite forward rule parsing using parse.c helpers David Gibson
2026-07-02 6:32 ` 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=akYF9_IDuZ9dxvbL@zatzit \
--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).