Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 23:27:41 -0500
From:      "Dave VanAuken" <dave@hawk-systems.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   chrooting ftp/telnet/ssh connections based on ip address requested
Message-ID:  <DBEIKNMKGOBGNDHAAKGNOEBOCNAA.dave@hawk-systems.com>
In-Reply-To: <01011019005201.67997@galaxy.anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
based on the domain name accessing the server(or IP address) how can
we capture and chroot the user to the appropriate directory tree

initial thoughts are having inetd dump all requests on the appropriate
port to a shell script which would determine the requested addr and
chroot the shell or ftpd from there to the appropriate tree...

rather than reinventing the wheel, are there any well documented
examples along this line?  Particularly for telnet and ftp (without
having to install custom ftp applications).

(no "man jail" answers please)

thx

Dave




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNOEBOCNAA.dave>