Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 1999 01:59:28 +0400
From:      Alexander Bezroutchko <abb@zenon.net>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        freebsd-security@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: about jail
Message-ID:  <19990926015928.C22850@zenon.net>
In-Reply-To: <11744.938266471@critter.freebsd.dk>; from Poul-Henning Kamp on Sat, Sep 25, 1999 at 03:34:31PM %2B0200
References:  <19990925171712.A80535@zenon.net> <11744.938266471@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 127.0.0.1 is mapped to the jail address.  telnet localhost does what
> you'd expect it to.

but bind() to 127.0.0.1 fails ;(

> It's called "p_prison->pr_host" and it was there from day #1.
> 
> > And 
> > /proc/<PID>/status must show this value. 
> 
> It already does.

.......................................
vm1# cat /proc/$$/status 
zsh 480 479 479 440 5,2 ctty 938282449,544330 0,55195 0,55194 pause 0 0 0,0,0,2,3,4,5,20,31 vm1
                                                                                            ^^^^
vm1# hostname qwerty  
              ^^^^^^
vm1# cat /proc/$$/status
zsh 480 479 479 440 5,2 ctty 938282449,544330 0,72515 0,56401 pause 0 0 0,0,0,2,3,4,5,20,31 qwerty
                                                                                            ^^^^^^^
vm1# uname -a
FreeBSD qwerty 4.0-19990918-CURRENT FreeBSD 4.0-19990918-CURRENT #0: Sat Sep 25 18:18:50 MSD 1999
               ^^^^^^^^^^^^^^^^^^^^
vm1# 
.......................................

-- 
    Alexander Bezroutchko, Systems Administrator, Zenon N.S.P.



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




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