From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 62B9F5A004F for ; Wed, 24 Jul 2024 08:21:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1721802060; bh=T5ZBnBuNpYHL57y4CfTbFPrD3d3blLCDMcnjCCuJIso=; h=From:To:Cc:Subject:Date:From; b=RbW9thGZn97tjWUy2UPNPwQIlh2GYcndV+tqd8n5knyP+edaGQgNAKNpkfTItcpk4 Pt0bLGWpOR9GY/V/Ka2bkWuPa9hFY63dzXyb2z5z6WFD3YZuu5T9r93VraWbUDhZpn eRglYtfbwfWr7TDKWhw7fAa7/Wv57sG7eejPGMqKf7QQxkI8lTDspvPh2VOkHOAYs7 FcyAUhZCAiID4lUDmWDAfL+SoNYNmIWgnuBqUxVT97u1B+IdUB6FFpFVY4T/iJRnOe 31BEuorRuVa/HVw1Tgw9vkvdNIBGoFBuHoJJY9ueP+8dy7JzPA+CztfjqdxIE0AHuE msvSIhT+bASiA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WTP6425CBz4wc2; Wed, 24 Jul 2024 16:21:00 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/2] Broaden DNS forwarding Date: Wed, 24 Jul 2024 16:20:56 +1000 Message-ID: <20240724062058.1259033-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.45.2 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: NZQCWY7NM6ON7P47GV3PEZVTGLE3MZXE X-Message-ID-Hash: NZQCWY7NM6ON7P47GV3PEZVTGLE3MZXE 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: When looking through outstanding bugs in various trackers, I noticed this one: https://github.com/containers/podman/issues/23239 Now that the flow table is merged, this is very easy to fix, so, here's a fix. While we're at it, handle encrypted DNS on port 853 as well, which Red Hat certainly seems to be interested in for one. David Gibson (2): fwd: Refactor tests in fwd_nat_from_tap() for clarity fwd: Broaden what we consider for DNS specific forwarding rules fwd.c | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) -- 2.45.2