From owner-freebsd-hackers Mon Nov 11 00:45:00 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA00434 for hackers-outgoing; Mon, 11 Nov 1996 00:45:00 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA00422 for ; Mon, 11 Nov 1996 00:44:56 -0800 (PST) Received: from misery.sdf.com ([204.244.213.33]) by misery.sdf.com with SMTP id <1283-3087>; Mon, 11 Nov 1996 01:14:56 -0800 Date: Mon, 11 Nov 1996 01:14:40 -0800 (PST) From: Tom Samplonius To: Julian Assange cc: julian@whistle.com, freebsd-hackers@FreeBSD.ORG Subject: Re: virtual hosting with inetd In-Reply-To: <199611110804.TAA21549@suburbia.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 11 Nov 1996, Julian Assange wrote: > > On Mon, 11 Nov 1996, Julian Assange wrote: > > > > > The xnited in ports doesn't do virtual hosting. At least not that I > > > could see. > > > > Yes, it does. Look at the "interface" directive in the man page. > > > > Tom > > It isn't in the man page (checked again). However it is in the source. > However, I don't like it much. > > o doesn't handle hostnames > o doesn't handle multi-homed host names I don't think you want this. Hostname lookups for 200 hostnames could take a while, especially if DNS is down. Imagine long delays when no connections are accepted while re-loading the config file. > o entirely new record has to be created for every service on > every interface! > o everything has to be in the one file. administration nightmare. > say you are running 200 virtual servers with 4 services each > = around 6400 xinetd lines. and grep won't work on it. > o uses bloated multi-line-per-service xinetd config style ;) The config format is flexible, and allows each service to be different. 6400 lines isn't that much. I'd be trival to make a script to generate the entire file from a template and list of hostnames. This way the script could go do the DNS lookups. Also, an average xinetd config entry is not even close to 32 lines (32*200=6400), in fact I don't think it possible to have an entry that long. > -- > "Of all tyrannies a tyranny sincerely exercised for the good of its victims > may be the most oppressive. It may be better to live under robber barons > than under omnipotent moral busybodies, The robber baron's cruelty may > sometimes sleep, his cupidity may at some point be satiated; but those who > torment us for own good will torment us without end, for they do so with > the approval of their own conscience." - C.S. Lewis, _God in the Dock_ > +---------------------+--------------------+----------------------------------+ > |Julian Assange RSO | PO Box 2031 BARKER | Secret Analytic Guy Union | > |proff@suburbia.net | VIC 3122 AUSTRALIA | finger for PGP key hash ID = | > |proff@gnu.ai.mit.edu | FAX +61-3-98199066 | C7F81C2AA32D7D4E4D360A2ED2098E0D | > +---------------------+--------------------+----------------------------------+ > Tom