🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.kernel
Article #231

Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate

#231
From: Elliott Mitchell
Date: Sat, 24 Oct 2026 02:00
26 lines
2687 bytes
Package: nfs-common
Version: 1:2.8.3-1

The "host=" setting in /etc/nfs.conf isn't fit for the function it needs
to perform.  Of note it doesn't allow binding to multiple addresses.  It
also doesn't allow restricting to binding IPv4-only nor IPv6-only.  In
fact I was unable to get it to restrict IPv6 binding at all.

Multiple addresses is a common configuration.  Disabling IPv4 or IPv6
are also common.

It also appears stopping/starting `/etc/init.d/nfs-kernel-server` appears
to leave old address bindings in place.  If the "host=" setting is added,
then the daemon is restarted it will remain bound to the wildcard
address.

NFS is a service which should be filtered at firewalls, but it should
still be possible to restrict binding as a backup security measure.  I'm
tempted to rate this as pretty high importance.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg@m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
Technical Details
Message-ID: <NRzd7-7vmS-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Elliott Mitchell <ehem+debian@m5p.com>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate
Date: Sat, 24 Oct 2026 04:00:01 +0200
Message-ID: <NRzd7-7vmS-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 24 01:56:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Elliott Mitchell <ehem+debian@m5p.com>, 1151866@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: report 1151866
X-Debian-Pr-Package: nfs-common
X-Debian-Pr-Source: nfs-utils
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998484
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 26
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 23 Oct 2026 18:53:21 -0700
X-Original-Message-ID: <atwPkawUy68vuesl@mattapan.m5p.com.>