Merge from vendor branch GCC:
[dragonfly.git] / share / man / man4 / fast_ipsec.4
1 .\" Copyright (c) 2003
2 .\"     Sam Leffler <sam@errno.com>. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by Bill Paul.
15 .\" 4. Neither the name of the author nor the names of any co-contributors
16 .\"    may be used to endorse or promote products derived from this software
17 .\"   without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY Sam Leffler AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 .\" THE POSSIBILITY OF SUCH DAMAGE.
30 .\"
31 .\" $FreeBSD: src/share/man/man4/fast_ipsec.4,v 1.1.2.1 2003/01/24 05:12:59 sam Exp $
32 .\" $DragonFly: src/share/man/man4/fast_ipsec.4,v 1.3 2004/05/10 13:46:35 hmp Exp $
33 .\"
34 .Dd January 20, 2003
35 .Dt FAST_IPSEC 4
36 .Os
37 .Sh NAME
38 .Nm "Fast IPsec"
39 .Nd Hardware-accelerated IP Security Protocols
40 .Sh SYNOPSIS
41 .Cd "options FAST_IPSEC"
42 .Cd "device crypto"
43 .Pp
44 .Cd net.inet.esp.enable
45 .Cd net.inet.ah.enable
46 .Cd net.inet.ipcomp.enable
47 .Sh DESCRIPTION
48 .Tn IPsec
49 is a set of protocols,
50 .Tn ESP
51 (for Encapsulating Security Payload)
52 .Tn AH
53 (for Authentication Header),
54 and
55 .Tn IPComp
56 (for IP Payload Compression Protocol)
57 that provide security services for IP datagrams.
58 .Tn Fast IPsec
59 is an experimental implementation of these protocols that uses the
60 .Xr crypto 4
61 subsystem to carry out cryptographic operations.
62 This means, in particular, that cryptograph hardware devices are
63 employed whenever possible to optimize the performance of these protocols.
64 .Pp
65 In general the
66 .Tn Fast IPsec
67 implementation is intended to be compatible with the
68 KAME
69 .Tn IPsec
70 implementation.
71 This documentation concentrates on differences from that software.
72 The user should refer to
73 .Xr ipsec 4
74 for basic information on setting up and using these protocols.
75 .Pp
76 System configuration requires the crypto subsystem.
77 When the
78 .Tn Fast IPsec
79 protocols are configured for use all protocols are included in the system.
80 To selectively enable/disable protocols use
81 .Xr sysctl 8 .
82 .Sh DIAGNOSTICS
83 To be added.
84 .Sh BUGS
85 There is presently no support for IPv6.
86 The IPcomp protocol support does not work.
87 Certain legacy authentication algorithms are not supported because of
88 issues with the crypto subsystem.
89 This documentation is incomplete.
90 .Sh SEE ALSO
91 .Xr ipsec 4 ,
92 .Xr setkey 8 ,
93 .Xr sysctl 8
94 .Sh HISTORY
95 The protocols draw heavily on the OpenBSD implementation of the
96 .Tn IPsec
97 protocols.
98 The policy management code is derived from the KAME implementation found
99 in their
100 .Tn IPsec
101 protocols.
102 The
103 .Tn Fast IPsec
104 protocols first appeared in
105 .Fx 5.0 .