Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp327587rdb; Mon, 29 Jan 2024 03:44:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtp7EE+b+zdVY0P8Vkhe/jtF+oLrJS4ii5AQscZdXmCLaaZwFp3N/pLDGu7YzQz2AzeLXJ X-Received: by 2002:a05:6402:334:b0:55f:464:edb6 with SMTP id q20-20020a056402033400b0055f0464edb6mr1199043edw.9.1706528687702; Mon, 29 Jan 2024 03:44:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706528687; cv=pass; d=google.com; s=arc-20160816; b=hQBHPWhEFXotGaQWWXGbvDGv/kNpSA7s/aWydDboX4sfY+pbdXZnbPgp+YX14bkOoO 4Q8HImQ+tT+8VlQUo9yLYLKvv9Z7imqxjaUjaDGsjX4tM+lAOorEBBUK1JkffIUowr3R CcBJQt+mnpTLEHnKY9J86Y5rLhjBR6YqMZqCfJO4Nb1hGogwy6QbGdGjXxMbm2DtYb9R BxPTcoIRFBHC8kiJ3/oN+uHvlay+5tn6smhpE9Rqx9KY4sPKdFYFb7gzrGgmb+zPcYZ8 5BpTHjvh3V0LHSV1MLkn+BGg9q2DQN8B25BPLYZv8rdViXuSxumaFiUe4WYN5tIGoOJ1 mtMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=zxCKiSj+QF/xHgSfSdKWbm2FMJtwJjMYLN+t3dmUCoo=; fh=OJYRndGWK+hCEpzK/JhkvOIMOFfxPnPpxEi1+lyl2aI=; b=ua6XlvtohEpQZUMXzi+L9NLSswIt+w7kFbFlTPzhv+pDi5q227nCMvZI+Rc1JOd7eb 9BTJ6981EB90xxmyzkFmGg6obD5fGDNXdZ9bUSZkFJwmZARPIgDlXufjbzzgTXyTMlT6 N/vyNYNWIyprbtwFbWkJlzUP/+x3zrC365obtfAzDbCXLUWxNsw4jiY7BQA7ZL2ogsgk P/uZdLdRAj6wNkYOFM1KBcHWZwrkS2fG5aXSB/4TVV5bEau6sjcVe9n7f62ColOflYkv /kHwe36Sne4XqX5Q0hJ2NeiMbBHvaQJS6ImURdGk6z1yCL5nu4RHyyO8nJwzwgBqNSBJ m7dA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-1535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1535-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ev13-20020a056402540d00b0055cec2e9669si3438234edb.107.2024.01.29.03.44.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 03:44:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-1535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1535-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6CC8D1F21260 for ; Mon, 29 Jan 2024 11:44:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 223A75BAD2; Mon, 29 Jan 2024 11:44:45 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 5D1155A7AF for ; Mon, 29 Jan 2024 11:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706528685; cv=none; b=dHI3cKXUD2vFnXsCA27AaooblQUxL3Od4tQlbLwiUPmMJvvI/2Gbw7CY5FhU98gSDiHleoRObn9FEqlkB9myALFznK9QjZHCsTUdgSxzB06HfZBjfdGCC9W8ahKIGOeG56ufaQZfB5kxDkxIRblkY/0kMJIj2XhMj4lMi9EkmNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706528685; c=relaxed/simple; bh=bmJzdUwP6uOKO0kVIbKRjjfZQgAhczJAKvOs9tEp6h4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=FtFrEeE8Q0tE0kNmqdqtKhUjAEsoBjRAsfeKjqBk/ukS43XszKtrrKY/UAH8lBZALTjaMoMZkNBOoX772eDIZZdQTrslFP+Xhz/84ehUSFQTRLnqg/9jQoFHFh2HVjm9UwCXRQLvDiqdu7BksF6mzZTCZxW4ALJUCzk3shNJFsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nrubsig.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.167.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nrubsig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3be50508b4aso291509b6e.1 for ; Mon, 29 Jan 2024 03:44:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706528682; x=1707133482; h=content-transfer-encoding:cc: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=zxCKiSj+QF/xHgSfSdKWbm2FMJtwJjMYLN+t3dmUCoo=; b=D02zO91XjEpNKcFllKKSI0lLCDa7o2S7t3cVKc4eqT+TGklQXeP313U6F2F9fpLSep cOBSXOSC+sqmrjozSZRATvSqJx7v0Y4uZL8CEVZ70ut/bUQdr8zXCtJwhmsZHStDoCY+ 94KzVao28R2OMwRmhrxO22MRc70x/MNYJgXHrS4QkikeJySBdAi3518ih+DIuLjQ77Ba fpxuU0vIkNSRXVymAK/4hFpR0iV/CsVqsqYUnLGkY2xhPmPoBi16y6/u747vDg5KpWwH R8tCbe+feYd4qPxwDlucoqYTXg1UV+xPcZHdFfBjXA9OGkDcgoCAl0rhCfjjwjDDSeFz aZSQ== X-Gm-Message-State: AOJu0YwgttZ+fCBbVQK8KZO2A2c7fGyor8LyFMKD5gwVIUinPvbF1fBb xphM+x+i0VX/nx8PTslVK/2cJT15nry89XLd79LZZ505MOCg3mlo3PCEF/ze8QJBujq93IUTUcC CTPiULSB0GCA+MdsY8Wq7s8D5Fhe+r+7a X-Received: by 2002:a05:6870:b523:b0:210:ab2a:8e0d with SMTP id v35-20020a056870b52300b00210ab2a8e0dmr2790852oap.32.1706528682128; Mon, 29 Jan 2024 03:44:42 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <4F5C3573-2962-4072-ACB1-1CB8236866D5@oracle.com> <5DA015E1-50C6-4F56-B4E7-62A4BE90DBA4@oracle.com> In-Reply-To: From: Roland Mainz Date: Mon, 29 Jan 2024 12:44:28 +0100 Message-ID: Subject: refer= syntax in /etc/exports for custom non-2049 TCP ports ? / was: Re: Change "hostname" to "hostport" in text-based mountd downcall Re: BUG in exports(5), no example for refer= Re: Examples for refer= in /etc/exports? To: Linux NFS Mailing List Cc: Martin Wege , Chuck Lever III , Cedric Blancher Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Nov 13, 2023 at 2:01=E2=80=AFAM Cedric Blancher wrote: > On Fri, 10 Nov 2023 at 20:17, Chuck Lever III wr= ote: > > > On Nov 10, 2023, at 3:30 AM, Martin Wege wr= ote: > > > On Fri, Nov 10, 2023 at 3:20=E2=80=AFAM Chuck Lever III wrote: > > >>> On Nov 9, 2023, at 7:47 PM, Cedric Blancher wrote: [snip] > Yeah, instead of waiting for NetLink you could implement Roland's > suggestion, and change "hostname" to "hostport" in your test-based > mount protocol, and technically everywhere else, like /proc/mounts and > the /sbin/mount output. > So instead of: > mount -t nfs -o port=3D4444 10.10.0.10:/backups /var/backups > you could use > mount -t nfs 10.10.0.10@4444:/backups /var/backups > > The same applies to refer=3D - just change from "hostname" to > "hostport", and the text-based mountd downcall can stay the same (e.g. > so "foobarhost" changes to "foobarhost@444" in the mountd download.) [snip] What would be the correct syntax to specify a custom (non-2049) TCP port for refer=3D in /etc/exports ? Would this work: ---- snip ---- `/ref *(no_root_squash,refer=3D/export/home@134.49.22.111:32049) ---- snip ---- ---- Bye, Roland --=20 __ . . __ (o.\ \/ /.o) roland.mainz@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /=3D=3D\ O\ TEL +49 641 3992797 (;O/ \/ \O;)