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=FYLWN4kb; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id ACE395A0274 for ; Mon, 13 Jul 2026 07:39:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202606; t=1783921140; bh=eGCvT2OkSIZN6+rPM7BjT/D8c0y897PA6SrshXZb6fE=; h=From:To:Cc:Subject:Date:From; b=FYLWN4kbe3k1Fj3zDNcZoe005T80BZoGk3etXyv1sHb9dgqoPAVG9SfYPG2Cesqic xZqeC5O1nx3N9IUKW6JSG5dlRTF+MZq48zq93NY9CixbuGz/XgRnkmomtSDbJe4CqR mwjnVdYHq+5H7KETlHRsqfEJRa4zQTUDvUQl0vilGIEMoHB/o5MlBMPABjYOGPAbj3 tSJwjFIL3dSbXOeeE1Tn1I0kBt/MRLmP7/foww+ZV1OEW0vNjHRPLZzR0F1NTui1CD 7e2P52gCcaBUO6utfFq4J1+Ru4w0GfDYP0fBFMhEDeJUe5cTs3QVU1GJB1mn8b2P/B xmB0L2F9sI/vw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gzB7m2FF3z4wJ1; Mon, 13 Jul 2026 15:39:00 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/5] Fix bug 209 Date: Mon, 13 Jul 2026 15:38:51 +1000 Message-ID: <20260713053856.1329271-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: RYM7NRYWYPF3HSZG47FFQGNRNYWTE3PX X-Message-ID-Hash: RYM7NRYWYPF3HSZG47FFQGNRNYWTE3PX 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. v2: * Assorted minor polish based on feedback 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 | 58 ++++++++++++++++++++++++++++++++---------------------- inany.h | 2 ++ passt.1 | 9 +++++---- udp_flow.c | 2 +- 5 files changed, 45 insertions(+), 28 deletions(-) -- 2.55.0