Date: Thu, 10 Sep 1998 11:22:28 -0500 From: Andy Angrick <angrick@netdirect.net> To: "Robert Adams" <radams@siscom.net> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Chroot + Freebsd Message-ID: <1.5.4.32.19980910162228.0082f248@netdirect.net>
next in thread | raw e-mail | index | archive | help
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 <dev@wopr.inetu.net> >To: Robert Adams <radams@siscom.net> >Cc: freebsd-isp@FreeBSD.ORG <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1.5.4.32.19980910162228.0082f248>