public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/2] Target address mapping
@ 2026-07-02  7:32 David Gibson
  2026-07-02  7:32 ` [PATCH v2 1/2] fwd_rule: Parse target addresses for forwarding rules David Gibson
  2026-07-02  7:32 ` [PATCH v2 2/2] fwd, fwd_rule: Implement configurable target address mapping David Gibson
  0 siblings, 2 replies; 3+ messages in thread
From: David Gibson @ 2026-07-02  7:32 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

Here's another draft for target address remapping.  I've now given
this some basic, though not extensive testing.

Based on v4 of my parsing rework series.

v2:
 * Remove the patch altering --host-lo-to-ns-lo; it's not relevant to
   the change at hand.
 * Allow either just target address, just target port or both to be
   specified
 * Allow target address to be specified with all
 * Prohibit (for now) forwarding between IPv4 and IPv6 (including from
   to a specific address of either family).
 * Add the target address when formatting rules for debug display.
 * Updated man page for new syntax

David Gibson (1):
  fwd_rule: Parse target addresses for forwarding rules

Stefano Brivio (1):
  fwd, fwd_rule: Implement configurable target address mapping

 fwd.c      |   8 +++--
 fwd_rule.c | 101 +++++++++++++++++++++++++++++++++++++++++++----------
 fwd_rule.h |   7 ++--
 passt.1    |  31 +++++++++++-----
 pesto.h    |   6 +++-
 5 files changed, 121 insertions(+), 32 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-02  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02  7:32 [PATCH v2 0/2] Target address mapping David Gibson
2026-07-02  7:32 ` [PATCH v2 1/2] fwd_rule: Parse target addresses for forwarding rules David Gibson
2026-07-02  7:32 ` [PATCH v2 2/2] fwd, fwd_rule: Implement configurable target address mapping David Gibson

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