|Version 1 (modified by 14 years ago) ( diff ),|
Monitoring Traffic Volume
This document will describe how to use IPTrafVol with Vuurmuur. In vuurmuur_conf you can monitor the traffic volume by choosing 'Traffic Volume' from the main menu. However, you will first have to setup IPTrafvol.
Download IP Traffic Volume from http://iptrafficvolume.sourceforge.net/. From IPTrafVol we only use the perl script iptrafvol.pl. The initscripts must not be used, Vuurmuur will take care of setting up the required iptables-rules.
Installation is simple:
- copy iptrafvol.pl to some place in the PATH
- create the directory /var/log/iptrafvol
Now run 'iptrafvol.pl -l' to update the accounting information. Run 'iptrafvol.pl -d' to see the statistics. You can call the 'iptrafvol.pl -l' command from the crontab every few minutes to update the statistics.
Example for every one minute updates:
$ crontab -l 0-59 * * * * /usr/bin/iptrafvol.pl -l
In vuurmuur_conf you have to specify the location of the iptrafvol.pl command. Go to 'Vuurmuur_conf Settings' and enter the path. After this you can monitor the used Traffic Volume!