# 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
```sh
git clone https://github.com/hieulw/cicflowmeter
cd cicflowmeter
poetry install
```
### Usage
```sh
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:
1. https://www.unb.ca/cic/research/applications.html#CICFlowMeter
2. https://github.com/ahlashkari/CICFlowMeter
Raw data
{
"_id": null,
"home_page": "https://github.com/hieulw/cicflowmeter",
"name": "cicflowmeter",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Hieu Le",
"author_email": "hieulw99@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/19/4b/c068bdc1ccf290c2d09b4833da64cdbfbe4491b57cf5ec77d5b5f03a0b8e/cicflowmeter-0.2.0.tar.gz",
"platform": null,
"description": "# Python CICFlowMeter\n\n> This project is not maintained actively by me. If you found something wrong (bugs, incorrect results) feel free to create issues or pull requests.\n\n### Installation\n\n```sh\ngit clone https://github.com/hieulw/cicflowmeter\ncd cicflowmeter\npoetry install\n```\n\n### Usage\n\n```sh\nusage: cicflowmeter [-h] (-i INPUT_INTERFACE | -f INPUT_FILE) (-c | -u) [--fields FIELDS] [-v] output\n\npositional arguments:\n output output file name (in csv mode) or url (in url mode)\n\noptions:\n -h, --help show this help message and exit\n -i INPUT_INTERFACE, --interface INPUT_INTERFACE\n capture online data from INPUT_INTERFACE\n -f INPUT_FILE, --file INPUT_FILE\n capture offline data from INPUT_FILE\n -c, --csv output flows as csv\n -u, --url output flows as request to url\n --fields FIELDS comma separated fields to include in output (default: all)\n -v, --verbose more verbose\n```\n\nConvert pcap file to flow csv:\n\n```\ncicflowmeter -f example.pcap -c flows.csv\n```\n\nSniff packets real-time from interface to flow request: (**need root permission**)\n\n```\ncicflowmeter -i eth0 -u http://localhost:8080/predict\n```\n\n### References:\n\n1. https://www.unb.ca/cic/research/applications.html#CICFlowMeter\n2. https://github.com/ahlashkari/CICFlowMeter\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CICFlowMeter Python Implementation",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/hieulw/cicflowmeter",
"Repository": "https://github.com/hieulw/cicflowmeter"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5ff59b76ede28441fc72d207fb4a54ca11916dc37819b396e6bd3ccbf6bea07d",
"md5": "df6223d355bca85961c3c8e9cc6a16ef",
"sha256": "6a0bc97ed484358d61fd23ff727ba44f1dd31c594bc2d6a5769beb8e906d4d1e"
},
"downloads": -1,
"filename": "cicflowmeter-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "df6223d355bca85961c3c8e9cc6a16ef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 16874,
"upload_time": "2024-05-02T10:09:53",
"upload_time_iso_8601": "2024-05-02T10:09:53.434812Z",
"url": "https://files.pythonhosted.org/packages/5f/f5/9b76ede28441fc72d207fb4a54ca11916dc37819b396e6bd3ccbf6bea07d/cicflowmeter-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "194bc068bdc1ccf290c2d09b4833da64cdbfbe4491b57cf5ec77d5b5f03a0b8e",
"md5": "f5ce2ed07faeb9d0a734216270045b7a",
"sha256": "c9d51f085ec95c658101ef53467ed713dcce33cec1aae41d1f765b8461998631"
},
"downloads": -1,
"filename": "cicflowmeter-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "f5ce2ed07faeb9d0a734216270045b7a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 12611,
"upload_time": "2024-05-02T10:09:54",
"upload_time_iso_8601": "2024-05-02T10:09:54.998231Z",
"url": "https://files.pythonhosted.org/packages/19/4b/c068bdc1ccf290c2d09b4833da64cdbfbe4491b57cf5ec77d5b5f03a0b8e/cicflowmeter-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-02 10:09:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hieulw",
"github_project": "cicflowmeter",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "cicflowmeter"
}