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=C64QKQFH; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 42FA45A0269 for ; Fri, 10 Jul 2026 08:56:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202606; t=1783666574; bh=pJFVqvFKfRxR8ZXqshjOidfkD3iCfxvTEl6Ye3SS458=; h=From:To:Cc:Subject:Date:From; b=C64QKQFHuHFDygX6e52FRsaPR8lPC/fOAlaSqIyy9TJiMBoznGN3I3H8o63YMEyR6 E2a01LOMp4krx44A27zW3d6Dche6DpmBOPrW7tOrodA6KgGXFukX0GvLnCLnOsm33g Czq4fFRJpGG05pNxsn6QZBwr82q7ItbEdbG5TqO2GcYtVss9jcGNqw+31WKRCoYIHn wOZnf56oTpgtSzxsLx81c00+QmTzv0w+zFy+cKOJIR3JBHCs6riMwbTTG2WBq18rCT PCf882hokdfXBvUivwhatc8CaoNNU1Ik/7lEhLPeKfwEYTaPZ1HeRbNVPukHcv7WSx +oq9fOTOcoymA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gxN0G4248z58cq; Fri, 10 Jul 2026 16:56:14 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/5] RFC: Fix bug 209 Date: Fri, 10 Jul 2026 16:56:06 +1000 Message-ID: <20260710065611.530947-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.55.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: FO6ZJCKQGVH7XZUYJ3KJS5KYKCIJXYGP X-Message-ID-Hash: FO6ZJCKQGVH7XZUYJ3KJS5KYKCIJXYGP 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 are a handful of changes to forwarding ant multicast handling, that fix bug 209. It also gets us closer to correct multicast handling, though we're certainly not there yet - multicast things currently only really work at all because IP_MULTICAST_ALL defaults to on, and for the common protocols the host is likely to be already a group member. RFC, because a tmux change has broken the tests for me, and I wanted to send this out before I sort out how to fix that. I have run the subset of tests covered by "make bats", which includes the podman tests. David Gibson (5): fwd: Clarify semantics of --host-lo-to-ns-lo udp: Validate that we have a unicast source address fwd: Rework default address logic for inbound flows fwd: Reorder DNAPT and SNAT steps in fwd_nat_from_host() fwd: Don't rewrite inbound multicast destinations conf.c | 2 ++ fwd.c | 61 ++++++++++++++++++++++++++++++++++-------------------- passt.1 | 9 ++++---- udp_flow.c | 2 +- 4 files changed, 46 insertions(+), 28 deletions(-) -- 2.55.0