Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 1999 23:08:30 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Bill Fenner <fenner@research.att.com>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/13049: [PATCH] NFS replies with incorrect source IP
Message-ID:  <199909100308.XAA23880@khavrinen.lcs.mit.edu>
In-Reply-To: <199909100140.SAA37290@freefall.freebsd.org>
References:  <199909100140.SAA37290@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 9 Sep 1999 18:40:02 -0700 (PDT), Bill Fenner <fenner@research.att.com> said:

>  Can't it use IP_RECVDSTADDR?
 
[...]

>  You could rebind the socket before & after sending each reply.  That's
>  probably a high enough overhead that multiple sockets is the right way
>  to go anyway.
 
Actually, the real Right Thing for all such cases is to fix the broken
API so that datagram-oriented applications can specify the entire UDP
address tuple <shost,sport,dhost,dport> concurrently with sending the
packet.  Probably something along the lines of IP_HDRINCL is best
(which would be in keeping with the ALF concept).

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


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?199909100308.XAA23880>