Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 1997 09:32:31 -0800 (PST)
From:      gilham@csl.sri.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/2858: FreeBSD NFS client can't mount filesystem from dual-homed machine
Message-ID:  <199703031732.JAA15264@freefall.freebsd.org>
Resent-Message-ID: <199703031740.JAA15890@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2858
>Category:       kern
>Synopsis:       FreeBSD NFS client can't mount filesystem from dual-homed machine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar  3 09:40:01 PST 1997
>Last-Modified:
>Originator:     Fred Gilham
>Organization:
SRI International
>Release:        2.2-GAMMA
>Environment:
FreeBSD japonica.csl.sri.com 2.2-970205-GAMMA FreeBSD 2.2-970205-GAMMA #4: Mon Mar  3 08:10:42 PST 1997     gilham@japonica.csl.sri.com:/usr/src/sys/compile/JAPONICA  i386

>Description:
If a FreeBSD NFS client tries to mount a filesystem from a multi-homed
NFS server, if it uses the `remoter' of the two addresses it will hang.
That's because the server will reply from the nearer of the two addresses
and the client will return an ICMP port-unreachable error.

You may be able to ^C out of the attempted mount but eventually the
machine will become unresponsive.

This occurs in a slightly different form in 2.1.7.  The mount seems
to succeed but you can't access the remote directory.  I'm waiting to
see if the 2.1.7 client dies. :-)

This DOES NOT happen with a Solaris 2 or SunOS 4 client.
>How-To-Repeat:
>From FreeBSD NFS client, try to mount FS from multi-homed
server:

mount <IP of nearer interface>:/<filesystem> /mnt

This will succeed.  Unmount it, then

mount <IP of remoter interface>:/<filesystem> /mnt

This will hang and eventually your machine will hang.  (You may be
able to ^C out of the mount, but eventually the machine will stop
responding.)

>Fix:
Not known.  There was a patch I got some time ago from Terry Lambert that
was supposed to defeat the anti-spoofing code in /sys/nfs/nfs_subr.c but
it didn't help.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703031732.JAA15264>