summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ipsecctl.8
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-05-27 05:19:56 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-05-27 05:19:56 +0000
commit74406ee6e13d7c7a189ebec85a9be69948eb5c91 (patch)
tree23a21d6d191a73d356df4c75a8e8cdb760d0fcae /sbin/ipsecctl/ipsecctl.8
parent059769e15d5c84c13ea1a442d57bc60741a4c9c1 (diff)
Support for dumping the SADB.
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.8')
-rw-r--r--sbin/ipsecctl/ipsecctl.818
1 files changed, 15 insertions, 3 deletions
diff --git a/sbin/ipsecctl/ipsecctl.8 b/sbin/ipsecctl/ipsecctl.8
index d3e48599a93..da82fd4b47b 100644
--- a/sbin/ipsecctl/ipsecctl.8
+++ b/sbin/ipsecctl/ipsecctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipsecctl.8,v 1.7 2005/05/23 20:25:54 kjell Exp $
+.\" $OpenBSD: ipsecctl.8,v 1.8 2005/05/27 05:19:55 hshoexer Exp $
.\"
.\" Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
.\"
@@ -22,8 +22,9 @@
.Nd control flows for IPsec
.Sh SYNOPSIS
.Nm ipsecctl
-.Op Fl Fnsv
+.Op Fl Fnv
.Op Fl f Ar file
+.Op Fl s Ar modifier
.Sh DESCRIPTION
The
.Nm
@@ -46,8 +47,19 @@ Load the rules contained in
.Ar file .
.It Fl n
Do not actually load rules, just parse them.
-.It Fl s
+.It Fl s Ar modifier
+Show the kernels databases specified by
+.Ar modifier
+(may be abbreviated):
+.Pp
+.Bl -tag -width xxxxxxxxxxxxx -compact
+.It Fl s Cm flow
Show the ruleset loaded into the SPD.
+.It Fl s Cm sa
+Show the active SADB entries.
+.It Fl s Cm all
+Show all of the above.
+.El
.It Fl v
Produce more verbose output.
A second use of