From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=U0gxDi3C; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id E09F05A0265 for ; Thu, 16 Apr 2026 00:05:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1776290710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bB2nVBIJst2sSvI1JrEd31f202dkNJ2Zn0dY0Q8wmyY=; b=U0gxDi3CqGZvBzmt5qAlvMp47eX5r/9EV+m5gsjCPXVXNamSIaZ4o7uY0Tcd9iELHijYcu ubLuVhkzeG2dp1vjQZY/tMzRAI66p1mMfKHrN/4S30+5rLyKqD8FZcfet+6Udw48DZ+CFv FyP4Ibbj50iOjMWrfE1hiUUkv+T3w/c= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-462-CvW2nzgXNMuXetXuHSQXZA-1; Wed, 15 Apr 2026 18:05:09 -0400 X-MC-Unique: CvW2nzgXNMuXetXuHSQXZA-1 X-Mimecast-MFC-AGG-ID: CvW2nzgXNMuXetXuHSQXZA_1776290708 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-43d1ceb2ddfso6722983f8f.2 for ; Wed, 15 Apr 2026 15:05:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776290707; x=1776895507; h=date:content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bB2nVBIJst2sSvI1JrEd31f202dkNJ2Zn0dY0Q8wmyY=; b=Yt/hG+DF3m8Oke1+h+j86todtSLHuH6pIiTX020jTgb85SI1Syns7xQUU3fARcM1yd vVHdCY5dGnrZdU0yx6+5nPKR+ImUgI87bDnC2nO2VDqhfhZsTcpjGZaGT6ne6kWx4j2i ZvtVCFvPVv8CbwA0OKc3kFyhG76AGdCBdMyUcEUMI7x9URSoNLTqHeyVliN0Y/B7+bbB vHXItlfsrr+cidwQyiSlFXBVHNO6H2GgJ/G5bpWeCPdsk8DV8lewqgW+jadfewLVH93F CjPCTxKe7Rhlx2qSwUXKAFTDY2guoJWhZXxI6oqOhJcslnMKRIU4TuJIH4BYwhoxt+/k hGpw== X-Gm-Message-State: AOJu0YwnFlRcyx7HgKXACUKVtPjjk3a4roYQJUiQDap95+l8xC2CLZIh 8AloVe+tRB/zAAUwL+tMqKgqCKK451C4AYhUmnmbMCo6cw/i4t6uHYJxsrWLgnTJ1J+V3EVwY/Q YaVJWscBhsoeVVmVb4CJh5QPmuXm+Ai73Nd1wF1Rlb2EpPETE/Zzreo4u5mNYVA== X-Gm-Gg: AeBDiev36Y4L3+D/YuOSYntURUSPDGeFypFH2gB5fMXijBxYv8jXGN960WTReW01kMP U9dNg0ZcsdfE0v+sK/O2eyjBQ3RAtIzYTLDnd8lbugvs27zIGd7DVmdIDTQUMJG468/b/oV44Qb eTDqb6x18+N3NwjXlqUXM5dRWLCPuR2V/289HOt++bVybBjXI4A/w5TINxWrH7/Fet/GnjZ/AK/ f3SwxVRTMeDqHFz6a2U0C/1tbDFwZs8RTMGozKMHmjGk/iuBqWO6aAq8SR37n/XyZnvHoNbG4O9 TmYcOyRqaoiiHlMADjx3aFfBBx0JEHcBZX02cGGo/UGbzSO/LjU+89WI/bNnvdta339uV7vF3+q Z6yfU+0qQ3lYrlqYd8CMjElaZYr9Ywr+C X-Received: by 2002:a5d:64e4:0:b0:43e:a638:250f with SMTP id ffacd0b85a97d-43ea638264cmr12953348f8f.1.1776290707265; Wed, 15 Apr 2026 15:05:07 -0700 (PDT) X-Received: by 2002:a5d:64e4:0:b0:43e:a638:250f with SMTP id ffacd0b85a97d-43ea638264cmr12953325f8f.1.1776290706755; Wed, 15 Apr 2026 15:05:06 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43ead401ca0sm7169431f8f.36.2026.04.15.15.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2026 15:05:06 -0700 (PDT) From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 00/23] Rework forwarding option parsing Message-ID: <20260416000505.10ce0177@elisabeth> In-Reply-To: <20260410010309.736855-1-david@gibson.dropbear.id.au> References: <20260410010309.736855-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Thu, 16 Apr 2026 00:05:05 +0200 (CEST) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: rcJvCdsdA9gc6thx_zUaOG3U7JziGxNHibl1Thj9ydM_1776290708 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 3UETGDHS5OIVJBEXQIKDH4K3SJ4YFPWI X-Message-ID-Hash: 3UETGDHS5OIVJBEXQIKDH4K3SJ4YFPWI X-MailFrom: sbrivio@redhat.com 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: On Fri, 10 Apr 2026 11:02:46 +1000 David Gibson wrote: > This series makes a number of significant reworks to how we process > forwarding options (-t, -u, -T and -U) in passt & pasta. This is > largely motivated by moving towards being able to share this code with > a configuration update tool. However, along the way it also enables > some forwarding configurations that were technically possible with the > forwarding table but couldn't be specified on the command line, in > particular bug 180. > > There is still a bunch of work needed to make the parsing code truly > shareable with pesto, but this is a solid start. > > v2: > * Assorted minor changes based on Stefano's review, including > * Explicitly state "guest or namespace" in the manpage > * Clearer description of @rulesocks field > * Worked around a gcc < 15 bug causing a false positive warning > * Update man page and usage() for new capabilities > * Additional patches moving rule parsing out of conf.c I applied up to 14/23 as I had comments on patches after that one. I also have pending comments on 10/23 and 11/23 but I'm fairly sure they would need to be addressed in subsequent patches anyway (if at all). -- Stefano