From owner-svn-src-all@FreeBSD.ORG Tue Jan 6 18:10:17 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915AB1065773; Tue, 6 Jan 2009 18:10:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC328FC22; Tue, 6 Jan 2009 18:10:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n06IAHfP038207; Tue, 6 Jan 2009 18:10:17 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n06IAH3c038206; Tue, 6 Jan 2009 18:10:17 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200901061810.n06IAH3c038206@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Tue, 6 Jan 2009 18:10:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186834 - head/lib/libc/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 18:10:18 -0000 Author: bz Date: Tue Jan 6 18:10:17 2009 New Revision: 186834 URL: http://svn.freebsd.org/changeset/base/186834 Log: Document the special loopback address behaviour of jails. PR: kern/103464 Submitted by: brueffer (correct markup) Reviewed by: brueffer MFC after: 2 weeks Modified: head/lib/libc/sys/jail.2 Modified: head/lib/libc/sys/jail.2 ============================================================================== --- head/lib/libc/sys/jail.2 Tue Jan 6 17:23:37 2009 (r186833) +++ head/lib/libc/sys/jail.2 Tue Jan 6 18:10:17 2009 (r186834) @@ -8,7 +8,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 29, 2008 +.Dd January 6, 2009 .Dt JAIL 2 .Os .Sh NAME @@ -118,6 +118,12 @@ or, if present, the per-jail .Pp All IP activity will be forced to happen to/from the IP number specified, which should be an alias on one of the network interfaces. +All connections to/from the loopback address +.Pf ( Li 127.0.0.1 +for IPv4, +.Li ::1 +for IPv6) will be changed to be to/from the primary address +of the jail for the given address family. .Pp It is possible to identify a process as jailed by examining .Dq Li /proc//status :