diff --git a/extensions/ACCOUNT/Makefile.am b/extensions/ACCOUNT/Makefile.am index 08f3bfe..2c6f7d0 100644 --- a/extensions/ACCOUNT/Makefile.am +++ b/extensions/ACCOUNT/Makefile.am @@ -9,3 +9,5 @@ sbin_PROGRAMS = iptaccount iptaccount_LDADD = libxt_ACCOUNT_cl.la lib_LTLIBRARIES = libxt_ACCOUNT_cl.la + +man_MANS = iptaccount.8 diff --git a/extensions/ACCOUNT/iptaccount.8 b/extensions/ACCOUNT/iptaccount.8 new file mode 100644 index 0000000..414b93c --- /dev/null +++ b/extensions/ACCOUNT/iptaccount.8 @@ -0,0 +1,26 @@ +.TH iptaccount 8 "v1.16" "" "v1.16" +.SH Name +iptaccount \(em administrative utility to access xt_ACCOUNT statistics +.SH Syntax +\fBiptaccount\fP [\fB\-acfhu\fP] [\fB\-l\fP \fIname\fP] +.SH Options +.PP +\fB\-a\fP +List all (accounting) table names. +.PP +\fB\-c\fP +Loop every second (abort with CTRL+C). +.PP +\fB\-f\fP +Flush data after display. +.PP +\fB\-h\fP +Free all kernel handles. (Experts only!) +.PP +\fB\-l\fP \fIname\fP +Show data in accounting table called by \fIname\fP. +.TP +\fB\-u\fP +Show kernel handle usage. +.SH "See also" +\fBxtables-addons\fP(8) diff --git a/extensions/ACCOUNT/libxt_ACCOUNT.man b/extensions/ACCOUNT/libxt_ACCOUNT.man index 2a26c67..1772c30 100644 --- a/extensions/ACCOUNT/libxt_ACCOUNT.man +++ b/extensions/ACCOUNT/libxt_ACCOUNT.man @@ -40,19 +40,7 @@ to account the overall traffic to/from your internet provider. .PP The data can be queried using the userspace libxt_ACCOUNT_cl library, and by the reference implementation to show usage of this library, -the \fBiptaccount\fP(8) tool, which features following options: -.PP -[\fB\-u\fP] show kernel handle usage -.PP -[\fB\-h\fP] free all kernel handles (experts only!) -.PP -[\fB\-a\fP] list all table names -.PP -[\fB\-l\fP \fIname\fP] show data in table \fIname\fP -.PP -[\fB\-f\fP] flush data after showing -.PP -[\fB\-c\fP] loop every second (abort with CTRL+C) +the \fBiptaccount\fP(8) tool. .PP Here is an example of use: .PP diff --git a/xtables-addons.8.in b/xtables-addons.8.in index 0a4dd74..1fc3aab 100644 --- a/xtables-addons.8.in +++ b/xtables-addons.8.in @@ -5,8 +5,8 @@ Xtables-addons \(em additional extensions for iptables, ip6tables, etc. .\" @TARGET@ .SH Matches .\" @MATCHES@ -.SH "SEE ALSO" -\fBiptables\fP(8), \fBip6tables\fP(8) +.SH "See also" +\fBiptables\fP(8), \fBip6tables\fP(8), \fBiptaccount\fP(8) .PP For developers, the book "Writing Netfilter modules" at http://jengelh.medozas.de/documents/Netfilter_Modules.pdf provides detailed