Re: [v6ops] Our IPv6-only home network and future experiments

Brian Candler <brian@nsrc.org> Mon, 15 April 2024 08:52 UTC

Return-Path: <brian@nsrc.org>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54DE9C14F6F3 for <v6ops@ietfa.amsl.com>; Mon, 15 Apr 2024 01:52:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.795
X-Spam-Level:
X-Spam-Status: No, score=-2.795 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nsrc.org header.b="ZNIySPEd"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="nn0KM5gm"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tSxUzTo8Tw5k for <v6ops@ietfa.amsl.com>; Mon, 15 Apr 2024 01:52:47 -0700 (PDT)
Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C116C14F5EA for <v6ops@ietf.org>; Mon, 15 Apr 2024 01:52:47 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 12C19138045F; Mon, 15 Apr 2024 04:52:46 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 15 Apr 2024 04:52:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nsrc.org; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1713171166; x=1713257566; bh=9wnvhNSv0d ag1waOwSDF+1+7ZmBmA1aHGFO75zv/qzc=; b=ZNIySPEd4Sy7EPiNeNK2Q0nxe2 eYVe44mjw5AEcqytLI+Umd+jCduQN+TeJtUDo76o48PgF5myN6VNE5x9vhDIav+x HtCeugSinRigRbiumXXoaFosOgbN4eujkZ+0fqkeAOdbE/dHooDy7Def1ilOvsWi l4+RATqm0aGQwxDYJEquDQeJKubC8vO2ERlNGrZYtnhN508Y/bh5rNSNIv1EYKeM 1PXSOj/RQFL3UmdqyIsahvFhsy3U76nacPZ6eeaTl/y1ka8P6mx17KxaHjqwN25l 8Q9mgR4P2NDeGm2gNmL9Spj1qcjZYhe/SU5lYz50bgCkSFSVVoEm1b8ATnpA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1713171166; x=1713257566; bh=9wnvhNSv0dag1waOwSDF+1+7ZmBm A1aHGFO75zv/qzc=; b=nn0KM5gmlO922Lwb5KcaV12hkxkON4CnQeAs+qo04nNz jIZVvr/LJpKiLIL+LDZWE7hwmw09Hv7V/j7NzLWPzIi7GvW9xT+eojn5bMPTgl1l JK3qmOvKjwzkdIAjO7KrUUdh+OPXOxmKNGwo3O7P/lJoOrufTPr0j2jOoAO1S1Yw U1xEzkGP3BYVNPEQhDFrQd0jNEQJV7/ZF1S8zYX1s4tMyty4KXftnZN8KhvU9Ndh CKaJTMpjDRm7lKfqoHAoUROYcyi3XzVwSLpFjqf9KMYs4E3t6deMJQJ8fjZuJwkI 184lKIirRSmDGwXMG/9Y8163RUiLCAVTAzOO1X+mIg==
X-ME-Sender: <xms:3eocZk3ooF4Jqibhzzym6f5OxDXAfpwDb1spEm1hjRu32Wk2wj3VwQ> <xme:3eocZvEyKhC4f_hGsIj5CWL1Nms1S0GiYJdSRouBP3D6ZGCTCbr1r4fg2KSD0vkDE NCkVqKG-BFwlWIJSpc>
X-ME-Received: <xmr:3eocZs6OSLdXNQFUrsAFgvohl3YjWAB7dcOEmHQjhE9aFl-ugKT-8qgOyxCLe08>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudejvddgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeeurhhirghn ucevrghnughlvghruceosghrihgrnhesnhhsrhgtrdhorhhgqeenucggtffrrghtthgvrh hnpefhveekgeekkeehheetkedtudeltdfhveevgefhfeffjeegjeeftdeijeduhedvveen ucffohhmrghinhepghhithhhuhgsrdgtohhmpdgurghnihgvlhdqlhgrnhhgvgdrtghomh dprghrtghhihhvvgdrohhrghdprhihuggvrdhnvghtnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepsghrihgrnhesnhhsrhgtrdhorhhg
X-ME-Proxy: <xmx:3eocZt1N_cjKZ_ng1eIeb1MlGXUMZBFDYI0PRtR1MHRRE1yzuHfs5A> <xmx:3eocZnF5ztH1HKvIIknV0RjLR8Kv2BRzBCNCtXDem0Exc6xIwvnVAw> <xmx:3eocZm_XF0kLzjFI8BH0RoM40gy7XG-o3Bi6o88421zWbhSb4UYkJQ> <xmx:3eocZskFptkCF-6JHvyFRV0yqiYPiioIrTYp76Sp596njr0s7O_r3A> <xmx:3uocZrgk_S3KDup9HJkMjPJiLPi1oe76HpzeHfFBSE0xsqYcKsQaBbU0>
Feedback-ID: i8f09498f:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Apr 2024 04:52:45 -0400 (EDT)
Content-Type: multipart/alternative; boundary="------------UXOquiDhuYJ8Q1lub7TAXFV2"
Message-ID: <530149b9-36b5-4dca-af0c-f629654c00a7@nsrc.org>
Date: Mon, 15 Apr 2024 09:52:44 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: Vasilenko Eduard <vasilenko.eduard@huawei.com>, "Soni \"They/Them\" L." <fakedme+ipv6@gmail.com>, IPv6 Operations <v6ops@ietf.org>
References: <91ee2782-c98a-4ccf-ae8f-71be571420b6@gmail.com> <7b89e8bd81674a61b364e1fec4176006@huawei.com> <5e65b7b4-b112-4875-a603-22b5e570619a@nsrc.org> <14eff54c01c24e0190397afff768efbb@huawei.com> <78b6ef7b-2ca5-455c-a727-f03964fe74b6@nsrc.org> <3bc5f6b440e24774a6c197460dc13399@huawei.com>
From: Brian Candler <brian@nsrc.org>
In-Reply-To: <3bc5f6b440e24774a6c197460dc13399@huawei.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/f8sJX0_eH4NLMw4Of3auezZkYcA>
Subject: Re: [v6ops] Our IPv6-only home network and future experiments
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Apr 2024 08:52:52 -0000

On 15/04/2024 09:38, Vasilenko Eduard wrote:
>
> By the way, what if the application is developed with a different 
> language that does not use libc. Should it fail with literals?
>
> Or there is a need for modernization of all dynamic libraries in the 
> world?
>
Personally, I think that the long-term solution is for the kernel to 
integrate the CLAT work, either in its socket layer or as a separate 
CLAT device. There's already a third-party NAT46 module you can install 
to do the latter: you can find it linked from 
https://github.com/toreanderson/clatd

But I strongly support other initiatives which explore other approaches 
which could make this easier or quicker to deploy today.

With libc and LD_PRELOAD you could install a "shim" which intercepts 
certain calls, which would be very quick and easy to deploy. There's a 
very old example of this approach here (to make outbound connections 
bind to a specific IPv4 address):

https://daniel-lange.com/archives/53-Binding-applications-to-a-specific-IP.html
https://web.archive.org/web/20210420135325/http://www.ryde.net/code/bind.c.txt