diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2006-05-22 05:12:18 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2006-05-22 05:12:18 +0000 |
commit | aa0f5b38aec14428b4b80e06f90ff781f8bca5f1 (patch) | |
tree | 95f3d0c8cb0d59d88900dbbd72110d7ab6e15b2a /programs/proc | |
parent | 7c383bc22113b23718be89fe18eeb251942d7356 (diff) | |
download | vyos-strongswan-aa0f5b38aec14428b4b80e06f90ff781f8bca5f1.tar.gz vyos-strongswan-aa0f5b38aec14428b4b80e06f90ff781f8bca5f1.zip |
Import initial strongswan 2.7.0 version into SVN.
Diffstat (limited to 'programs/proc')
-rw-r--r-- | programs/proc/Makefile | 51 | ||||
-rw-r--r-- | programs/proc/trap_count.5 | 35 | ||||
-rw-r--r-- | programs/proc/trap_sendcount.5 | 33 | ||||
-rw-r--r-- | programs/proc/version.5 | 54 |
4 files changed, 173 insertions, 0 deletions
diff --git a/programs/proc/Makefile b/programs/proc/Makefile new file mode 100644 index 000000000..023356440 --- /dev/null +++ b/programs/proc/Makefile @@ -0,0 +1,51 @@ +# Makefile for the KLIPS interface utilities +# Copyright (C) 1998, 1999 Henry Spencer. +# Copyright (C) 1999, 2000, 2001 Richard Guy Briggs +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# RCSID $Id: Makefile,v 1.1 2004/03/15 20:35:30 as Exp $ + +FREESWANSRCDIR=../.. +include ${FREESWANSRCDIR}/Makefile.inc + +EXTRA5PROC:=version.5 trap_count.5 trap_sendcount.5 + +LIBS:=${FREESWANLIB} + +include ../Makefile.program + +# +# $Log: Makefile,v $ +# Revision 1.1 2004/03/15 20:35:30 as +# added files from freeswan-2.04-x509-1.5.3 +# +# Revision 1.5 2003/06/20 02:56:20 mcr +# added documentation for /proc/net/ipsec/stats/trap_* and +# amendments to test cases. +# +# Revision 1.4 2002/06/03 20:25:31 mcr +# man page for files actually existant in /proc/net changed back to +# ipsec_foo via new EXTRA5PROC process. +# +# Revision 1.3 2002/06/02 21:51:41 mcr +# changed TOPDIR->FREESWANSRCDIR in all Makefiles. +# (note that linux/net/ipsec/Makefile uses TOPDIR because this is the +# kernel sense.) +# +# Revision 1.2 2002/05/05 23:09:49 mcr +# EXTRA35MAN should have the extensions on it. +# +# Revision 1.1 2002/04/24 07:55:32 mcr +# #include patches and Makefiles for post-reorg compilation. +# +# +# diff --git a/programs/proc/trap_count.5 b/programs/proc/trap_count.5 new file mode 100644 index 000000000..e4cfd5871 --- /dev/null +++ b/programs/proc/trap_count.5 @@ -0,0 +1,35 @@ +.TH IPSEC_TRAP_COUNT 5 "19 Jun 2003" +.\" +.\" RCSID $Id: trap_count.5,v 1.1 2004/03/15 20:35:30 as Exp $ +.\" +.SH NAME +trap_count \- KLIPS statistic on number of ACQUIREs +.SH SYNOPSIS +.B cat +.B /proc/net/ipsec/stats/trap_count +.SH DESCRIPTION +.I /proc/net/ipsec/stats/trap_count +is a read-only file. It contains a hexadecimal number which records the +number of attempts to send PF_ACQUIRE messages. Only those recorded by +trap_sendcount were actually successfully passed to userland. Note that the +userland may still have lost them on its own. +.LP +.SH "FILES" +/proc/net/ipsec/stats/trap_sendcount +.SH "SEE ALSO" +ipsec(8), ipsec_pf_key(5), trap_sendcount(5), pluto(8) +.SH HISTORY +Written for the Linux FreeS/WAN project +<http://www.freeswan.org/> +by Michael C. Richardson <mcr@freeswan.org> +.\" +.\" $Log: trap_count.5,v $ +.\" Revision 1.1 2004/03/15 20:35:30 as +.\" added files from freeswan-2.04-x509-1.5.3 +.\" +.\" Revision 1.1 2003/06/20 02:56:20 mcr +.\" added documentation for /proc/net/ipsec/stats/trap_* and +.\" amendments to test cases. +.\" +.\" +.\" diff --git a/programs/proc/trap_sendcount.5 b/programs/proc/trap_sendcount.5 new file mode 100644 index 000000000..27090b52b --- /dev/null +++ b/programs/proc/trap_sendcount.5 @@ -0,0 +1,33 @@ +.TH IPSEC_TRAP_SENDCOUNT 5 "19 Jun 2003" +.\" +.\" RCSID $Id: trap_sendcount.5,v 1.1 2004/03/15 20:35:30 as Exp $ +.\" +.SH NAME +trap_sendcount \- KLIPS statistic on number of successful ACQUIREs +.SH SYNOPSIS +.B cat +.B /proc/net/ipsec/stats/trap_sendcount +.SH DESCRIPTION +.I /proc/net/ipsec/stats/trap_sendcount +is a read-only file. It contains a hexadecimal number which records the +number of successful PF_ACQUIRE messages that were sent. +.LP +.SH "FILES" +/proc/net/ipsec/stats/trap_sendcount +.SH "SEE ALSO" +ipsec(8), ipsec_pf_key(5), trap_count(5), pluto(8) +.SH HISTORY +Written for the Linux FreeS/WAN project +<http://www.freeswan.org/> +by Michael C. Richardson <mcr@freeswan.org> +.\" +.\" $Log: trap_sendcount.5,v $ +.\" Revision 1.1 2004/03/15 20:35:30 as +.\" added files from freeswan-2.04-x509-1.5.3 +.\" +.\" Revision 1.1 2003/06/20 02:56:20 mcr +.\" added documentation for /proc/net/ipsec/stats/trap_* and +.\" amendments to test cases. +.\" +.\" +.\" diff --git a/programs/proc/version.5 b/programs/proc/version.5 new file mode 100644 index 000000000..c763d6d17 --- /dev/null +++ b/programs/proc/version.5 @@ -0,0 +1,54 @@ +.TH IPSEC_VERSION 5 "29 Jun 2000" +.\" +.\" RCSID $Id: version.5,v 1.1 2004/03/15 20:35:30 as Exp $ +.\" +.SH NAME +ipsec_version \- lists KLIPS version information +.SH SYNOPSIS +.B cat +.B /proc/net/ipsec_version +.SH DESCRIPTION +.I /proc/net/ipsec_version +is a read-only file which lists the currently running KLIPS version +information. +.PP +.SH EXAMPLES +.TP +.B FreeS/WAN version: 1.4 +.LP +shows that the currently loaded +.B KLIPS +is from +.B FreeS/WAN 1.4. +.LP +.SH "FILES" +/proc/net/ipsec_version +.SH "SEE ALSO" +ipsec(8), ipsec_manual(8), ipsec_eroute(5), ipsec_spi(5), +ipsec_spigrp(5), ipsec_klipsdebug(5), ipsec_tncfg(8), ipsec_pf_key(5) +.SH HISTORY +Written for the Linux FreeS/WAN project +<http://www.freeswan.org/> +by Richard Guy Briggs. +.\" +.\" $Log: version.5,v $ +.\" Revision 1.1 2004/03/15 20:35:30 as +.\" added files from freeswan-2.04-x509-1.5.3 +.\" +.\" Revision 1.4 2002/04/24 07:35:41 mcr +.\" Moved from ./klips/utils/version.5,v +.\" +.\" Revision 1.3 2000/06/30 18:21:55 rgb +.\" Update SEE ALSO sections to include ipsec_version(5) and ipsec_pf_key(5) +.\" and correct FILES sections to no longer refer to /dev/ipsec which has +.\" been removed since PF_KEY does not use it. +.\" +.\" Revision 1.2 2000/06/30 06:22:22 rgb +.\" Fix SYNOPSIS since there is no 'ipsec version' command. +.\" +.\" Revision 1.1 2000/06/30 06:19:26 rgb +.\" manpages for the last two /proc/net/ipsec* files that don't have a +.\" corresponding utility. +.\" +.\" +.\" |