polished documentation for first public release
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 13 Apr 2004 14:22:07 +0000 (14:22 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 13 Apr 2004 14:22:07 +0000 (14:22 +0000)
help
linux/Documentation/Configure.help.ladd
linux/include/linux/netfilter_ipv4/ipt_ACCOUNT.h
linux/net/ipv4/netfilter/ipt_ACCOUNT.c

diff --git a/help b/help
index 0478a54..f28b9da 100644 (file)
--- a/help
+++ b/help
@@ -4,10 +4,14 @@ This patch adds the ACCOUNT target
 The ACCOUNT target is a high performance accounting system for local networks.
 It takes two parameters: --addr network/netmask and --tname NAME.
 
---addr is the subnet we want accounting for
+--addr is the subnet which is accounted for
 --tname is the table name where the information is stored
 
-The data can later be queried using the libipt_ACCOUNT userspace library
+The data can be queried later using the libipt_ACCOUNT userspace library
 or by the "iptaccount" tool which is part of the libipt_ACCOUNT package.
 
+A special subnet is "0.0.0.0/0": All data is stored in the src_bytes
+and src_packets structure of slot "0". This is useful if you want
+to account the overall traffic to/from your internet provider.
+
 For more information go to http://www.intra2net.com/opensource/ipt_ACCOUNT
index f663079..8d57f8b 100644 (file)
@@ -5,11 +5,15 @@ CONFIG_IP_NF_TARGET_ACCOUNT
   The ACCOUNT target is a high performance accounting system for local networks.
   It takes two parameters: --addr network/netmask and --tname NAME.
 
-  --addr is the subnet we want accounting for
+  --addr is the subnet which is accounted for
   --tname is the table name where the information is stored
 
-  The data can later be queried using the libipt_ACCOUNT userspace library
+  The data can be queried later using the libipt_ACCOUNT userspace library
   or by the "iptaccount" tool which is part of the libipt_ACCOUNT package.
 
+  A special subnet is "0.0.0.0/0": All data is stored in the src_bytes
+  and src_packets structure of slot "0". This is useful if you want
+  to account the overall traffic to/from your internet provider.
+
   If you want to compile it as a module, say M here and read
   Documentation/modules.txt.  If unsure, say `N'.
index 3d59241..402b889 100644 (file)
@@ -1,3 +1,13 @@
+/***************************************************************************
+ *   Copyright (C) 2004 by Intra2net AG                                    *
+ *   opensource@intra2net.com                                              *
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License                  *
+ *   version 2 as published by the Free Software Foundation;               *
+ *                                                                         *
+ ***************************************************************************/
+
 #ifndef _IPT_ACCOUNT_H
 #define _IPT_ACCOUNT_H
 
index b68858e..edac8ff 100644 (file)
@@ -1,6 +1,17 @@
-/*
- * This is a module which is used for counting packets.
- */
+/***************************************************************************
+ *   This is a module which is used for counting packets.                  *
+ *   See http://www.intra2net.com/opensource/ipt_ACCOUNT                   *
+ *   for further information                                               *
+ *                                                                         * 
+ *   Copyright (C) 2004 by Intra2net AG                                    *
+ *   opensource@intra2net.com                                              *
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License                  *
+ *   version 2 as published by the Free Software Foundation;               *
+ *                                                                         *
+ ***************************************************************************/
+
 #include <linux/module.h>
 #include <linux/skbuff.h>
 #include <linux/ip.h>