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
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'.
+/***************************************************************************
+ * 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
-/*
- * 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>