Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2936837lqo; Tue, 21 May 2024 01:32:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSa11vtK5lG9dN9JhsqMNS4rXlEHE2U5oECqheLSnx3i7N/w4ljRlZlZ3Q+a0bkdt9Whvo8QGWx1KNKcYjBu0qe8X88bWT3b60M82zzg== X-Google-Smtp-Source: AGHT+IG7EgP/wFLN8Ssm5vic/8mzM6ayaxd2pBDtx1tM5SThmXfHqLC62rqrOQfSyVM8dGqsqaa9 X-Received: by 2002:a05:6214:4403:b0:6ab:6c96:60a9 with SMTP id 6a1803df08f44-6ab6c966210mr40033286d6.8.1716280363876; Tue, 21 May 2024 01:32:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716280363; cv=pass; d=google.com; s=arc-20160816; b=uy40DN1QPngORRFlP1TSeZy4D1Re2vjAjGRwawyCKGV4Cj3jJQIYijOqEZZE1/7yPF vkJQ2/8vqNnM466yU3sMExL2fRPPAhE0rUzWTSl7V8d73yrRzPYTvHGEbuEudjPWmgwJ IQzo2b0hFa9BLfN0ZJd0l5SnvATm8oD+YsI6VraCziIYU5Imx0j7er45/7vyv9T2sLYL JNnijTgX3tzBWIPKzW5+xMHtJVZKRjuxbTXE6ziT4m5q1LcnfsuGrQJ0VY+skadAatdV PeQZINUT2sF5GppihEadxOTd7abhOtSNEjzuzgoKMwl4HfjcKodvyKFXPdvqJZEHaUK1 1dRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=042N1pbaJOntOFtHt8GAKbOMbErAhqajmACZ9z3KXC0=; fh=A3pMOUK00huGibGCZBFsLekFLVbB5hHGKjUNNKwO+5E=; b=a/AX1FtD3+6B1cGPlpFEaloYje9c4VJKJD3bKCQeDNT8W0nhiFBSsAovc2JLqUo0on dkumbmTL2pmxi0710rvUK8mqouAvPWWbB6foE3wPpJmCiZms1slWqAz+rQiKiMOPh4no I2zqpU0YbReK0cXmuhCG1JN4x85n8IaB4T23wJxsOalQ7bfuvoTr1B1OqyvxLDfT8xVP mL75v2N0EuDaGTmQ9lA/92VYu5Z+hYDrVrIFpEgjrzREzLl+oJvH/KiB4nj6f9m6Ny9p zPMU9p2CpQfCm7ae0P/JiZTBZDtNuU21EEQkPEkPvvpv7R9sjS2ubhaNasx4Z9Dyrjs+ CqEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HkIwyEzB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-3298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a9f3acd2fcsi53355556d6.11.2024.05.21.01.32.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 01:32:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HkIwyEzB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-3298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 978831C2101F for ; Tue, 21 May 2024 08:32:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0D7D55C33; Tue, 21 May 2024 08:32:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HkIwyEzB" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DA8454BDB for ; Tue, 21 May 2024 08:32:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716280362; cv=none; b=kYZHw8Qn2J52n74dAI4jOT3P2qRs3TmVyEXVp97jAf5x8iXLMyTyZHvm9scMvLN41DnPK7jf3Jk+mPmELpPulZ5d32iH9gOLl9A4eqQ3Lj0kNqnIiriCYtbCIjSujKFo/DlYMuazQpjxYwjJ7ILGOLat55e5XCBgKtsRPkoqCU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716280362; c=relaxed/simple; bh=eNAfFiBFtvDkIU46Uzq+Jtfa8NT5UkDWFgGFsS51ULo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Content-Type; b=sWSd0LR98dgdW6uSIx9r4/OJw5ZCIRVby+Y56lRlBsrvBMnuWFB8BP+uKGXse88Azgi5M7WzzvNmm2+gZvDf+SfJ0cfAEov/6zMZOqPre02LXIxNyvA+aWgfU3gxAO+HZNsT9KycX0XMgh6JKsJlufHOyD19uHrUBUc3CPQOwgU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HkIwyEzB; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a59e4136010so861325466b.3 for ; Tue, 21 May 2024 01:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716280359; x=1716885159; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=042N1pbaJOntOFtHt8GAKbOMbErAhqajmACZ9z3KXC0=; b=HkIwyEzB0HT1RLWev5sKmE4jWG1g20FMXj3COOoGBS0g+bYC8toOi9k59uuD5QySg9 HkENQ+NOJddCDY5Qk5rto12rgXUlBi77TjgzNc7a4115WuThPM33h7K6z/MtXtNIJgRh mUxRM8sPRJ2/1jSfcdNsG1eVmDsMHxXH9nF/OR4OP8xtmRY5HDCe+yKbv13/AyRA/vRI zhvqxpa0+Dv/fREOqi2n0J0qAwMVPPZ687WAR4XEeN+jIQTUWw/7hSg8qFv/mzlmvi1+ vravJ5EhYiVPNKzcu2gq9c3gFkqB+5/b+wFL3UnWlnma6FxOI1Hcwlni+BcZSGIqS9+W 6aRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716280359; x=1716885159; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=042N1pbaJOntOFtHt8GAKbOMbErAhqajmACZ9z3KXC0=; b=TRUl+0/CiOltqVQsXxoJqNX78wU4AeBPWcIID1xuHD3AuCOT4+6VqtaKM1eCTC22ME d3JiaHal5asQyDQrzdJDehjGoZIKuPlfgGkKre5EmkzaikwelZk1O9YGHDBJC+iH7IN+ l3UhHXa+3IsZF1HCj2pqgVFkW+OGmefcUJzY0vKFsAeg2qq4eRz/9c+zpUis8RpdiRNP C1TvD+6tK0QS5g/YxWXWfqHrt6Gw2Y8sUjwixmHeufZO4icP/suKo/DcxyZYAdEY6lZn wd3O3f7LKdLJz6E8oP0Tli+hj+dUjhGd1EqPECu2mzlIe/rjMB/8f4UOiTAKzOeX4c/g 7oHg== X-Gm-Message-State: AOJu0YzDYX8mSf34RXZ/4mU7UDlvuI+zLMZ8Fwng2NcE/M2kozdlW312 Ngohn6bM7k5yxUMVYjw+M7V92K2j7ON021Ne+OOiNb202LSEWcFJkxgwQh7pdU1cU8Q6pfqo0ET Ewivw0DNTlRX+7t6smJ//5AyeSeHWgQ== X-Received: by 2002:a17:906:eb18:b0:a59:c844:beea with SMTP id a640c23a62f3a-a5a2d676a37mr2011712166b.73.1716280358957; Tue, 21 May 2024 01:32:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <5ED71FE7-B933-44AC-A180-C19EC426CBF8@oracle.com> <8FCF1BB3-ECC1-4EBF-B4B4-BE6F94B3D4F5@oracle.com> <93DA527F-E5D7-49A4-89E6-811CE045DDD3@oracle.com> In-Reply-To: From: Martin Wege Date: Tue, 21 May 2024 10:32:00 +0200 Message-ID: Subject: Re: NFSv4 referrals - custom (non-2049) port numbers in fs_locations? To: Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Good morning! What is the status here? Thanks, Martin On Mon, Feb 5, 2024 at 8:53=E2=80=AFPM Chuck Lever III wrote: > > > > > On Feb 5, 2024, at 11:17=E2=80=AFAM, Trond Myklebust wrote: > > > > On Mon, 2024-02-05 at 15:13 +0000, Chuck Lever III wrote: > >> > >> > >> A DNS label is just a hostname (fully-qualified or not). It > >> never includes a port number. > >> > >> According to RFC 8881, fs_location4's server field can contain: > >> > >> - A DNS label (no port number; 2049 is assumed) > >> > >> - An IP presentation address (no port number; 2049 is assumed) > >> > >> - a universal address > >> > >> A universal address is an IP address plus a port number. Therefore > >> a universal address is the only way an alternate port can be > >> communicated in an NFSv4 referral. > > > > That's not strictly true. RFC8881 has little to say about how you are > > to go about using the DNS hostname provided by fs_locations4. There is > > just some non-normative and vague language about using DNS to look up > > the addresses. > > > > The use of DNS service records do allow you to look up the full IP > > address and port number (i.e. the equivalent of a universal address) > > given a fully qualified hostname and a service. While we do not use the > > hostname that way in the Linux NFS client today, I see nothing in the > > spec that would appear to disallow it at some future time. > > We absolutely could do that. But first a service name would need to be > reserved, yes? > > https://www.iana.org/assignments/service-names-port-numbers/service-names= -port-numbers.xhtml?search=3Ddns > > > -- > Chuck Lever > >