From owner-freebsd-hackers Thu Jan 7 07:49:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA00388 for freebsd-hackers-outgoing; Thu, 7 Jan 1999 07:49:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles337.castles.com [208.214.167.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00383 for ; Thu, 7 Jan 1999 07:49:49 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id HAA03218; Thu, 7 Jan 1999 07:46:20 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901071546.HAA03218@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Milan Kopacka cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Specifying local IP in connect() In-reply-to: Your message of "Thu, 07 Jan 1999 12:29:35 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Jan 1999 07:46:20 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > However, the rest remained. I still need to open connections from IP x > which my system regulerly doesn't have while still being able to > communicate with machine x. From my point of view, the specified > information (local IP) only moves to other call. This is a bad idea. Originating traffic which won't necessarily be routed back to you, and more to the point asking the system to *expect* it to be routed back to you doesn't seem to be the right way to do this. I appreciate that you're doing this as an academic exercise, however I have to ask whether you've considered the fact that what you're trying to do is largely already performed by the ipfw 'trapdoor' functionality? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message