ipsec showpolicy − dump policy of socket found as stdin |
ipsec showpolicy |
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/lib/ipsec/showpolicy showpolicy |
/var/run/pluto/ipsecpolicy.ctl |
Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Michael Richardson |