From owner-freebsd-hackers Wed Aug 7 20:39:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA01009 for hackers-outgoing; Wed, 7 Aug 1996 20:39:10 -0700 (PDT) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA01003 for ; Wed, 7 Aug 1996 20:39:04 -0700 (PDT) Received: (from danny@localhost) by panda.hilink.com.au (8.7.5/8.7.3) id NAA12562; Thu, 8 Aug 1996 13:38:41 +1000 (EST) Date: Thu, 8 Aug 1996 13:38:38 +1000 (EST) From: "Daniel O'Callaghan" To: Joe Greco cc: Julian Elischer , hackers@freebsd.org Subject: Re: please comment on this: In-Reply-To: <199608062116.QAA01260@brasil.moneng.mei.com> 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 Tue, 6 Aug 1996, Joe Greco wrote: > This is a little related, mostly unrelated though.. mostly a crazy idea > about a slightly different way to implement something a little similar. > > I had a little fun when 2.0R first came out. I made a "chrooted" > environment that could "run" on its own, worked very nicely. > > My goal: "virtual servers" on a grand scale.. to be able to have multiple > virtual machines hosted on a single physical machine that appeared to be, > from the net, for all intents and purposes separate machines. > > Of course the easy way to do this was to modify libc's networking layers > to catch "INADDR_ANY" in all the common places and replace it with a > specific IP address, based on which virtual server I was currently "on". > > It actually worked but I never used it for anything :-/ I use it for Virtual WWW servers. Each server space runs in a separate chrooted area, allowing virtual telnet access as well as virtualized httpd and ftpd. I did this almost 2 years ago, before apache etc were about. I simply added a switch to TIS's netacl: -switchbyip to add the receiving IP address to the chrootdir. Danny