diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-24 16:44:25 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-24 16:44:25 +0000 |
commit | 8ebc0a8f8c0a9a2278534e2c73d1a6f205ee48b2 (patch) | |
tree | 53dec9a0ffb954f12e0d7a8329da8ebf0fe6a1f4 | |
parent | b14f72c0a47518266d43aa22d14bfafd8f870deb (diff) |
Add some notes about privsep to manpage.
ok ho@ jmc@ deraadt@
-rw-r--r-- | sbin/isakmpd/isakmpd.8 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sbin/isakmpd/isakmpd.8 b/sbin/isakmpd/isakmpd.8 index 6a2a42442e9..3ee730bd3ce 100644 --- a/sbin/isakmpd/isakmpd.8 +++ b/sbin/isakmpd/isakmpd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isakmpd.8,v 1.60 2004/01/23 23:08:46 jmc Exp $ +.\" $OpenBSD: isakmpd.8,v 1.61 2004/03/24 16:44:24 hshoexer Exp $ .\" $EOM: isakmpd.8,v 1.23 2000/05/02 00:30:23 niklas Exp $ .\" .\" Copyright (c) 1998, 1999, 2000, 2001 Niklas Hallqvist. @@ -88,6 +88,19 @@ for a simple VPN. For other uses, some more knowledge of IKE as a protocol is required. One source of information are the RFCs mentioned below. .Pp +On startup +.Nm +forks into two processes for privilege separation. +The unprivileged child jails itself with +.Xr chroot 8 +to +.Pa /var/empty . +The privileged process communicates with the child, reads configuration files +and PKI information and binds to privileged ports on its behalf. +See +.Sx CAVEATS +section below. +.Pp The options are as follows: .Bl -tag -width Ds .It Fl 4 | Fl 6 @@ -542,6 +555,11 @@ must be used or the matching will fail. uses the output from .Xr getnameinfo 3 for the address-to-name translation. +The privileged process only allows binding to the default port 500 or +unprivileged ports (>1024). +It is not possible to change the interfaces +.Nm +listens on without a restart. .Sh BUGS The .Fl P |