How to view the traffic statistics of hosts
|
|
Software -
Linux
|
|
Written by Michael D.
|
|
There are several applications that can help you do that, but i recommend ipfm (stands for Internet Protocol Flow Meter). Download the latest version from http://robert.cheramy.net/ipfm/. You can choose tgz or RPM (see our tutorial about RPM installation ) which is a better choice.
To install it use the packet manager of your Linux distribution or do it manually (extract the files, enter the directory created and do ./configure then make and make install).
Whatever option you choose, you must manually configure the running parameters of the service. Locate the ipfm.conf in /usr/local/etc and open it with any editor you like. You can also find a configuration model to learn how to make any changes to it.
The line DEVICE tells the service what interface to monitor (eg. DEVICE eth0). Note that this will monitor the virtual interfaces related to the device, too.
LOG 192.168.0.0/255.255.0.0 will tell what IP address (including mask) to monitor.
If we want to put any IP addresses that should not be monitored, use the LOG NONE 10.0.0.0/255.0.0.0 line.
FILENAME "/var/log/ipfm/%Y_%d_%m/%H_%M" tells where to create the log files and under what rules.
The configuration file should be edited according to your needs. This is just an example.
After successfully starting it, the service should return outputs like:
HOST IN OUT TOTAL
host.yourdomain.com 12345 6666684 6679029
server.yourdomain.com 1232314 12345 1244659
backup.yourdomain.com 6645632 123 6645755
- Install Photoshop on Ubuntu Linux
Believe it or not Photoshop CS2 is now fully supported on Ubuntu Linux using Wine. For a long period of time I was eager in switching to Ubuntu but the incompatibility of my most used Windows based applications always made me switch back to Linux. No more Windows based Photoshop skills, now you can powerup Photoshop on Ubuntu.
- Get started with AdSense guide
This guide is written for the low/middle websites witch
offer quality content and play by the rules. Many new website owners ask for
gold tips on getting rich with AdSense, you will not find this here because
there is no such thing as golden tips. What you will find here is a collection
of tested tips from webmasters based on reality.
- Subnetting example explained
In this tutorial, I will show how to calculate subnets, network addresses and the number of hosts within a given IP and subnet mask.
- Archivers Benchmark
Here are some test results we've gathered from some archiving software benchmarks.
- Input form text switch using JavaScript
In this tutorial we are presenting a very simple and efficient method of providing extra information in form text fields using simple JavaScript.
Subscribe now via RSS feed and get all the new tutorials
|
|
Last Updated ( Saturday, 23 June 2007 )
|