mpltd MP Log Traffic Daemon
| |
---|---|
|
DocumentationInstall
mpltd.confThe configuration file is themagic of this program. Modifing it you can change the behaviour of the program. This configuration file declare what we want to count and how we count it. First of all we have to define some COUNTER. One counter is a couple of integer with the bytes arrived and sended for the counter. Example: COUNTER udp COUNTER mailIN COUNTER mailOUT COUNTER sshIN COUNTER sshOUT COUNTER serv COUNTER nav COUNTER vpn Now we have to decide what packet are counted in what counter. We can do this with ports description. The program distinguish from UDP and TCP. For UDP the traffic is all the same. For TCP we have to say if the traffic is of type Server or Client. Server is when our adress has the port specified. Client is when the other address (not our) has the port specified. The definition are in the form of What counter parameters Let see some examples : UDP:PORT vpn 1124 TCP:PORT:CLI mailOUT smtp TCP:PORT:SRV mailOUT pop3 imap2 TCP:PORT:CLI mailIN pop3 imap2 rtsp TCP:PORT:SRV mailIN smtp TCP:PORT:ALL vpn openvpn 3389 1723 mpltd add a default counter, called UnClassified where are collected all tha data that don't fall into any other counter. mpltd_rcThis small script for starting and stopping the daemon. Modify it to reflect your installation before running it.The example shipped is for sniffing on 2 interface (eth1 eth2). genGraph.shThis is a smal shell script for generating graphics with the result of our logging. |
Last update 02/10/2006 11.08 |