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=i0dZ+zZC; 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 E734D5A0276 for ; Fri, 05 Dec 2025 13:19:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764937160; 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=ti9YO1fm/3YCZMRwa/k+oC7lfZEZfU372c/L0sbSSNc=; b=i0dZ+zZCfD2WPBZHWBgVDFCDfiBeR8NIoEdRQg5R034zRI+/C1Q2341T5pOUqjIrVw6Kz3 1WpAx0FVhgxGJ9V+GW5IJLT0WrzRE9UfUg2y8ZDyUv6k57B0zCT9sjyFCUrOkqW2gg9Uv6 YkGcCrkIfef+FVd4i6b0MfCYyvgIHcw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-662-d_BU-huWOeOeavtSvKVRBA-1; Fri, 05 Dec 2025 07:19:18 -0500 X-MC-Unique: d_BU-huWOeOeavtSvKVRBA-1 X-Mimecast-MFC-AGG-ID: d_BU-huWOeOeavtSvKVRBA_1764937157 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-477cf25ceccso19985795e9.0 for ; Fri, 05 Dec 2025 04:19:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764937156; x=1765541956; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GoiE7ri2fI+Snx9Gt2Oq+JSbt19tkCztFSomfOQ8N9c=; b=hePOH7jhridyeSGuSPl9EWwSdvCEZfpjxt77eK3+ObdmK2O6YqL1S18BIuRNk7wgBn h2np3+EI2ZySCagjDx7qbu7DSwGC4TS+7LqDmhVPx/q8NbyltPKAU1MNSC7x3Istxz/8 kCfpi5U8SurG3N0HSQamYZ2VyrCN4OEUFPaLYO2FAwBgZ+mchmob5SHPp49MNZntCulm W8HoWVFJ2t8iztE3DdAtMPW7AnPp2ZQwudw6m4PdxMG+V0aSu7raum4pBXcDeXgERjUW 2DdhQwOxG4PWX4T9unNu65BlXAF/bEY1ZwwJS6MU2Y4Q02Hq/tLtfc+5jfQ+Nb2tDFCQ PU3g== X-Gm-Message-State: AOJu0YyGu7TD6MBsoO2QQtS3KKWGBlQOPyZA700MEkr7p07F/vptRAkR MXEx9hKCwTLJM7uyaOkQylOk3iSLYxX8Tt2xHgpF815M+XKeaLJGLmtI/sr+flSW0Z19lrq4oKE ydLOhiqbv0x0+hliJMQ8mV+crsJRsOTBBzKQWu83jDX9XmImdYzapRC82ynf8Mo7Zw/PVrlJ2TQ BXP3yXLle30xoijGGqQoUrVGlR5MDyjkbvIUq4 X-Gm-Gg: ASbGncu1clDNmhnc/5CCCCdjlUdQ2yhhI2ELHmNRqkQoE29/hdgczyWUQcg58oUGrs2 P88HGkiTDXLlxWLkMVkCVn4hgjnVfUD/X8x2YTSLnd9mQngBQ4eWiQlGjN8k2PP/cJ9UCz4WTeq bulrF+LNIRjU4cPFz1LLwdr5LFvh23GZxYFtQkdJw+n1cLM4tOovdnd/gyTAedtbJsuOKIpTKu6 aMX9q1FkVjAQNcH9igKIxuMaqZ50E0b3Myjh9mGMuamXWku5tJ+EiaaXfrsYxgWMHV94bhb6EGU 2Fyv5OA2fA5JuipyAJKvFKljqFhNZKIdL2twajmoGiQb5xJL4xoTqG+7tG/LqYyCWpcAVZdYLBP 5edsl51kHdNy5MYLIP4fy X-Received: by 2002:a05:600c:4584:b0:475:dd89:abc with SMTP id 5b1f17b1804b1-4792f25b843mr64216505e9.11.1764937156391; Fri, 05 Dec 2025 04:19:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYlGe/ZnTU342nHBF7IGFwV5k2LXk1XeXCG3dKOKXlb5O5cB9ZEdhR/LyXgVNZ+ZmKlkpG2A== X-Received: by 2002:a05:600c:4584:b0:475:dd89:abc with SMTP id 5b1f17b1804b1-4792f25b843mr64216165e9.11.1764937155743; Fri, 05 Dec 2025 04:19:15 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4792b152582sm57888265e9.14.2025.12.05.04.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Dec 2025 04:19:15 -0800 (PST) Date: Fri, 5 Dec 2025 13:19:13 +0100 From: Stefano Brivio To: Paul Holzinger Subject: Re: [PATCH] conf: Separate local mode for each IP version, don't enable disabled IP version Message-ID: <20251205131913.5ea0abe2@elisabeth> In-Reply-To: <7e69fce2-bdfb-4dbd-9336-c2ccf748afe2@redhat.com> References: <20251205005126.2577347-1-sbrivio@redhat.com> <20251205123102.15fc3e36@elisabeth> <7e69fce2-bdfb-4dbd-9336-c2ccf748afe2@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: c39wMiPozU8rcdOdUrHEep4yoOFkHyu2lQEQ436zrYk_1764937157 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: YWDDIFQ6SWTMIP4KMWEJOZL4H3Q4IW2Q X-Message-ID-Hash: YWDDIFQ6SWTMIP4KMWEJOZL4H3Q4IW2Q 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, 5 Dec 2025 13:00:37 +0100 Paul Holzinger wrote: > On 05/12/2025 12:31, Stefano Brivio wrote: > > On Fri, 5 Dec 2025 12:26:06 +0100 > > Paul Holzinger wrote: > > =20 > >> On 05/12/2025 01:51, Stefano Brivio wrote: =20 > >>> This fixes an issue and introduces a feature: > >>> > >>> - in local mode, we accidentally ignored the -4 / --ipv4-only and > >>> -6 / --ipv6-only command line options > >>> > >>> - if no template interface is available for a given IP version, > >>> instead of disabling that IP version, use local mode, separately, > >>> for it > >>> > >>> Link: https://bugs.passt.top/show_bug.cgi?id=3D129 > >>> Link: https://bugs.passt.top/show_bug.cgi?id=3D128 > >>> Signed-off-by: Stefano Brivio =20 > >> Tested-by: Paul Holzinger =20 > > Ah, thanks, that's quite reassuring / much needed for this one. =20 >=20 > FWIW, this is how I tested: >=20 > unshare -rn=C2=A0 sh -c "ip link add test type bridge && ip link set test= up=20 > && ip addr add 192.168.0.0/24 dev test &&=C2=A0 ./pasta --config-net ip a= " >=20 > unshare -rn=C2=A0 sh -c "ip link add test type bridge && ip link set test= up=20 > && ip addr add 2620::1/64 dev test &&=C2=A0 ./pasta --config-net ip a" >=20 > And then the variations with=C2=A0 adding -4/-6. I went another way: $ ./pasta --config-net -4 -- ./pasta --config-net ip a $ ./pasta --config-net -6 -- ./pasta --config-net ip a ...maybe we should consider to slowly start making --config-net the default= . --=20 Stefano