Great Circle Associates Firewalls
(April 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: (slightly off-topic) chrooted enviroment
From: Bob Beck <beck @ obtuse . com>
Date: Thu, 17 Apr 1997 10:45:12 -0600 (MDT)
To: eric @ europa . glo . be (Eric)
Cc: firewalls @ GreatCircle . COM
In-reply-to: <Pine . LNX . 3 . 95 . 970416183030 . 24538A-100000 @ europa . glo . be> from "Eric" at Apr 16, 97 06:40:42 pm

> 
> Hi folks,
> 
> A while ago, there where some mails about telnetting to a chrooted
> enviroment on a UNIX box. It's more of an experiment. I have two
> questions:
> - Can I somehow block outgoing traffic from the chrooted enviroment? My
> machine is part of a trusted network. So i don't want the users from the
> 'box' to be able to have the same privileges. First I tought to patch
> telnet en make it broadcast the ip of my virtual interface instead of the
> real one. However, this wouldn't do any good as recompiling telnet would
> solve the problem.
> 
> - How can i get ps to work? I was able to mount /proc twice, once in the
> normal and one in the chrooted enviroment. However as /proc is not a
> normal filesystem and contains the cwd of each process (thus also of the
> ones outside the chrooted enviroment) I fear that a hacker might break
> trough.


	When I have done this it has always been where the users in the 
chrooted hole all have a very silly little shell that doesn't let them 
do much. Ususally I do this to turn a favorite telnet daemon into a 
non-transparent telnet proxy, so all that's required is that my users 
connect to a "few" other machines. I use our "bounce" program for that. 

	In order to look at this at all, what sort of functionality
are you trying to provide to the people logging in via this mechanism?
If it's close to "full machine" capability you might be better off
just making a single bastion host for this function rather than 
chrooting it on a machine that has other function.

	-Bob


References:
Indexed By Date Previous: Re: tcpwrappers
From: "Daniel G. Drumm" <dgd @ nebula . is . rpslmc . edu>
Next: Re: SQL*Net Proxy
From: "Brian W. McKenney" <mckenney @ mitre . org>
Indexed By Thread Previous: (slightly off-topic) chrooted enviroment
From: Eric <eric @ europa . glo . be>
Next: Re: Can firwalls handle MBONE traffic
From: "M Gillett" <mgillett @ sghms . ac . uk>

Google
 
Search Internet Search www.greatcircle.com