From nobody Tue Oct 25 16:19:54 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 4Mxcbb1JPnz4gDPv for ; Tue, 25 Oct 2022 16:19:55 +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 4MxcbZ6DNyz4CmB for ; Tue, 25 Oct 2022 16:19:54 +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 4MxcbZ5HQNzkV3 for ; Tue, 25 Oct 2022 16:19:54 +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 29PGJsos039604 for ; Tue, 25 Oct 2022 16:19:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29PGJsLM039603 for bugs@FreeBSD.org; Tue, 25 Oct 2022 16:19:54 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: Tue, 25 Oct 2022 16:19:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to attachments.created Message-ID: In-Reply-To: References: 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=1666714794; 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: in-reply-to:in-reply-to:references:references; bh=HxR9Est3QxbkxlhX/uYUvMj/x92rSjneMcUl4R3DvRE=; b=kb6t9Y9yki3aHk0/DFQiU+X3EhBVjw5YiFXFHQpMRwm0ahVWgXQnTsxiHlovfac2wgK4iI VV7un5PjUhfrWc8mHPVRNSxydIEGBW/BC76hMaf80kvGgGbjmSsmBfS6PzlUfIVZL1kgr4 bofQQ//7aBfs0FbNa54ybG+BGLUCN5h8GxvpET9jogwF8BJERh7bJ+na5iuhl/X35MhduW LAyKD2XNnmAt4ZBHmNiAsMAM1rOdim4wj3KJFA7RgCQtBQWF6Pg7DbM2VAj3GO30eYDusn MmRo1czffEVsrFad7jqT5xPaoYmiCbx4voEFwpSEzOTqhcNqAjoC/nSf8hhLEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666714794; a=rsa-sha256; cv=none; b=klR6xO5x2OI3ilFsU7KoF7wQ+ywoa3o6YBQPJ/7e2XE/lXjfOF8c4ts200GLllDRguLqO/ Lc53KuLGvGTLLpbsz7APlHLrmyrlvhQwyVElLthW2pkuWH7n4BHul8nF5vecH0BN8ZIiKn oi6QJQOPKw9vWDflFIsFXz1GPkCJNVSbR++lmtU1k8WcRhcREPoebsFlfDWfBmKyTpBPAp kIjZk5K7kKGd4W/wpX7eDueaT4pTX2TMe2+wLt5/UOyaJ6rytLuWSSuuvie/BFE6i9xKqN rhso9+9Y93irqUU+6OvddeskGIOczNiUiQzps59iW9LmB4bKD5jGVHpORxVq5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267301 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |rmacklem@FreeBSD.org --- Comment #2 from Rick Macklem --- Created attachment 237626 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237626&action= =3Dedit Modify rpcb_getaddr() so that it might use TCP for the Portmapper This patch comments out the code in rpcb_getaddr() that forces use of UDP. Although not yet tested, I believe this will make the function use TCP if the nconf argument specifies TCP. (I am working on getting a build done to test this.) I did this instead of deleting -DPORTMAP from Makefile.inc because Linux still uses Portmapper Version 2 protocol and deleting -DPORTMAP would disable Version 2. As such, this patch results in less change and, therefore, less likelyhood of causing a POLA violation. Hopefully the reporter can test this for the Azure mount case? --=20 You are receiving this mail because: You are the assignee for the bug.=