From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 0A76B5A0282 for ; Wed, 17 May 2023 07:05:35 +0200 (CEST) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4QLgzH21J2z4x41; Wed, 17 May 2023 15:05:31 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1684299931; bh=1IYC2HJ18KSp+CcXcwXfmjw/aWlmONt0eZab3hz7v7Y=; h=From:To:Cc:Subject:Date:From; b=BZ5bkXfe1LCeCJAe38qEwV4hgQhIBM07viR4HE2eVd2bdai4nXt8xup4UNqBv4FZ5 McYWKr7rbBjhzvBe7pvH4yd4LhmcjdpHfhBuj+Zzowb7osjs45tNVO5lJV+6Z09Hgy PdCkj8HbmU4XeCqOtk9Lg2jUqVkykdkOot07THNw= From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/5] Improvements to "connection" tracking for UDP Date: Wed, 17 May 2023 15:05:24 +1000 Message-Id: <20230517050529.3505590-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.40.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 6NUXT3OPVZRN32HHSCT3OBAF7S5EHP7K X-Message-ID-Hash: 6NUXT3OPVZRN32HHSCT3OBAF7S5EHP7K 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: We need rudimentary "connection" tracking for UDP because we do have a many-to-one mapping for our few NAT cases. This is handled by the port flags. We can make some simplfiications to this code for clarity. David Gibson (5): udp: Don't attempt to translate a 0.0.0.0 source address udp: Small streamline to udp_update_hdr4() udp: Implement IPv6 PORT_GUA logic for IPv4 as well udp: Clarify connection tracking flags udp: Remove PORT_ADDR_SEEN "connection" tracking mode udp.c | 69 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 33 deletions(-) -- 2.40.1