Debian Codegraph @

debian/ipband.conf-simple

raw
1 # Sample configuration file for Debian's ipband package.
2 # Simple version.
3
4 # The "fork" directive tells ipband to avoid forking into the background.
5 # Since our init script does this, we say "no".
6 fork no
7
8 # The "interface" directive tells ipband which adapter to monitor.
9 interface eth0
10
11 # Make sure the device is put into promiscuous mode.
12 promisc yes
13
14 # The "bandwidth" directive is the default amount of bandwidth a subnet
15 # must exceed before being reported. The unit is kilobytes per second.
16 # It can be modified on a per-subnet basis, see below.
17 bandwidth 600
18
19 # The "average" directive specifies how often we should average the used
20 # bandwidth. The value is in seconds.
21 average 60
22
23 # The "report" directive determines how long time a subnet must exceed the
24 # bandwidth limit before being reported. The value is in seconds.
25 # Default: five minutes.
26 report 300
27
28 # The "top" setting is used in the report. At most this number of connec-
29 # tions are included in the report, ordered according to bandwidth usage in
30 # falling relative order.
31 top 15
32
33 # Email-address we report to.
34 mailto root@localhost
35
36 # Do not collect reports in files by default, instead preferring mail
37 # message reporting. Be sure to change these settings to sensible loca-
38 # tions in the contrary case. Beware that the default file 'ipband.txt'
39 # is probably dropped below '/' in the absence of this blocker.
40 outfile /dev/null
41
42 # To be active, HTML output needs an explicitly set location.
43 ## htmlfile /var/www/html/ipband/ipband.html
44
45 # Number of significant bits in the hostmask. The default is "24", which
46 # means for a subnet like "192.168.0.0", that all hosts from 192.168.0.0
47 # to 192.168.0.255 will be monitored.
48 maskbits 24
49
50 # Subnet declarations: Here we describe what networks and hosts we wish to
51 # monitor. In this example, we have two networks. One is 10.0.0.1, which
52 # is part of a low-bandwidth WAN, and then 192.168.0.0, which is a local
53 # 10 Mbps LAN. The default 600 kB/s limit for the LAN is chosen since it
54 # is a fast network. A bandwidth of 60 kB/s is set for the WAN, since it
55 # is imagined as slow, and we care more about who is using what bandwidth.
56 subnet 192.168.0.0 bandwidth 600
57 subnet 10.0.0.1 bandwidth 60