.TH IPSEC_SHOWPOLICY 8 "7 May 2003" .\" .\" RCSID $Id: showpolicy.8,v 1.1 2004/03/15 20:35:31 as Exp $ .\" .SH NAME ipsec showpolicy \- dump policy of socket found as stdin .SH SYNOPSIS .PP .B ipsec .B showpolicy .PP .SH DESCRIPTION .I showpolicy calls the .IR ipsec_policy_lookup (3) function on the file description which is its stdin. .PP It then dumps the resulting query in a human readable form. .PP This is a test program. One might run it from inetd, via: .TP discard stream tcp nowait nobody /usr/local/libexec/ipsec/showpolicy showpolicy .SH FILES /var/run/ipsecpolicy.ctl .SH "SEE ALSO" ipsec(8), ipsec_policy_query(3), ipsec_pluto(8) .SH HISTORY Written for the Linux FreeS/WAN project by Michael Richardson .SH BUGS .\" .\" $Log: showpolicy.8,v $ .\" Revision 1.1 2004/03/15 20:35:31 as .\" added files from freeswan-2.04-x509-1.5.3 .\" .\" Revision 1.1 2003/05/11 00:45:08 mcr .\" program to interogate ipsec policy of stdin. .\" run this from inetd. .\" .\"