summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-01-06 18:10:17 +0000
committerbz <bz@FreeBSD.org>2009-01-06 18:10:17 +0000
commit70a64271403346b8f0539dcd9adf71e2d401d5b7 (patch)
treef7d5603c4620cda72261aa1cf3f51b48e8602fb5 /lib
parent4d7a485a5266b1987891fc4cd20902fc96d1a88a (diff)
downloadFreeBSD-src-70a64271403346b8f0539dcd9adf71e2d401d5b7.zip
FreeBSD-src-70a64271403346b8f0539dcd9adf71e2d401d5b7.tar.gz
Document the special loopback address behaviour of jails.
PR: kern/103464 Submitted by: brueffer (correct markup) Reviewed by: brueffer MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/jail.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index f7b3912..cdf89dc 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -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/<pid>/status :
OpenPOWER on IntegriCloud