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
Releases
2 releases since Debian 4.0 (Etch); the text changed 1 time.