From owner-freebsd-net Wed Nov 8 9:30:21 2000 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 03A6437B479 for ; Wed, 8 Nov 2000 09:30:20 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 13tZ1j-0000II-00; Wed, 08 Nov 2000 10:28:47 -0700 Message-ID: <3A098D4F.C5635D0C@softweyr.com> Date: Wed, 08 Nov 2000 10:28:47 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Garrett Wollman Cc: Thomas Moestl , freebsd-net@FreeBSD.ORG Subject: Re: setting source address for UDP packets References: <20001107214749.A2125@forge.local> <200011072156.QAA87433@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Garrett Wollman wrote: > > < 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