From owner-freebsd-isp Thu Sep 10 09:19:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27638 for freebsd-isp-outgoing; Thu, 10 Sep 1998 09:19:22 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mail.netdirect.net (mail.netdirect.net [204.120.164.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27624 for ; Thu, 10 Sep 1998 09:19:20 -0700 (PDT) (envelope-from angrick@netdirect.net) Received: from fdc7.infostrm.com ([209.212.205.13]) by mail.netdirect.net (8.9.0/8.9.0) with SMTP id LAA26021; Thu, 10 Sep 1998 11:19:09 -0500 (EST) Message-Id: <1.5.4.32.19980910162228.0082f248@netdirect.net> X-Sender: angrick@netdirect.net X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 10 Sep 1998 11:22:28 -0500 To: "Robert Adams" From: Andy Angrick Subject: Re: Chroot + Freebsd Cc: freebsd-isp@FreeBSD.ORG Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, I just stole the ideas and programs from someone who was doing it for Linux. It works basically the same other than the ip aliasing. It appears to be easier to do with fbsd than it is w/ linux. I found the c source for a program called 'virtuald'. The program is place in the inetd.conf file to manage the virtual server tasks. It finds the appropriate directory for the incoming ip address from a config file, chroots to that directory, and then runs the appropriate program. There was a shell script call 'virtfs' that copies the required files over to the new virtual directory structure. This script needs a lot of tweaking which I haven't done yet. The last thing is a script that will virtual execute a command on the console. This is for doing such tasks as 'adduser'. I'm just playing around with it right now but I've been able to successfully get 2 virtual servers running. At 10:50 AM 9/10/98 -0400, you wrote: >Dev, > > You doing the virtual server on fbsd? > >-j > >--- >Robert J. Adams radams@siscom.net http://www.siscom.net >Looking to outsource news? http://www.newshosting.com >SISCOM Network Administration - President, SISCOM Inc. >Phone: 888-4-SISCOM 937-222-8150 FAX: 937-222-8153 > >-----Original Message----- >From: Dev >To: Robert Adams >Cc: freebsd-isp@FreeBSD.ORG >Date: Thursday, September 10, 1998 10:03 AM >Subject: Re: Chroot + Freebsd > > >>www.inetu.net click on products then on virtual >>server. >> >>Dev Chanchani - INetU, Inc.(tm) - http://www.INetU.net >> Electronic commerce - Web development - Web hosting >> dev@INetU.net - Phone: (610) 266-7441 >> >>On Wed, 9 Sep 1998, Robert Adams wrote: >> >>> Hello all, >>> >>> Was wondering is anything is running chroot'ed virtual servers.. we >are >>> thinking of moving all our vitual servers into a virtual environment so >that >>> they each have there own little system going on..then using something >like >>> xinetd to all the servers for each.. anyone done this? >>> >>> -Jason >>> >>> >>> --- >>> Robert J. Adams radams@siscom.net http://www.siscom.net >>> Looking to outsource news? http://www.newshosting.com >>> SISCOM Network Administration - President, SISCOM Inc. >>> Phone: 888-4-SISCOM 937-222-8150 FAX: 937-222-8153 >>> >>> >>> >>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>> with "unsubscribe freebsd-isp" in the body of the message >>> >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-isp" in the body of the message >> > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message