From owner-freebsd-security Sat Sep 25 14:59:50 1999 Delivered-To: freebsd-security@freebsd.org Received: from relay2.aha.ru (relay2.aha.ru [195.2.64.35]) by hub.freebsd.org (Postfix) with ESMTP id 2F43C14CE8; Sat, 25 Sep 1999 14:59:38 -0700 (PDT) (envelope-from abb@zenon.net) Received: from pb.hq.zenon.net (pb [195.2.64.18]) by relay2.aha.ru (8.9.3/8.9.3/aha-r/0.04B) with ESMTP id BAA59659; Sun, 26 Sep 1999 01:59:29 +0400 (MSD) Received: from mp.hq.zenon.net (mp [192.168.9.150]) by pb.hq.zenon.net (8.9.3/8.9.3) with ESMTP id BAA86821; Sun, 26 Sep 1999 01:59:29 +0400 (MSD) Received: (from abb@localhost) by mp.hq.zenon.net (8.9.3/8.9.3) id BAA24144; Sun, 26 Sep 1999 01:59:28 +0400 (MSD) Message-ID: <19990926015928.C22850@zenon.net> Date: Sun, 26 Sep 1999 01:59:28 +0400 From: Alexander Bezroutchko To: Poul-Henning Kamp Cc: freebsd-security@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: about jail References: <19990925171712.A80535@zenon.net> <11744.938266471@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <11744.938266471@critter.freebsd.dk>; from Poul-Henning Kamp on Sat, Sep 25, 1999 at 03:34:31PM +0200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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//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-security" in the body of the message