From nobody Sun Aug 31 14:57:12 2025 X-Original-To: freebsd-current@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 4cFFTm4B9Nz6605X for ; Sun, 31 Aug 2025 14:57:16 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4cFFTl21LSz4B75 for ; Sun, 31 Aug 2025 14:57:15 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm1 header.b=Qft5YuHl; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="H P8Yt5U"; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.146 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id E67781D000A9 for ; Sun, 31 Aug 2025 10:57:14 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Sun, 31 Aug 2025 10:57:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1756652234; x=1756738634; bh=RYYvVwG0bYLC6j4O0wXaiGTGqT82NjnV urG/OvE3/oA=; b=Qft5YuHl+L663xe/7fsYNnx09/PTW67YohKcrOvl+veuqTAe Deh4aQ6h029btinioenSmRZDUBSny9Nz1QDTPV6Vvo81AULgeh1OgIIRoY4/e2j8 b+lXJVqVpqfY6FAxZ0i7sUQ8A/M7AlEJ9wKd0BwhzB4VbQvOnQTo8nbclkbbgVTr WyV0Uc9e7uvfZTjRtQ3LAiD9MMgoMQNeMrRMgqLhx0qBw0fR+B6pBz9ZBGHE78Ia ex/vjuyeIIuUJIwTicPNufBRC7aXNANH5C+KRKZBHOJVFbnEkfpDBTxRKBA3/PYC k0pKG1u5a7fNrmz8b9kgQPUfQxz2xnLDNe1fqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1756652234; x= 1756738634; bh=RYYvVwG0bYLC6j4O0wXaiGTGqT82NjnVurG/OvE3/oA=; b=H P8Yt5UV1gbc1bknnlH3PccjH/kFWKriDGYoWqQRobI1l9+Ggol641c8638PIkC0g OPqS5M3DkK2YA3/sQerKIVIra9a5tpPW/5otCvDXUadObYM4K+6vAbKyavzW7WwF 3zd44Hlz1/IXG+OdslRL4sqh59/F/E426OKyg1yeKsCMCE/AzH3e4zKvjh4nG9kj dsUuFD4xgZ5x1kN9BlyflO/M29Gkv3oGm5mATjiVtL0LMSzK3PlOpXQ2FX10PdNt MYCFkV0DwP4jRXJVQHOdGzAquYj9/S7WtZuc0iJiElzftgjWkwihG3VOA3Texaes 0lGB2fi2x43LxxV+Ti0QQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddukeelheejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttddtvd enucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthhtvghr nhepveduffeivdfffffghfegfeejfefftdeiteehteekfefhvdefgfettdeuheegffeune cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgu sehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 31 Aug 2025 10:57:14 -0400 (EDT) Date: Sun, 31 Aug 2025 15:57:12 +0100 From: void To: freebsd-current@freebsd.org Subject: nfsd_server_flags="-h ipaddress" has no effect Message-ID: Mail-Followup-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.146:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4cFFTl21LSz4B75 Hi, On relatively recent -current (main-n278917-233a26b5c5d7 amd64) I was alarmed to find that on a dual-NIC host that if nfsd is enabled with the -h flag set, the port appears open on all NICs and not just the internal facing one. This behaviour is in contrast to rpcbind_flags="-h 192.168.1.100" which when set means rpcbind cannot be seen on the external-facing interface when tested. Is this expected? I would have expected port 2047 to be inaccessible from outside the network if nfsd is bound with -h to an internal-only interface/ip address --