From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 18 03:00:39 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B3DE16A402 for ; Tue, 18 Apr 2006 03:00:39 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDC9543D45 for ; Tue, 18 Apr 2006 03:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3I30cpM005312 for ; Tue, 18 Apr 2006 03:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3I30cor005311; Tue, 18 Apr 2006 03:00:38 GMT (envelope-from gnats) Date: Tue, 18 Apr 2006 03:00:38 GMT Message-Id: <200604180300.k3I30cor005311@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Cheng-Lung Sung Cc: Subject: Re: kern/84215: [jail] [patch] wildcard ip (INADDR_ANY) should not bind inside a jail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cheng-Lung Sung List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 03:00:39 -0000 The following reply was made to PR kern/84215; it has been noted by GNATS. From: Cheng-Lung Sung To: bug-followup@FreeBSD.org, frank@pinky.sax.de Cc: rwatson@FreeBSD.org Subject: Re: kern/84215: [jail] [patch] wildcard ip (INADDR_ANY) should not bind inside a jail Date: Tue, 18 Apr 2006 10:51:10 +0800 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=big5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've tested it, and found sshd doesn't work on this patch Do you have any idea of it? Here is my experiment on the patch. Host: w/o specify ListenAddress, sshd will bind to all ip (include jails) w/ specify ListenAddress, sshd will bind to only specified ip Jail: doesn't matter if ListenAddress specified. Normally, I tested with 'w/o specify ListenAddress', then ssh to Jail will indeed ssh to Host. When I turn net.inet.ip.bindwildcardtojails off (1 -> 0) ssh to Jail should in need ssh to Jail, but failed. --=20 Cheng-Lung Sung - clsung@ --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFERFQd+AeJ85Vui8ERAkDCAJwP5E3jiC7uiDxWZLRAkmQTMDTEdQCdEFjn EJpDiRJ9SiYgcipEG01GLso= =bQdN -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--