Date: Wed, 08 Nov 2000 10:28:47 -0700 From: Wes Peters <wes@softweyr.com> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Thomas Moestl <tmoestl@gmx.net>, freebsd-net@FreeBSD.ORG Subject: Re: setting source address for UDP packets Message-ID: <3A098D4F.C5635D0C@softweyr.com> References: <20001107214749.A2125@forge.local> <200011072156.QAA87433@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:
> 
> <<On Tue, 7 Nov 2000 21:47:50 +0100, Thomas Moestl <tmoestl@gmx.net> said:
> 
> > is there any way to set the source address of an UDP (over IPv4) packet
> > without using bind() or changing the socket state,
> 
> No.  This is a long-standing bug.  It shouldn't be too hard to fix if
> you're up to a bit of kernel hacking.
sendfrom(2), anyone?
-- 
            "Where am I, and what am I doing in this handbasket?"
Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A098D4F.C5635D0C>
