summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2004-06-01 00:25:44 +0000
committercsjp <csjp@FreeBSD.org>2004-06-01 00:25:44 +0000
commit2a8b55a029fadb5f6d6605a952685d59e4b92c69 (patch)
tree9ba8cc7d4a0ade2b5b73ea348a92a1479c64a782 /usr.sbin/jail
parentd8ee4c34cbedc1a3db6a106c6cb85df9970e48ba (diff)
downloadFreeBSD-src-2a8b55a029fadb5f6d6605a952685d59e4b92c69.zip
FreeBSD-src-2a8b55a029fadb5f6d6605a952685d59e4b92c69.tar.gz
Add a warning note to security.jail.allow_raw_sockets
about the risks of enabling raw sockets in prisons. Because raw sockets can be used to configure and interact with various network subsystems, extra caution should be used where privileged access to jails is given out to untrusted parties. As such, by default this option is disabled. A few others and I are currently auditing the kernel source code to ensure that the use of raw sockets by privledged prison users is safe. Approved by: bmilekic (mentor)
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r--usr.sbin/jail/jail.85
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 53544f1..09c4a63 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -419,7 +419,10 @@ is set, the source IP addresses are enforced to comply
with the IP address bound to the jail, regardless of whether or not
the
.Dv IP_HDRINCL
-flag has been set on the socket.
+flag has been set on the socket. Because raw sockets can be used to configure
+and interact with various network subsystems, extra caution should be used
+where privileged access to jails is given out to untrusted parties. As such,
+by default this option is disabled.
.It Va security.jail.getfsstatroot_only
This MIB entry determines whether or not processes within a jail are able
to see data for all mountpoints.
OpenPOWER on IntegriCloud