aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2009-01-06 18:10:17 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2009-01-06 18:10:17 +0000
commit73de1e839517c66fc2de06772a34c32780da7c8c (patch)
treef7d5603c4620cda72261aa1cf3f51b48e8602fb5
parent789c4b9d0838adbee43474bc96a77a06e15180c7 (diff)
downloadsrc-73de1e839517c66fc2de06772a34c32780da7c8c.tar.gz
src-73de1e839517c66fc2de06772a34c32780da7c8c.zip
Document the special loopback address behaviour of jails.
PR: kern/103464 Submitted by: brueffer (correct markup) Reviewed by: brueffer MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=186834
-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 f7b39127d9ea..cdf89dc5cee0 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 :