Metadata-Version: 2.1
Name: cicflowmeter
Version: 0.1.6
Summary: CICFlowMeter V3 Python Implementation
Home-page: https://gitlab.com/hieulw/cicflowmeter
Author: Le Hieu
Author-email: hieulw99@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: scapy
Requires-Dist: scipy


# Python CICFlowMeter

### Installation

```sh
git clone https://gitlab.com/hieulw/cicflowmeter
cd cicflowmeter
python setup.py install
```

or

```sh
pip install cicflowmeter
```

### Usage

```sh
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
```

### Reference: https://www.unb.ca/cic/research/applications.html#CICFlowMeter



