June 2010
Intermediate to advanced
224 pages
5h 18m
English
The flow-capture program listens on a specified UDP port for incoming flow exports. It then captures the data and writes flow records to disk. flow-capture must know where to write the files, how often to start a new file, who to accept flow information from, and so on. The flow-capture manual page offers many options, but the following example suffices for many situations:
#flow-capture -p /var/run/flow-capture.pid -n 287-w /var/db/flows -S 5 192.0.2.1/192.0.2.10/5678
The -p argument tells flow-capture where to store its process ID (PID) file. The location /var/run/flow-capture.pid is a common default for most Unix-like operating systems.
The -n option tells flow-capture how many times it should rotate its log files in a 24-hour ...
Read now
Unlock full access