From owner-freebsd-hackers Tue Aug 18 11:54:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06672 for freebsd-hackers-outgoing; Tue, 18 Aug 1998 11:54:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spooky.rwwa.com (rwwa.com [198.115.177.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06659 for ; Tue, 18 Aug 1998 11:54:13 -0700 (PDT) (envelope-from witr@rwwa.com) Received: from spooky.rwwa.com (localhost.rwwa.com [127.0.0.1]) by spooky.rwwa.com (8.8.7/8.8.7) with ESMTP id OAA21569; Tue, 18 Aug 1998 14:54:34 -0400 (EDT) (envelope-from witr@rwwa.com) Message-Id: <199808181854.OAA21569@spooky.rwwa.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nick Hibma cc: FreeBSD hackers mailing list Subject: Re: kern/2858: FreeBSD NFS client can't mount filesystem from dual-homed machine In-reply-to: Your message of "Tue, 18 Aug 1998 18:15:43 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Aug 1998 14:54:34 -0400 From: Robert Withrow Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG nick.hibma@jrc.it said: :- The problem is that the client sends a request to the 'far' address :- but gets an answer from the 'nearby' address and waits indefinitely :- for an answer. I think this is a bug, but not with FreeBSD. I'm guessing that host A is a Sun system, or something like it, right? It is a *security* problem to accept the response from a different IP address than the one you sent it to, otherwise someone could sniff and masquerade as the NFS server. I think it a *bug* for the server to respond with the "near" address, and I think it would be a *bug* to accept this bogus address by default. Anyway, I overcame this problem (using automount) by specifying the "noconn" mount flag, as in: /defaults opts:=nosuid,grpid,rsize=8192,wsize=8192,noconn,rw,hard,intr; Try that. --------------------------------------------------------------------- Robert Withrow, R.W. Withrow Associates, Swampscott MA, witr@rwwa.COM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message