Open Source: flattraffic

Open Source: flattraffic


FlatTraffic is an AGPL web interface for analysing netflow records and showing statistics designed to make it clear and easy to determine which hosts of the network are consuming data.

FlatTraffic has been primarily designed for use by networking & servers geeks who have to endure the pain of data capped internet service providers, something that's unfortunately rather common in the Australia-New Zealand region in particular.

Currently the flow-tools collector is supported, but the application is written in such a way that other netflow collectors can be added over time. To keep performance reasonable when working with huge netflow databases, FlatTraffic queries summary data for the selected date period and then caches into memory tables to make subsequent reports quick and non resource intensive.

Key Features

  • Easy configuration of network ranges and reporting options.
  • Provide reports showing data usage by networks, hosts, days and protocols.
  • Uses MySQL memory tables for caching netflow data for selected periods.
  • Written in PHP and uses a MySQL database backend.
  • Application UI is IPv6 compatible, however Netflow handling is IPv4 only currently.

concept art

Using FlatTraffic

FlatTraffic is a simplistic application, the key steps to getting started post-install are:

  • Adjust configuration in Administratoin/Configuration including setting the Netflow SQL DB type and setting the period billing date.
  • Configure user accounts in Administration/Users
  • Generate your first cache when prompted. This will be a test of the performance of your indexes and SQL DBs, if the query takes unreasonable time, check your DB size and indexes and optimise accordingly.
  • Start using reports
  • ... and enjoy! :-)

Getting Started

To get started with FlatTraffic, start by reading the Installation wiki page.

I have packaged for RHEL/CentOS 5 & 6 and there is a .src.rpm you can build for other platforms as desired.

Support & Contributions

Best way to get support is to open an issue in the tracker, since then others can find any issues they also experience and you can track the fixes against any issues.

If I get a lot, I'll consider opening up a mailing list to enable a bit more community support and interaction.

You should also read Contributions if you're wanting to submit back to this project.

Development Team
Jethro Carr

Contact Jethro
Feel free to send me a message to express love/hate for features/bugs in my software.

Say Thanks
Enjoyed or found something I've written useful? Donations towards coffee fund always welcome!

Flattr this Donate via PayPal
Powered by InDefero,
a CĂ©ondo Ltd initiative.