Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 08:04:11 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/22594: NFS can't handle asymmetric server routing
Message-ID:  <3E71E15B.9010302@centtech.com>
References:  <200303112307.aa08677@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Dowse wrote:
> In message <200303112250.h2BMo7IJ056143@freefall.freebsd.org>, Eric Anderson wr
> ites:
> 
>>This fix works for the NFS server side, but from the client side, there 
>>is no way (that I know of) that allows you to allow this behavior.  In 
>>other words, if I have a Solaris NFS server (that incorrectly responds 
>>on a different interface with the wrong source address), my FreeBSD NFS 
>>client hangs.  I have submitted a PR for this long ago, and was told 
>>"too bad - they didn't follow the specs", but the reality is that the 
>>FreeBSD mount command (and amd for that matter) should have a bypass to 
>>say "I don't care if it comes back from a different source address, take 
>>it anyway" - so it will work.  I know it is a security risk, but I 
>>should be able to enable that if I'd like.
>>
>>This PR should be re-opened.
> 
> 
> The "-c" option to mount_nfs should do what you want - does this
> work for you? I'm not sure if there's a way to do this for amd,
> though on a recent (less than 6 weeks old) -STABLE you cound try
> setting the sysctl variable `vfs.nfs.nfs_ip_paranoia' to 0.

I don't know of any way to apply that (-c) to amd.  Is there one?  I'll 
try the paranoia tweak - when was that added?  Does 4.8-RC1 have it?

Eric


-- 
------------------------------------------------------------------
Eric Anderson	   Systems Administrator      Centaur Technology
Attitudes are contagious, is yours worth catching?
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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