Commit | Line | Data |
---|---|---|
b03f4657 TJ |
1 | CONFIG_IP_NF_TARGET_ULOG |
2 | ACCOUNT target support | |
3 | CONFIG_IP_NF_TARGET_ACCOUNT | |
4 | ||
5 | The ACCOUNT target is a high performance accounting system for local networks. | |
6 | It takes two parameters: --addr network/netmask and --tname NAME. | |
7 | ||
54756114 | 8 | --addr is the subnet which is accounted for |
b03f4657 TJ |
9 | --tname is the table name where the information is stored |
10 | ||
54756114 | 11 | The data can be queried later using the libipt_ACCOUNT userspace library |
b03f4657 TJ |
12 | or by the "iptaccount" tool which is part of the libipt_ACCOUNT package. |
13 | ||
54756114 TJ |
14 | A special subnet is "0.0.0.0/0": All data is stored in the src_bytes |
15 | and src_packets structure of slot "0". This is useful if you want | |
16 | to account the overall traffic to/from your internet provider. | |
17 | ||
b03f4657 TJ |
18 | If you want to compile it as a module, say M here and read |
19 | Documentation/modules.txt. If unsure, say `N'. |