Difference between revisions of "IDS: cicflowmeter.py"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Installation git clone https://gitlab.com/hieulw/cicflowmeter cd cicflowmeter python setup.py install or pip install cicflowmeter Usage usage: cicflowmeter [-h] (-i...") |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
Installation | Installation | ||
+ | cd /usr/local/src/ | ||
git clone https://gitlab.com/hieulw/cicflowmeter | git clone https://gitlab.com/hieulw/cicflowmeter | ||
cd cicflowmeter | cd cicflowmeter |
Revision as of 10:35, 21 April 2022
Installation
cd /usr/local/src/ git clone https://gitlab.com/hieulw/cicflowmeter cd cicflowmeter python setup.py install
or
pip install cicflowmeter
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