ipsec_showpolicy8
Dump policy of socket found as stdin
Usage
ipsec showpolicy
Overview
showpolicy calls the ipsec_policy_lookup(3) function on the file description which is its stdin.
It then dumps the resulting query in a human readable form.
This is a test program. One might run it from inetd, via:
- discard stream tcp nowait nobody /usr/libexec/ipsec/showpolicy showpolicy
Files
/var/run/pluto/ipsecpolicy.ctl
History
- Debian 5.0 (Lenny): the text shown here
- Debian 4.0 (Etch)