Re: Assigning IP to virtual network interface under chroot() jail.



<latin0511@xxxxxxxxx> wrote in message
news:1157043708.918843.168020@xxxxxxxxxxxxxxxxxxxxxxxxxxxx

My server comes with 5 IPs, and I want to use one of these IPs inside
a chroot() jail. Actually, I'll be very happy if the system "behind"
the chroot() jail won't know about the existance of this IP address.

The purpose of all of this is to run 2 identical services (e.g. 2
APACHEs, 2 SSHDs, etc..) on the same port, on different IPs, but on
the same server. One will run from inside the chroot() jail, and the
other one will run from an other chroot() jail, or maybe from the main
server.

Is there any possible way of doing that?

I believe that the chroot() concept pertains to filesystem access, not
interface access.

.



Relevant Pages

  • Re: FTP guest access chroot not working
    ... the "root" dir for the chroot is /home/someguy/ftp ... # chroot ftp users ... cannot get out of that jail. ... if you created a symlink inside the jail that points to some real ...
    (comp.unix.sco.misc)
  • Re: /devices jailbreak
    ... however as duplicating device special files does /not/ ... processes in a chroot env will ... duplicates in the chrootjail ultimately lead to the same actual ... But that path will be in the chrootjail, as far as the jailed process ...
    (comp.unix.solaris)
  • Re: /devices jailbreak
    ... processes in a chroot env will ... outside the chroot environment will of course report the device paths ... within the jail as a normal user with the restricted Korn ... directory tree, as expected, except for a couple /devices files ...
    (comp.unix.solaris)
  • Assigning IP to virtual network interface under chroot() jail.
    ... My server comes with 5 IPs, and I want to use one of these IPs inside a ... chroot() jail won't know about the existance of this IP address. ... same server. ...
    (comp.os.linux.networking)
  • Re: /devices jailbreak
    ... however as duplicating device special files does /not/ ... processes in a chroot env will ... duplicates in the chrootjail ultimately lead to the same actual ... But that path will be in the chrootjail, as far as the jailed process ...
    (comp.unix.solaris)