From owner-freebsd-hackers Wed Aug 27 16:01:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA16070 for hackers-outgoing; Wed, 27 Aug 1997 16:01:08 -0700 (PDT) Received: from webfarm1.whistle.com (webfarm1.whistle.com [207.76.204.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA16058 for ; Wed, 27 Aug 1997 16:01:01 -0700 (PDT) Received: from alpo.whistle.com (alpo.isp.whistle.com [207.76.204.38]) by webfarm1.whistle.com (8.8.5/8.8.5) with ESMTP id PAA25234 for ; Wed, 27 Aug 1997 15:59:35 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id PAA28392; Wed, 27 Aug 1997 15:42:32 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd028390; Wed Aug 27 22:42:31 1997 Message-ID: <3404AD4C.31D2DE92@whistle.com> Date: Wed, 27 Aug 1997 15:42:20 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Aled Morris CC: "Louis A. Mamakos" , hackers@FreeBSD.ORG Subject: Re: UDP "to" address? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Aled Morris wrote: > > On Tue, 26 Aug 1997, Louis A. Mamakos wrote: > > > Typically, a portable approach to doing this is to create a socket > > per interface address and bind it. Then you look at which fd the > > packet was received on to determine the destination address. > > That sounds like the best way - unfortunately, I'm currently using inetd, > so I'll have to do a bit more work... > > you can make inetd bind to a particular address. (we run multiple inetds each providing services for one interface. thus what services are provided are dependent on what interace you attach to.. ipfw stops people from going through th machine to reach an interface they are not attached to.