From owner-freebsd-bugs Thu Sep 9 20: 8:43 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 2F76C14D00 for ; Thu, 9 Sep 1999 20:08:41 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id XAA23880; Thu, 9 Sep 1999 23:08:30 -0400 (EDT) (envelope-from wollman) Date: Thu, 9 Sep 1999 23:08:30 -0400 (EDT) From: Garrett Wollman Message-Id: <199909100308.XAA23880@khavrinen.lcs.mit.edu> To: Bill Fenner Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/13049: [PATCH] NFS replies with incorrect source IP In-Reply-To: <199909100140.SAA37290@freefall.freebsd.org> References: <199909100140.SAA37290@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < 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 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