summaryrefslogtreecommitdiffstats
path: root/sbin/setkey/setkey.8
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2012-03-26 21:22:53 +0000
committerjoel <joel@FreeBSD.org>2012-03-26 21:22:53 +0000
commit906214101c2afe043c4e6b86c05dad9039220a42 (patch)
treedac7f857a786f780fb4965b48ce752c840759c6e /sbin/setkey/setkey.8
parent49e07e95592f6b458f4a4182401cb8317175e365 (diff)
downloadFreeBSD-src-906214101c2afe043c4e6b86c05dad9039220a42.zip
FreeBSD-src-906214101c2afe043c4e6b86c05dad9039220a42.tar.gz
mdoc: correct .Bd/.Bl arguments.
Reviewed by: brueffer
Diffstat (limited to 'sbin/setkey/setkey.8')
-rw-r--r--sbin/setkey/setkey.816
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/setkey/setkey.8 b/sbin/setkey/setkey.8
index 01c31fb..6046bad 100644
--- a/sbin/setkey/setkey.8
+++ b/sbin/setkey/setkey.8
@@ -651,48 +651,48 @@ deflate rfc2394
.Sh EXAMPLES
Add an ESP SA between two IPv6 addresses using the
des-cbc encryption algorithm.
-.Bd -literal -offset
+.Bd -literal -offset indent
add 3ffe:501:4819::1 3ffe:501:481d::1 esp 123457
-E des-cbc 0x3ffe05014819ffff ;
.Ed
.\"
Add an authentication SA between two FQDN specified hosts:
-.Bd -literal -offset
+.Bd -literal -offset indent
add -6 myhost.example.com yourhost.example.com ah 123456
-A hmac-sha1 "AH SA configuration!" ;
.Ed
Use both ESP and AH between two numerically specified hosts:
-.Bd -literal -offset
+.Bd -literal -offset indent
add 10.0.11.41 10.0.11.33 esp 0x10001
-E des-cbc 0x3ffe05014819ffff
-A hmac-md5 "authentication!!" ;
.Ed
Get the SA information associated with first example above:
-.Bd -literal -offset
+.Bd -literal -offset indent
get 3ffe:501:4819::1 3ffe:501:481d::1 ah 123456 ;
.Ed
Flush all entries from the database:
-.Bd -literal -offset
+.Bd -literal -offset indent
flush ;
.Ed
Dump the ESP entries from the database:
-.Bd -literal -offset
+.Bd -literal -offset indent
dump esp ;
.Ed
Add a security policy between two networks that uses ESP in tunnel mode:
-.Bd -literal -offset
+.Bd -literal -offset indent
spdadd 10.0.11.41/32[21] 10.0.11.33/32[any] any
-P out ipsec esp/tunnel/192.168.0.1-192.168.1.2/require ;
.Ed
Use TCP MD5 between two numerically specified hosts:
-.Bd -literal -offset
+.Bd -literal -offset indent
add 10.1.10.34 10.1.10.36 tcp 0x1000 -A tcp-md5 "TCP-MD5 BGP secret" ;
.Ed
OpenPOWER on IntegriCloud