control flows for IPsec
ipsecctl utility controls flows that determine which
packets are to be processed by IPsec. It allows ruleset configuration, and
retrieval of status information from the kernel's SPD (Security Policy
Database) and SAD (Security Association Database). It also can control
isakmpd(8) and establish
tunnels using automatic keying with
isakmpd(8). The ruleset
grammar is described in
The options are as follows:
- Define macro to be set to
value on the command line. Overrides the definition
of macro in the ruleset.
- When the
-d option is set, specified flows will be
deleted from the SPD. Otherwise,
ipsecctl will add
-F option flushes the SPD and the SAD.
- Load the rules contained in file.
- If given, the
-i option specifies an alternate
FIFO instead of /var/run/isakmpd.fifo, used to
talk to isakmpd(8).
- Show secret keying material when printing the active SAD entries.
- Continuously display all
PF_KEY messages exchanged
with the kernel.
- Do not actually load rules, just parse them.
- Show the kernel's databases, specified by modifier
(may be abbreviated):
- Show the ruleset loaded into the SPD.
- Show the active SAD entries.
- Show all of the above.
- Produce more verbose output. A second use of
will produce even more verbose output.
ipsecctl program first appeared in