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 1D56B5A031E for ; Wed, 24 Jul 2024 09:51:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1721807474; bh=mGlg5tBLZR7EnkA6+GsO48vB9q/Bg9+CeC+f0sQG+Js=; h=From:To:Cc:Subject:Date:From; b=IBBpPwmVbUl4zUYbDucBuGJax+FhQqH4muozK67AA7kbXaHQpHAwjC6WttXZ2eSaw z54LnSlFpWzSCvP3l6EN5VgEYB4nZ0jpAa0240hkrgjKQqlMo49frx0Go1QuxLoKaa 4rnagrGC/J1/pIhMtscuEmjMC9AetyyJ/TmtO2P2Nqde2x/NBqwz5d5TRZN50Y3LHN AdRfurV05SJ2DNTwRyU20OaGkC+69yqvwu2jfdYwx2Sh+J8WCWbp8foFXHNpZwuAHm KvEaXWK01sgYKLFxHAYEc9IAz0XBpO66dd6CU4Bte7kB4PTDj4d3JXNsNvd9eTdAat DgGbRdiCCTLSw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WTR6B6xcWz4x3p; Wed, 24 Jul 2024 17:51:14 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/2] Broaden DNS forwarding Date: Wed, 24 Jul 2024 17:51:10 +1000 Message-ID: <20240724075112.1279868-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: ZNPLXFDBLH5P4BLW3UXCFEZO4CCEPYMU X-Message-ID-Hash: ZNPLXFDBLH5P4BLW3UXCFEZO4CCEPYMU 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. Changes since v1: * Fix some stylistic errors in 1/2 * Update man page to reflect new behaviour in 2/2 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 | 39 ++++++++++++++++++++++++++------------- passt.1 | 10 +++++----- 2 files changed, 31 insertions(+), 18 deletions(-) -- 2.45.2