From owner-freebsd-bugs Mon Mar 3 09:40:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15920 for bugs-outgoing; Mon, 3 Mar 1997 09:40:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15890; Mon, 3 Mar 1997 09:40:03 -0800 (PST) Resent-Date: Mon, 3 Mar 1997 09:40:03 -0800 (PST) Resent-Message-Id: <199703031740.JAA15890@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:(from nobody@localhost) by.freefall.freebsd.org.id.JAA15264;Mon; (8.8.5/8.8.5);, 3 Mar 1997 09:32:31.-0800 (PST) Message-Id: <199703031732.JAA15264@freefall.freebsd.org> Date: Mon, 3 Mar 1997 09:32:31 -0800 (PST) From: gilham@csl.sri.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/2858: FreeBSD NFS client can't mount filesystem from dual-homed machine Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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 :/ /mnt This will succeed. Unmount it, then mount :/ /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: