From owner-freebsd-bugs Thu May 28 09:14:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04191 for freebsd-bugs-outgoing; Thu, 28 May 1998 09:14:23 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from heron.doc.ic.ac.uk (7WsfBwSPDl9GU2GDeTb5qRFAgIpKZi0T@heron.doc.ic.ac.uk [146.169.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA04168 for ; Thu, 28 May 1998 09:14:18 -0700 (PDT) (envelope-from njs3@doc.ic.ac.uk) Received: from oak66.doc.ic.ac.uk [146.169.33.66] ([TId1xFAIYSGzIvFFw2lGngsXbFJoqmVK]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0yf5Jd-0007ht-00; Thu, 28 May 1998 17:14:05 +0100 Received: from njs3 by oak66.doc.ic.ac.uk with local (Exim 1.62 #3) id 0yf5Jc-0002IG-00; Thu, 28 May 1998 17:14:04 +0100 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Thu, 28 May 1998 17:14:04 +0100 In-Reply-To: Max Euston "RE: kern/6774: bind(3)/libc improvement" (May 28, 12:09pm) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Max Euston , "'Niall Smart'" , "freebsd-bugs@FreeBSD.ORG" Subject: RE: kern/6774: bind(3)/libc improvement Message-Id: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On May 28, 12:09pm, Max Euston wrote: } Subject: RE: kern/6774: bind(3)/libc improvement > On Thursday, May 28, 1998 11:58 AM, Niall Smart [SMTP:njs3@doc.ic.ac.uk] > wrote: > > On May 28, 9:50am, Max Euston wrote: > [snip] > > > I haven't used it, but man inetd says: > > > > > > -a Specify a specific IP address to bind to. > > > > Hrm, wasn't aware of that, I think a better way is to specify for each > > service which addresses it should listen on. Perhaps you could do > > this using multiple inetd's and configuration files, but thats messy. > > Then again, changing inetd.conf's syntax isn't exactly desirable either, > > probably. > > I agree, multiple inetd & inetd.conf files could be messy, but I wanted to > do this on a "gateway" machine to allow only certain services on certain > interfaces (I currently use ipfw, but the rules can get to be a little > complex). If I find any elegant solutions, I will let you know. Well, the elegant solution seems to be to supplement inetd.conf's syntax to support specifying which address to bind to. Are you using ipfw to prevent packets recieved on one interface from being passed to a service bound on another interface? Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message