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



Hi,

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'm running Debian Sarge using a 2.6 686 kernel.

Thanks a lot!


Ofer Shaked.

.



Relevant Pages

  • Re: su in a chrooted envrioment
    ... > For setting up ssh access to a server, i used the Chroot Login HowTo ... > change to the user in the jail. ...
    (comp.os.linux.security)
  • Re: Assigning IP to virtual network interface under chroot() jail.
    ... the chroot() jail won't know about the existance of this IP address. ... the same server. ... I believe that the chrootconcept pertains to filesystem access, ...
    (comp.os.linux.networking)
  • Re: su in a chrooted envrioment
    ... > For setting up ssh access to a server, i used the Chroot Login HowTo ... > change to the user in the jail. ... entries, do you really need this file? ...
    (comp.os.linux.security)
  • RE: Future development of Jail (was Re: corporate backers of freebsd)
    ... apparently never run the Microsot authentication server. ... have your answer as to why jail is a dead-end. ... Actually, somebody was paying the jail developer, and then ... FreeBSD server in a commercial corporate network over 13 years ago. ...
    (freebsd-questions)
  • Re: disk image creation & restauration
    ... I have been running UNIX only since ... Furthermore, with chroot, you ... > the nfs file server. ... Installation of some security tools and software tools ...
    (comp.os.linux.networking)