Skip to content

CICFlowMeter is a network traffic flow generator and analyzer.

License

Notifications You must be signed in to change notification settings

ZhuMon/cicflowmeter

Repository files navigation

Python CICFlowMeter

This project is not maintained actively by me. If you found something wrong (bugs, incorrect results) feel free to create merge request.

Installation

git clone https://gitlab.com/hieulw/cicflowmeter
cd cicflowmeter
sudo python3 setup.py install

Usage

usage: cicflowmeter [-h] (-i INPUT_INTERFACE | -f INPUT_FILE) [-c] [-u URL_MODEL] output

positional arguments:
  output                output file name (in flow mode) or directory (in sequence mode)

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT_INTERFACE    capture online data from INPUT_INTERFACE
  -f INPUT_FILE         capture offline data from INPUT_FILE
  -c, --csv, --flow     output flows as csv

Convert pcap file to flow csv:

cicflowmeter -f example.pcap -c flows.csv

Sniff packets real-time from interface to flow csv: (need root permission)

cicflowmeter -i eth0 -c flows.csv

About

CICFlowMeter is a network traffic flow generator and analyzer.

Resources

License

Stars

Watchers

Forks