Skip site navigation (1)Skip section navigation (2)
Date:      	Mon, 11 Nov 1996 01:14:40 -0800 (PST)
From:      Tom Samplonius <tom@sdf.com>
To:        Julian Assange <proff@suburbia.net>
Cc:        julian@whistle.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: virtual hosting with inetd
Message-ID:  <Pine.NEB.3.94.961111010311.22333C-100000@misery.sdf.com>
In-Reply-To: <199611110804.TAA21549@suburbia.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.94.961111010311.22333C-100000>