carta
ipsec_showpolicy(8)

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)

History

Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Michael Richardson

Bugs

From openswan 1:2.4.12+dfsg-1.3+lenny4 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.