Skip to main content

CICFlowMeter Python Implementation

Project description

Python CICFlowMeter

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

Installation

git clone https://github.com/hieulw/cicflowmeter
cd cicflowmeter
poetry install

Usage

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

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

options:
  -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             output flows as csv
  -v, --verbose         more verbosity

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

References:

  1. https://www.unb.ca/cic/research/applications.html#CICFlowMeter
  2. https://github.com/ahlashkari/CICFlowMeter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cicflowmeter-0.1.9.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

cicflowmeter-0.1.9-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page