In Fire We Trust

In the darkest corner light will shine



27 Apr

Print This Post Traffic monitoring and accounting
чети на bulgarian 

Everyone needs to watch and count his traffic. Sometimes it is quite unpleasant to be billed for overtraffic. Along this line of thoughts yesterday i finished a solution for traffic counting, which works astonishingly well. Now we have just to wait and see how it will handle large volumes of traffic.

The solution is based on 3 separate pieces of software, namely:

And now for each one of them and how do they talk.

fprobe is a probe/sensor which in reality counts the traffic. It needs libpcap. Quite nice sensor. Light, fast, configurable from the command line, just plain beauty. The collected information is being sent to a collector at regular intervals using netFlow. Although a Cisco protocol it does a good job.

pmacct can be used as a sensor and a collector. In my case i used it as a collector, which after collecting the info from both my routers, aggregates it and exports it to MySQL database. We use version 1 table format as we don’t need the extra info.

bwstat is a web frontend designed to explore the aggregated pmacct information. It’s configuration is a bit awkward but can be handled easily. There is also a simple bug which makes it unable to see the additional host information, but all in all it is a good piece of software.

The final effect is a simple and elegant solution allowing exploration of the traffic in a nice and slick form.

If someone needs a help … give me a call and we’ll see what can be done.

It has to be noted that this configuration can take quite a bit of tunning and optimisation and probably a frontend replacement.

No comments yet.

Leave a comment

XHTML: Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <code lang="language"> [lang_en][/lang_en] [lang_bg][/lang_bg] <ul> <ol>


In Fire We Trust

Say NO to trud