🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14102

Re: [PATCH wireguard] wireguard: device: allow userspace to enable IPv6 link-local addresses

#14102
From: Roman Khromenok
Date: Tue, 10 Nov 2026 18:19
18 lines
9260 bytes
On Tue, Nov 10, 2026 at 04:47:35PM +0000, Jason A. Donenfeld wrote:
> This is an old decision, but one I think I'm inclined to stick with. You
> can't use WireGuard with LL generated addresses, because AllowedIPs
> requires explicitly binding to public keys. So you wind up having to do
> coordination between the chosen IP address and the distribution of keys.

Thanks for the explanation, understood. Just to note, the use case I had
in mind is one peer per interface with AllowedIPs ::/0, as commonly used
for Babel/BIRD meshes, where no address/key coordination is needed.

> That's the direction I'd like this to go in, not breaking the whole
> allowedips model, which is what this moves toward. I hope that's
> understandable.

It is. I see the direction you prefer, so I'll drop this patch.

Roman
Technical Details
Message-ID: <20261110181910.2679973-1-roma55592@yandex.ru>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360509-linux-kernel-netdev=dewy.ru
References: <avNKp7OVA7d1X3fL@zx2c4.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360509-linux-kernel-netdev=dewy.ru
From: roma55592@yandex.ru (Roman Khromenok)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH wireguard] wireguard: device: allow userspace to enable IPv6 link-local addresses
Date: Tue, 10 Nov 2026 20:19:10 +0200
Organization: Usenet Network
Message-ID: <20261110181910.2679973-1-roma55592@yandex.ru>
References: <avNKp7OVA7d1X3fL@zx2c4.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="670769"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:iLouyPoBSezoX9cAq8IGNdEjs2o= sha256:qS4Y3SLpKb4schrKD2XIacITH1OA7hJ7wmYkHJOXBaU=
	sha1:/atGAuTGwLWtpoLnpIsHkxmYHJ8= sha256:n3qMndLO9SnxzceynmmwtbHSXc4YTpEiH9EXtefcndk=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 86CAA113CB6; Tue, 10 Nov 2026 21:24:21 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.047
X-Spam-Status: No, score=-3.047 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=yandex.ru
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id T7-ALpzIpdUP;
	Tue, 10 Nov 2026 21:24:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-360509-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=yandex.ru
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 276A4113CAE; Tue, 10 Nov 2026 21:24:08 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id A4F23A3889; Tue, 10 Nov 2026 18:19:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794334792;
	b=smE7/cLsniAaobDQE1DxlidJZOv3aCZyJ1BTactSBwn1RrIC3XdIFTe+29sgBqAP5rFZ
	 qpxt13R6nrB11j7bzc3qar74Ts3ugZjaKyzGtKdbLQSSoC8zPmBO0W0op1qeXal1SR7ez
	 4OGZEPfd7nVj1y8yEFf9mhsqvMDcLrcVESRpefDH653kR7nJ23zdEUKRNF5RO6+2tWPSQ
	 SW1l3uIkrKOMNGhtgeTcGtdS0M2rGb9ZFsZqhmRbb/Y7INUK+4RDkEdI+K9AfTnozsKkf
	 aGj9LjfZjrCEWb1yz8ZPj+p2ytbzvhd4wYKypuiiigiz2RCQ5gGejH3h+V7eW2PzemA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794334792;
	h=X-Original-To:Received:DMARC-Filter:Received:Received:X-Yandex-Fwd:
	 DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=VpKp3qfT9I2/4AIFnOHw2thJ8PJrOYzM5pM3X9hSNw4=;
	b=H3/Gk0EdiXdJgxRH0omMGlvcfvPq8PVe9H3HkIIXh2QjLQ6i1JaHCrtvvHEAvAS0I60H
	 ckUO8kWscUmhX4JN23+T19MgoT/X+/u2VaBfj4KggFABC01LX1iE6t5YFC3vpPLkb91qR
	 2bIR7EHfD85KFJ+7O2KLBwP5u8V1+CoUEGKu6uZN+Y/8vJprIWrxIKXrHQoeO3K2ATTHU
	 2XJLdqzxsU3Ku/DBNaQ8ebK9G6vX5VLKO8usJ7+BCz3yafkdeeqm16B0YaxZjGqNLEP1i
	 EWJURlcUW8LhcO+tR8SnI66IMUlYfN5UttakAWGMWSP7VTTMFhsQP3Rr0jbJACllcaA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=io6hQch6;
	dmarc=pass header.from=yandex.ru;
	spf=pass smtp.mailfrom=yandex.ru;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id ACCE7606A323;
	Tue, 10 Nov 2026 18:19:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=io6hQch6
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=37.230.174.44
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794334781;
	b=Na5WpmUdqtH+MF6p9OixuOTl1zB0kfXESBVMeMpAfcgQqD1WYt0iErBdqA3JNcKmMyuk
	 BVhpj92SNIKJa44uQO0JD7yjrxTRePeC73jrd0cEFB4JflG5PIr3u/moCWuj9uLTj9W3V
	 PrUodB/5wL4kVDqDjQSRyW1JfU+vFFYNpaKgHCc8Dfyfgas4cypbY2YLkhy2hQwMoxZk7
	 WULfzut1ZjEkqxtQz4m//NEtBsC1z6HCTGb31XFU8ICmzw5Hb+tMTO0mJbJmvwurhZto3
	 /alcmyglxaA1tVyJysZbBgzQLoAh2CyTRV7+dZ6/r6K1gp5QEMja03CDRUXZjZr6Fdw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794334781;
	h=DMARC-Filter:Received:Received:X-Yandex-Fwd:DKIM-Signature:From:To:
	 Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding;
	bh=VpKp3qfT9I2/4AIFnOHw2thJ8PJrOYzM5pM3X9hSNw4=;
	b=0y4kTBJ2GsmiZYLmvIEcv1Gn4ar2zf7SVtwJ2yjCX/TdbL7kAvjM5Md9iq+Vb0SU2zzB
	 7glFvUdKS44DG4F+LLhqnoYjjNn6DGVjSH5wTgPR0/sCQtcVc1xCmHau5cEUJcojaHgub
	 +YztuCdtArHImaTj0oitxQDUfygwLwGd1kGehiRmu2U3xFbiNR6eFhI/Vhigy8PmwJEJ8
	 tYp3LztJKw5z4nAnLd+VTmrHYCecA0oxb8aCbfXTNBLNFjNhe2rGuvTbMIpZqI+L6Qe1e
	 e/RQrrC/eTbaxaGSiuWxXCC0yDEMrXj1KFt31OD3j/SaxVK0dzvetd/CgkgxgdbdnOQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=yandex.ru;
	spf=pass smtp.mailfrom=yandex.ru;
	dkim=pass header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=io6hQch6;
	arc=none smtp.remote-ip=37.230.174.44
X-Received: from forward504a.mail.yandex.net (forward504a.mail.yandex.net [37.230.174.44])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id F10A1606A320;
	Tue, 10 Nov 2026 18:19:38 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F10A1606A320
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru
X-Received: from mail-nwsmtp-smtp-production-main-65 (mail-nwsmtp-smtp-production-main-65.yp-c.yandex.net)
	by forward504a.mail.yandex.net (postfix) with ESMTPS id 50958C0184;
	Tue, 10 Nov 2026 21:19:31 +0300 (MSK)
X-Received: by mail-nwsmtp-smtp-production-main-65 with ESMTPSA id DJXb7GFia0U0-UuobqHqp;
	Tue, 10 Nov 2026 21:19:30 +0300
X-Yandex-Fwd: 1
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
	t=1794334770; bh=VpKp3qfT9I2/4AIFnOHw2thJ8PJrOYzM5pM3X9hSNw4=;
	h=Message-ID:Date:In-Reply-To:Cc:Subject:References:To:From;
	b=io6hQch6nxz7t+B89tSpK4FHF7YCawH7TZJcvP2USlG6IPMNsETp8OIJYWzxb9KQK
	 2bWsz3AxDOhjRAJigmwP62k4ZioW0UNfDO1iHw/Ea+BQgOYbDQrPrWCFv1xL0odl3t
	 WzFeAUXNNdFkrtKsAb3BNKdpMwExD1GAJoTpJlAM=
X-Authentication-Results: mail-nwsmtp-smtp-production-main-65; dkim=pass header.i=@yandex.ru
X-Cc: wireguard@lists.zx2c4.com,
	netdev@vger.kernel.org,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Shuah Khan <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org
X-Mailer: git-send-email 2.47.3
X-In-Reply-To: <avNKp7OVA7d1X3fL@zx2c4.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list