From nobody Mon Oct 24 01:07:05 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MwcNq08lxz4g0HK for ; Mon, 24 Oct 2022 01:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MwcNp5WPJz3Yw2 for ; Mon, 24 Oct 2022 01:07:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MwcNp4TRMz14Rt for ; Mon, 24 Oct 2022 01:07:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29O1765A045752 for ; Mon, 24 Oct 2022 01:07:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29O176iU045745 for bugs@FreeBSD.org; Mon, 24 Oct 2022 01:07:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 267301] nfs uses udp for portmapper even when proto=tcp specified Date: Mon, 24 Oct 2022 01:07:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: brad@facefault.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666573626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cl4pLI/R0fpNqBLEtnwmfXxf3H1CyEgSU3ww+j64qXA=; b=do7T/47FbVV3QTMCepGucW2UhnfIbDkcoVE5/ikOrkEYuzDZJzWItqEljKy6ks7U2AktTI 8R7Rh8bC7uwttHAYl2uxHdTmYnZlm7PBPu2ux0f7RFZgcnBzanHDJ3AL8AWMjQpt6yBRaB 5NKs4sj6+4/4SIraG87gjTMiHjzUNTiJ+tMh8k57e5Alo2zaQPZ7BF8Uzy3WVL9xXtHX83 vL1GBdl9XEeZMszchU4e0kiZFAuDgXEJ4NTxkBfOzBdEBt0Zfee7shBIDVjUo//uLCbc8P 7cH5yM4HK7esip7sTPKcBwxbM1Tr6MhcVIKCdWR/OJ8QmjzDnj+7l4zKl6ZO6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666573626; a=rsa-sha256; cv=none; b=Z8SiZ71oxDv8L+e5YMQuca2BaYJSFIL2X8PHPmUGJ3h6a3dQ1ZTPW1Yp4JZCVUiXbCFHdL STOQRk79HYxfK203yuKPGuq0WZXQn68RDj6ITYh0/toinXqXScMionSPYRFLQwpFKp+kAe I9yQGEm+cCu2p670iXPutEF8vzQliZvBRwIxMTd8JnAERool5xg1CPhT26S/fDQZtHVSbT g9zJAvHlr9AV2UxUsuK7IW/Ky3CbvV1wHaRnZzS0FbTNghD7P2WTGFS4/4FUhKp1J2vc60 awuw/BKCbuSDYcF6THeQBAjc1eFshYUELgbznTqZ7QpR/ZWkJ5BvjimdopX3LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267301 Bug ID: 267301 Summary: nfs uses udp for portmapper even when proto=3Dtcp specified Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: brad@facefault.org When attempting to mount a remote file share using NFSv3, portmapper calls = use UDP even when TCP is explicitly specified. Using the port=3D option would b= e a satisfactory workaround but that doesn't eliminate portmapper calls. Expected behavior: TCP explicitly specified means TCP everywhere. Repro: 1. Start tcpdump with capture filter "port 111". 2. Attempt to mount an NFS share with proto=3Dtcp. 3. The tcpdump contains UDP traffic to the remote portmapper when TCP is expected. 4. Block outgoing UDP/111 from the client. (I guess this one's not strictly necessary.) 5. Repeat #2 but add port=3D2049 to the mount options. 6. The tcpdump contains a successful NULL call but the client immediately t= ried contacting the portmapper on UDP to get the mount port. This prevents using Azure Blob Storage NFS, and I suspect there are some bad and hard-to-get-fixed firewall configurations out there since Linux's behav= ior is to use TCP for portmapper in this case. --=20 You are receiving this mail because: You are the assignee for the bug.=