From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 06:30:09 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 254661065670 for ; Mon, 14 Dec 2009 06:30:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id A8C538FC0A for ; Mon, 14 Dec 2009 06:30:08 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 200B041C75B; Mon, 14 Dec 2009 07:30:07 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 4Yv8GT1kIf0O; Mon, 14 Dec 2009 07:30:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 0013D41C759; Mon, 14 Dec 2009 07:30:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1EB174448EC; Mon, 14 Dec 2009 06:27:25 +0000 (UTC) Date: Mon, 14 Dec 2009 06:27:24 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Nathan Butcher In-Reply-To: <4B25CE74.8070700@fusiongol.com> Message-ID: <20091214062601.E86040@maildrop.int.zabbadoz.net> References: <20091214005717.20D6E10657A8@hub.freebsd.org> <4B25CE74.8070700@fusiongol.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Jails working differently in FreeBSD-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 06:30:09 -0000 On Mon, 14 Dec 2009, Nathan Butcher wrote: > Jails appear to be working differently in 8.0 compared with 7.x (due to > the networking changes in 8 most likely). > > Anyway, I've created a jail in 8.0 and given it it's own IPv4 IP > address. Problem is, when I attempt to SSH to this jail IP address, I'm > arriving in the host environment, and not the jailed environment. > > In 7.x I would have landed inside the jail.... so what's going on in 8? > Hopefully someone who has already solved this issue can help me out a bit. It may sound silly but can you confirm that sshd is running inside the jail? Also, how did you start the jail? jls -av output might be interesting. /bz PS: there is a freebsd-jail list as well. -- Bjoern A. Zeeb It will not break if you know what you are doing.