File: ipband.sample.conf

package info (click to toggle)
ipband 0.8.1-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 236 kB
  • ctags: 179
  • sloc: ansic: 1,679; sh: 117; makefile: 103
file content (81 lines) | stat: -rwxr-xr-x 2,237 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
####################################********************
#
#   ipband sample configuration file v.0.8.1
# 
#   Uncomment and modify options as needed
#
########################################################

#   Debug level. 
#debug 0

#   Interface to listen on.
#interface eth0

#   Use promiscuous mode on the network interface? Default is yes.
#promisc yes 
#
#   Running in background? Default is no.
#fork no

#   Pcap filter (see man tcpdump).
#filter net 10.10.0.0/16

#   Report file.
#outfile ipband.txt

#   HTML report file
#htmlfile /var/www/html/ipbandwidth/index.html

#   HTML title
#htmltitle My IP bandwidth

#   Default bandwidth in kBytes/sec.
#bandwidth 7 

#   Averaging period in seconds.
#average 60 

#   Reporting period.
#report 300

#   Limit report to a number of top per-host connections (by byte count).
#   Zero for all conections.
#top 15

#   Include accumulated threshold exceeded time in the report?
#   This option works only with preloaded subnets ("subnet" directive).
#accumulate no 

#   E-mail address we want to mail report to. Default is not to mail.
#mailto root@localhost

#   Packet length adjustment in bytes. Can be a positive or a negative integer
#   with negative value not exceeding leyer 2 frame size for the interface. 
#   Default is 0 (no adjustment).
#lenadj -8

#   ASCII file to use as e-mail report footer.
#mailfoot /etc/ipband.foot

#   MTA string. Default is "/usr/sbin/sendmail -t -ba". Change it to
#   whatever runs MTA of your choice. Note that the stringis tokenized and 
#   passed to exec(), so that shell's metacharacters are not interpreted.
#mtastring "/usr/sbin/sendmail -t -ba"

#   Default number of subnet mask bits.
#maskbits 24

#   Range of ip address that are considered local for data collection and
#   reporting. May be used instead of multiple "subnet" directives. 
#   See man page for format description.
#localrange 10.10.82.0/24:10.10.61.0/24

#   Limit data collection and reporting to the following subnets with
#   default subnet mask.
#   Format: subnet _ip_ bandwidth _number_.
#subnet 10.10.82.0  bandwidth 7
#subnet 10.10.61.0  bandwidth 7
#subnet 10.10.14.0  bandwidth 7
#subnet 10.10.20.0  bandwidth 16
#subnet 10.10.85.0  bandwidth 16