| Summary: | NFS can't handle asymmetric server routing | ||
|---|---|---|---|
| Product: | Base System | Reporter: | peter.jeremy <peter.jeremy> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.0-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
peter.jeremy
2000-11-04 01:30:01 UTC
On Sat, Nov 04, 2000 at 12:28:21PM +1100, Peter Jeremy wrote:
> Unknown. The client is correct to reject the packets from an
> (unknown) server. The server should be using a source address
> that matches the address that the client requested to mount.
I think you can fix this by using the -h option in nfsd. For each
address you want to do UDP based serving on give a -h option. For
example we use something like:
nfsd -u -t -n 4 -a -h 10.0.1.1 -h 10.0.2.1
for a machine that does NFS on two different ethernet cards.
David.
State Changed From-To: open->feedback Any luck with the -h option to nfsd? David. State Changed From-To: feedback->closed Feedback timeout (12 months). 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. Eric -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology Attitudes are contagious, is yours worth catching? ------------------------------------------------------------------ |