| 1 |
####################################******************** |
| 2 |
# |
| 3 |
# ipband sample configuration file v.0.8 |
| 4 |
# |
| 5 |
# Uncomment and modify options as needed |
| 6 |
# |
| 7 |
######################################################## |
| 8 |
|
| 9 |
# Debug level. |
| 10 |
#debug 0 |
| 11 |
|
| 12 |
# Interface to listen on. |
| 13 |
#interface eth0 |
| 14 |
|
| 15 |
# Use promiscuous mode on the network interface? Default is yes. |
| 16 |
#promisc yes |
| 17 |
# |
| 18 |
# Running in background? Default is no. |
| 19 |
#fork no |
| 20 |
|
| 21 |
# Pcap filter (see man tcpdump). |
| 22 |
#filter net 10.10.0.0/16 |
| 23 |
|
| 24 |
# Report file. |
| 25 |
#outfile ipband.txt |
| 26 |
|
| 27 |
# HTML report file |
| 28 |
#htmlfile /var/www/html/ipbandwidth/index.html |
| 29 |
|
| 30 |
# HTML title |
| 31 |
#htmltitle My IP bandwidth |
| 32 |
|
| 33 |
# Default bandwidth in kBytes/sec. |
| 34 |
#bandwidth 7 |
| 35 |
|
| 36 |
# Averaging period in seconds. |
| 37 |
#average 60 |
| 38 |
|
| 39 |
# Reporting period. |
| 40 |
#report 300 |
| 41 |
|
| 42 |
# Limit report to a number of top per-host connections (by byte count). |
| 43 |
# Zero for all connections. |
| 44 |
#top 15 |
| 45 |
|
| 46 |
# Include accumulated threshold exceeded time in the report? |
| 47 |
# This option works only with preloaded subnets ("subnet" directive). |
| 48 |
#accumulate no |
| 49 |
|
| 50 |
# E-mail address we want to mail report to. Default is not to mail. |
| 51 |
#mailto root@localhost |
| 52 |
|
| 53 |
# Packet length adjustment in bytes. Can be a positive or a negative integer |
| 54 |
# with negative value not exceeding layer 2 frame size for the interface. |
| 55 |
# Default is 0 (no adjustment). |
| 56 |
#lenadj -8 |
| 57 |
|
| 58 |
# ASCII file to use as e-mail report footer. |
| 59 |
#mailfoot /etc/ipband.foot |
| 60 |
|
| 61 |
# MTA string. Default is "/usr/sbin/sendmail -t -oi". Change it to |
| 62 |
# whatever runs MTA of your choice. Note that the stringis tokenized and |
| 63 |
# passed to exec(), so that shell's metacharacters are not interpreted. |
| 64 |
#mtastring "/usr/sbin/sendmail -t -oi" |
| 65 |
|
| 66 |
# Default number of subnet mask bits. |
| 67 |
#maskbits 24 |
| 68 |
|
| 69 |
# Range of ip address that are considered local for data collection and |
| 70 |
# reporting. May be used instead of multiple "subnet" directives. |
| 71 |
# See man page for format description. |
| 72 |
#localrange 10.10.82.0/24:10.10.61.0/24 |
| 73 |
|
| 74 |
# Limit data collection and reporting to the following subnets with |
| 75 |
# default subnet mask. |
| 76 |
# Format: subnet _ip_ bandwidth _number_. |
| 77 |
#subnet 10.10.82.0 bandwidth 7 |
| 78 |
#subnet 10.10.61.0 bandwidth 7 |
| 79 |
#subnet 10.10.14.0 bandwidth 7 |
| 80 |
#subnet 10.10.20.0 bandwidth 16 |
| 81 |
#subnet 10.10.85.0 bandwidth 16 |