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 | -u) [--fields FIELDS] [-v] output
positional arguments:
output output file name (in csv mode) or url (in url mode)
options:
-h, --help show this help message and exit
-i INPUT_INTERFACE, --interface INPUT_INTERFACE
capture online data from INPUT_INTERFACE
-f INPUT_FILE, --file INPUT_FILE
capture offline data from INPUT_FILE
-c, --csv output flows as csv
-u, --url output flows as request to url
--fields FIELDS comma separated fields to include in output (default: all)
-v, --verbose more verbose
Convert pcap file to flow csv:
cicflowmeter -f example.pcap -c flows.csv
Sniff packets real-time from interface to flow request: (need root permission)
cicflowmeter -i eth0 -u http://localhost:8080/predict
References:
Project details
Release history Release notifications | RSS feed
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.2.0.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file cicflowmeter-0.2.0.tar.gz
.
File metadata
- Download URL: cicflowmeter-0.2.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.8-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d51f085ec95c658101ef53467ed713dcce33cec1aae41d1f765b8461998631 |
|
MD5 | f5ce2ed07faeb9d0a734216270045b7a |
|
BLAKE2b-256 | 194bc068bdc1ccf290c2d09b4833da64cdbfbe4491b57cf5ec77d5b5f03a0b8e |
File details
Details for the file cicflowmeter-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: cicflowmeter-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.8-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a0bc97ed484358d61fd23ff727ba44f1dd31c594bc2d6a5769beb8e906d4d1e |
|
MD5 | df6223d355bca85961c3c8e9cc6a16ef |
|
BLAKE2b-256 | 5ff59b76ede28441fc72d207fb4a54ca11916dc37819b396e6bd3ccbf6bea07d |