Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1713868rdd; Thu, 11 Jan 2024 07:15:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWjJ+R/m7zpbAnw2TT+xYOPZqypTLJ4Rdc1xIs1aH927K9kjj6AOn4s44TgRctfnr1LB79 X-Received: by 2002:a05:6a21:329e:b0:19a:4592:50d with SMTP id yt30-20020a056a21329e00b0019a4592050dmr1330713pzb.55.1704986141523; Thu, 11 Jan 2024 07:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704986141; cv=none; d=google.com; s=arc-20160816; b=DCH90k4aDV85PjfI9dLwVOXBC/01Gmn5qOE8bJzjjq40z/UE2A4ihIbc6fb/ScI/Mt AN9bEXHBhgJbMYl2NrbMIxx/mEOk2xHfN7p7eSU5k6NdDOpiciemJwVE1x3MO7PjIjh2 FhLFPbSz+qhTMP8NX223g8wflOWjkEUawnRNwxQAq32bohpO2eKL6ftU5DwXhmvQvTcn cqNhFK3PH9abXzzvA28X/VhfW4z0Qk4dYJSyaaitvD3IP255UslAHoAAh8B0M6bFFvQU s5dizD7XvWSQN9o9rWrxi8ig7Phfx6JO57q/Wo6scG7Hmr4Xh6Ghz96ikLqzc4YE96Gw n1pA== ARC-Message-Signature: i=1; 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=g8WhksAyCBa8d1kSoXwSP+167tJMgrySife7xxT/CAM=; fh=A3pMOUK00huGibGCZBFsLekFLVbB5hHGKjUNNKwO+5E=; b=VhNnHc5KpWahRhH3DwpWQ20dd4IfaQ1XY70wfFVbRneqDzMm1oR/TfNJjw3HTydSFx fJb/5tJgQ0ToDpiJhoa3iM1+uf1XYmENuH1pEeDVmv5n1hD+PRTdpJ7tP6GHZVUlZ42D 4Sx3ggLkxXIWEJ9OSMBZyum9J2zPbvTr/ksal105Sm6kevwY9Wnx4YotZK2MaX2iQpAR NqZpDJkVe6M0ewy8TS+6XWelx2rfmy9pprYhY0QPycDtYYiHrYFPtFAP03RSo/yiXY40 Qqc2O72G87rnWxIRBrezbDlso/GHahrv4KqoUdTVzd3VHk0nZuPE8puN6tgzNTAdNNv3 pvFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iBjzJcRY; spf=pass (google.com: domain of linux-nfs+bounces-1036-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k32-20020a634b60000000b005ceeeee9f5bsi1242169pgl.312.2024.01.11.07.15.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 07:15:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1036-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iBjzJcRY; spf=pass (google.com: domain of linux-nfs+bounces-1036-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1036-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9FEC728AFF2 for ; Thu, 11 Jan 2024 15:08:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A00A4F889; Thu, 11 Jan 2024 15:07:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iBjzJcRY" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (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 C56FB4CDF8 for ; Thu, 11 Jan 2024 15:07:11 +0000 (UTC) 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-oa1-f49.google.com with SMTP id 586e51a60fabf-204ec50010eso2947992fac.3 for ; Thu, 11 Jan 2024 07:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704985630; x=1705590430; 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=g8WhksAyCBa8d1kSoXwSP+167tJMgrySife7xxT/CAM=; b=iBjzJcRYgWL75fnznUed4VdVXqUkndaZGw/J3mHmlCVeOJ/oR4E9XTRcYqc2yHUiKG Fi65sIjCp/kMGXYbBI1ZaR7wkBEYOzwxBycnxMd5wE9ITG868j89RLUEe41CglzE0joX Bm3mbh4GBEC6hOxLzRJL0caAxoDb42NKVui+Hnvh+vCV4QnY1ubfmQLcVlIYGkdR4Zah 5qjrUrX5mwEgaN/hrOIXYolUetzTfMqCAQbzlQOUxGYhtKXsqJ4wihm0qnPDzfsBO2Jh 7Pwhk0NAevi0j/NJ3X0cZn+3+6byo4aMuLTZGPK3hBUubyyzuxL2UuhYLg73G7rHTn3t I73A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704985630; x=1705590430; 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=g8WhksAyCBa8d1kSoXwSP+167tJMgrySife7xxT/CAM=; b=vjd3hrgtNt7u3x0OErAqm+X22bT9HnZ3J2T+ermO3sGDPthe9RHV8lqLMIAP6/CY2F Xrh4GfuY3+c0Mcq4n5DXfVDXX58i1+BomM7Qjli8RvU39AEs3GO2FPohYT3fDJLFngMa tT89gkiJC1zWdu87872G3MyEDBLkZSNT5T88nL9BfvnVBAHqhC9MdRrQX6lrRXoQB7ke EGfifeQZ6UoruwObKyv8frClp0eATtiOHKbBFZN/0LZM+woQWQeyzCWbyXMLaQMdCWSu 4oS3pePnNe3WxythKUYJxiXx3ETo7m2FuagiAtKMiQgREOqQo5CBHOLuIvufFdD/pR/s Y6Og== X-Gm-Message-State: AOJu0YzqyotRHkxuYCJB81AySbxwp+WYqiycZIpJUPcj53CTtPxxEgn4 PusELUQCTa+WbD6O8EPH4+iEUqr1kciiIKk+Bdd6fXgw X-Received: by 2002:a05:6871:8783:b0:204:9e3:184a with SMTP id td3-20020a056871878300b0020409e3184amr1421213oab.60.1704985630654; Thu, 11 Jan 2024 07:07:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Martin Wege Date: Thu, 11 Jan 2024 16:06:59 +0100 Message-ID: Subject: Re: nfs-utils&nfsd&autofs not supporting non-2049 TCP port numbers - Fwd: showmount -e with custom port number? To: Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 4:11=E2=80=AFPM Chuck Lever III wrote: > > > > > On Jan 10, 2024, at 1:06=E2=80=AFAM, Cedric Blancher wrote: > > > > On Mon, 8 Jan 2024 at 15:39, Chuck Lever wrote= : > > If you look at Solaris BUGSTER (remember, we were a big SUN customer > > in the 1990/2000, so we had lots of bugs open for this mess), you'll > > find lots of reasons why one single port for NFS is not feasible in > > all scenarios. > > > Just some examples, but certainly not limited to: > > - Fine-grained HSM, all on one host > > - Fine-grained project/resource management, i.e. one nfs server per > > project, all on one host > > - Competing teams > > - Hostile IT department (e.g. port 2049 blocked out of FEAR - not > > reason, no further discussion/negotiation possible) > > - NFSv4 tunneled via ssh > > - NAT, e.g. private IPv4 address range inside, only one IPv4 address ou= tside > > - IPv4 address shortage > > - Software test deployments in parallel to the production systems, on > > the same machine > > - ... > > > > In any of these scenarios you'll end up with NFSv4 certainly not using > > TCP port 2049. > > In most of these cases, the use of alternate ports has been > superceded in the past 20 years. From a viewpoint of university hosting, HPC environments and pretty much everything else I've seen, that statement is FAR from reality. This even gets worse in Germany, Europe and Asia (not US of course, you're hogging public IPv4 addresses), where we have IPv4 address shortage, lots of NAT, and only a small amount of IPv6 (except Asia). In all these scenarios you have NFSv4 connections all over the port numbers, and not only 2049. Also, reality is, storage virtualisation for NFSv4 on the outgoing side is typically done on the port level, and not IP address level, e.g. many servers behind NAT, and NAT then translates the accesses to the NFSv4 server into a single IPv4 address with different ports (because of address shortage). And because of convenience, the NFSv4 servers start with the same port number as used by NAT on the outside... Short: Non-2049 port number are the not a "corner case" Thanks, Martin