.\" $OpenBSD: isakmpd.8,v 1.16 2000/02/01 02:46:18 niklas Exp $ .\" $EOM: isakmpd.8,v 1.19 2000/01/31 22:33:46 niklas Exp $ .\" .\" Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. .\" Copyright (c) 1999 Angelos D. Keromytis. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by Ericsson Radio Systems. .\" 4. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" This code was written under funding by Ericsson Radio Systems. .\" .\" Manual page, using -mandoc macros .\" .Dd July 31, 1998 .Dt ISAKMPD 8 .Os .Sh NAME .Nm isakmpd .Nd ISAKMP/Oakley aka IKE key management daemon .Sh SYNOPSIS .Nm isakmpd .Op Fl c Ar config-file .Op Fl d .Op Fl D Ar debug-class=level .Op Fl f Ar fifo .Op Fl n .Op Fl p Ar listen-port .Op Fl P Ar local-port .Op Fl r Ar seed .Op Fl R Ar report-file .Sh DESCRIPTION The .Nm daemon establishes security associations for encrypted and/or authenticated network traffic. .Pp The daemon listens to a named pipe .Pa isakmpd.fifo for user requests and on a .Dv PF_ENCAP socket for kernel requests. .Pp The options are as follows: .Bl -tag -width Ds .It Fl c Ar config-file If given, the .Fl c option specifies an alternate configuration file instead of .Pa /etc/isakmpd/isakmpd.conf . .It Fl d The .Fl d option is used to make the daemon run in the foreground, logging to stderr. .It Xo Fl D .Ar debug-class Ns No = Ns Ar level .Xc This argument is possible to specify many times. It takes a parameter of the form .Ar class Ns No = Ns Ar level where both .Ar class and .Ar level are numbers. .Ar class denotes a debugging class, and .Ar level the level you want that debugging class to limit debug printouts at (i.e., all debug printouts above the level specified will not output anything). If .Ar class is set to 'A', then all debugging classes are set to the specified level. .It Fl f Ar fifo The .Fl f option specifies the .Tn FIFO (a.k.a. named pipe) where the daemon listens for user requests. If the path given is a dash .Pq Sq \&- , .Nm will listen to stdin instead. .It Fl n When the .Fl n option is given, the kernel will not take part in the negotiations. This is a non-destructive mode so to say, in that it won't alter any SAs in the IPSEC stack. .It Fl p Ar listen-port The .Fl p option specifies the listen port the daemon will bind to. .It Fl P Ar local-port On the other hand, the port specified to capital .Fl P will be what the daemon binds its local end to when acting as initiator. .It Fl r Ar seed If given a deterministic random number sequence will be used internally. This is useful for setting up regression tests. .It Fl R Ar report-file When you signal .Nm a .Dv SIGUSR1 it will report its internal state to a report file, normally .Pa /var/run/isakmpd.report , but this can be changed by feeding the file name as an argument to the .Fl R flag. .El .Sh BUGS The .Fl P flag does not do what we document, rather it does nothing. .Sh FILES .Bl -tag -width /var/run/isakmpd.report .It Pa /etc/isakmpd/isakmpd.conf The configuration file .It Pa /var/run/isakmpd.fifo The FIFO used to manually control .Nm isakmpd .It Pa /var/run/isakmpd.report The report file .El .Sh SEE ALSO .Xr ipsec 4 , .Xr isakmpd.conf 5 , .Xr isakmpd.policy 5 , .Xr photurisd 8 .Sh HISTORY The ISAKMP/Oakley key management protocol is described in the RFCs .%T RFC 2407 , .%T RFC 2408 and .%T RFC 2409 . This implementation was done 1998 by Niklas Hallqvist and Niels Provos, sponsored by Ericsson Radio Systems.