kern/84215: [jail] [patch] wildcard ip (INADDR_ANY) should not
bind inside a jail
clsung at FreeBSD.org
Tue Apr 18 03:00:39 UTC 2006
The following reply was made to PR kern/84215; it has been noted by GNATS.
From: Cheng-Lung Sung <clsung at FreeBSD.org>
To: bug-followup at FreeBSD.org, frank at pinky.sax.de
Cc: rwatson at 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
Content-Type: text/plain; charset=big5
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.
w/o specify ListenAddress, sshd will bind to all ip (include jails)
w/ specify ListenAddress, sshd will bind to only specified ip
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.
Cheng-Lung Sung - clsung@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the freebsd-bugs