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=i/L9bksO; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 5B24C5A061D for ; Wed, 01 Jul 2026 05:04:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202606; t=1782875034; bh=gKhrlnjAqzkPIgdLdPmM/45g6P0pDMraAHRcdMERJ+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i/L9bksOdOfyUps/fueao+J64g7Ybi9de/bcxQb97Xm3kR9+t6lezVZreFZ7eoqEl PycZsoCXEvzjYoGveSbUSOPrmP2kqH0tUmYLl6e/ccESnUfqtJun0l02/mVioZngGZ b0UQ99D6jpEoYXX5l1sKe2bEv+cum3E7AHWzGRbjn7HthfRrM9EXYhZmHomIC8GDIG gx99zqmbdGagzFsTW91i/oAb2WFI+K0Lgy+dK0BT1rKTRHg7AHDws0aKTcux1LXANq SEGFF5KCiHfmOBffy4xBVuDG8FhQRNR5dKNOJCyPIlmqTi6tqdO2GNdI8NpT/yb5YA xPlrHP4FuOcDg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gqlGL46rDz4wj5; Wed, 01 Jul 2026 13:03:54 +1000 (AEST) Date: Wed, 1 Jul 2026 11:55:36 +1000 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 11/12] fwd_rule: Allow "all" port specs to be combined with other options Message-ID: References: <20260626071003.3472194-1-david@gibson.dropbear.id.au> <20260626071003.3472194-12-david@gibson.dropbear.id.au> <20260701020756.4b9aa23c@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4KcAoF1jzTiwOinz" Content-Disposition: inline In-Reply-To: <20260701020756.4b9aa23c@elisabeth> Message-ID-Hash: DNT7JHYRFSUF346PZ5KBDJQSE66RLBLF X-Message-ID-Hash: DNT7JHYRFSUF346PZ5KBDJQSE66RLBLF 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: passt-dev@passt.top 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: --4KcAoF1jzTiwOinz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2026 at 02:07:56AM +0200, Stefano Brivio wrote: > On Fri, 26 Jun 2026 17:10:02 +1000 > David Gibson wrote: >=20 > > Currently we handle -t all and the like as a special case, it can't be > > combined with other port specifier options. Remove that restriction, > > allowing combined options like: > > -t all,~9999 # Forward everything non-ephemeral except 99= 99 > > -t all,auto # Equivalent to -t auto > > -t all,33000 # Forward non-ephemeral plus port 33,000 > >=20 > > This isn't particularly useful immediately, >=20 > Actually, -t all,33000 could be useful right away. I didn't realise we > weren't allowing that. Ok, well, bonus. --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --4KcAoF1jzTiwOinz Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmpEc5cACgkQzQJF27ox 2Gek0w//YiYtMcz9lv1HOm4y3sxeKXCKEPLyQM9kcfxtlLF8UnLs2fMSHTWpHN9U zf+F7sauqpL5rZxWoyk4oIyA7/KvWqZFVSJ5TzcU6MteMFUg6VyUQLxFa3BuhP9f fe8KWiVRzBuYURMLgZXW0/wrEeP/ihjjQIjYn2n7+IuUkPVxhTrm/pgAz56r2QCf G6S/UGWotHNR1DMp9uLRLyIY+ss3GLBBB0sRFCPZBQnP5plE48bxAJGsyWnz2c6E gBsYlzk5vFHrXM60xiDltk40TPD2xWaTsO+8IwNVxfbcAm/qy90+CYN80sG0MOfp YurvlrZIeKeB1uutZMoqsQ8uDFcUH64s2dKZISManN+R8q+RPFqkNZZSsWRxOMFi +eXIyiVJ30d/cry7cNjnQt6ncLOdJfpfUPOPD6G/JUHFYqqMJ/fhN1EexzYVNRcZ E+1xJRKo294m08x23YsErSihyCWEfpIk8iYqSF2qrsqg4ER0KpFr1qsBD+/VUmc2 Y9tVuzuS4wJdpbi0HgXM7+U/9kmOmD1DCsKysxQ3kfaj6Jemm3C02EqfLNiw9S1z iAjziDTRbcYoE1S7FSViPcMdqoR5LNSoU2IwRgCXpb1uvUlB+dedkZHf1FPFWtDn bp5ZEP9JEQyHms/HFGSLjhQUOnrhO4iga42ezW9jMgiSCm7DeQc= =Q7PW -----END PGP SIGNATURE----- --4KcAoF1jzTiwOinz--