Flow Selection and Aggregation MA/softflowd
From GEANT2-JRA1 Wiki
Flowsa-ma navigation
Contents |
Introduction
If you don't have a source of netflow data, you can create your own with softflowd. This open source program snifs IP traffic from a local interface and converts this to Netflow data.
Installation
RPM based
Add the perfSONAR repository to your system and run:
yum install softflowd
DEB based
Add the perfSONAR repository to your system and run:
apt-get install softflowd
Source based
If you want to install it yourself or you are using a non RPM/DEB linux distribution, you can download and compile the source from http://www.mindrot.org/projects/softflowd/ .
Usage
We use the command: softflowd -i eth0 -t maxlife=300 -n localhost:6666 to start softflowd. This will listen on interface eth0 and will send the netflow data to local UDP port 6666. We changed the maxlife to 300, because otherwise it will take very long before a flow is expired and exported.
You can see debug information and expire manually with the softflowctl command.
