Changes from 1.3b2 to 2.0
- cflowd has been completely redesigned and reimplemented for the 2.0 release.
- Added support for v1 flow-export.
- All tables are now per input interface.
- New tabular data: port matrix, interface matrix, nexthop table. The old port table has been replaced by the more granular port matrix.
- A new cflowdmux process which permits access to raw flow packets.
- A fully functional central collector is now included (cfdcollect). This allows you to archive time-series tabular data from multiple instances of cflowd.
- All counters are 64 bits.
- New filtering code is significantly faster; flowdump benefits from the increased performance.
- Local clients (cfdases, cfdnets, et. al.) will show the time interval for current data.
- Local clients can show pkts/sec and bits/sec in addition to packet and byte counters.
- Added manpages.
- mmap() is gone for the tabular data; local clients connect to a UNIX domain socket to view current data. This removed a lot of code complexity.
ComponentsThe cflowd system contains four major components:
This is the program that acts as the receiver of flow-export data from one or more Cisco routers. It writes raw packets into shared memory, and permits clients to have access to raw flow data. An example client (flowwatch) is included.
cflowd takes data from raw flows (collected by cflowdmux) and creates tabular summaries of traffic data (AS matrix, net matrix, port matrix, interface matrix, nexthop table and protocol table). It also acts as a server of tabular data to cfdcollect.
This is a central collector which collects data from instances of cflowd. It is used to archive the tabular data at regular intervals, producing time-series data for each of the tabular data types. The archived data may be processed with arts++.
There are a handful of utilities included in the package which may be used to examine data on the host(s) where cflowd is running.
Requirementscflowd requires the arts++ package. You should download and install arts++ before downloading and building cflowd. cflowd needs header files and libraries from the arts++ package, and the arts++ package contains the C++ library for handling the data stored by cfdcollect (as well as a handful of utilities for aggregating and viewing the data).
arts++ is required by cflowd.
The latest release (currently in alpha state).
cflowd configuration guide
cflowd design overview