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=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202606 header.b=dy/aYV7n; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 42C3F5A0269 for ; Wed, 01 Jul 2026 09:08:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202606; t=1782889694; bh=PxCDqG9UrJGkTYfYkO7BEBbgcba05mBM10wntiBylE8=; h=From:To:Cc:Subject:Date:From; b=dy/aYV7nks4IlhRtlCtNnMKYy6frYeva3eJll3bznuWLMma+nSzNtAeMwrQXDt26H VSF7d9Y4B6M8w74e11zOSTHxI+X8oLfTEB3ioj1RoJwYaqtiMAlptLjurq4GyYBafy KGNa1G2BUTM75DoRYpclcGMrg2Z75TuT9mXTDxRtzIllikxjQMaJfT3s7aHR6oTPxN b2o8Drpq9rlFHNMKzCePMF9eSk8WL8x0hw/wtIFWdIHVsaY4Ej4QInDvPiBPhXbFgN HwqyTWR2kgukuI5aqi2bDmXBdEcdM4LJJzSdxlGPgoizPUs70isLMLqNomGBCGif/o vwKP87z4ZZXrQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gqrhG4QSKz4wKs; Wed, 01 Jul 2026 17:08:14 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/3] RFC: Target address mapping Date: Wed, 1 Jul 2026 17:08:08 +1000 Message-ID: <20260701070811.1944139-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.54.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 3AMGFIZSMMCSIOX4H2NQKYHXKOPLE3CL X-Message-ID-Hash: 3AMGFIZSMMCSIOX4H2NQKYHXKOPLE3CL 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: David Gibson 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: Here's a next draft for target address remapping. I'm posting this as RFC because I have done minimal testing so far. I've tested the address parsing, and that we pass the existing tests, but I've done only a tiny bit of checking of the new funcionality. Posting so that it can be reviewed in parallel with that continued testing. Based on v2 of my parsing rework series. David Gibson (2): fwd_rule: Parse target adddresses for forwarding rules fwd: Clarify semantics of --host-lo-to-ns-lo Stefano Brivio (1): fwd, fwd_rule: Implement configurable target address mapping conf.c | 2 ++ fwd.c | 30 ++++++++++++++++-------------- fwd_rule.c | 31 ++++++++++++++++++++++++------- fwd_rule.h | 2 ++ passt.1 | 9 +++++---- pesto.h | 6 +++++- 6 files changed, 54 insertions(+), 26 deletions(-) -- 2.54.0