Skip to content

This is the python implementation of CICFlowMeter which aims to produce CSV based flow provided the network interface and PCAPs.

Notifications You must be signed in to change notification settings

daud99/FlowGenerator

Repository files navigation

Flow Generator

Creating Virtualenv

virtualenv venv

Activating Virtualenv

source venv/bin/activate

Installing dependencies

pip install -r requirements.txt

Usage

usage: python main.py [-h] (-i INPUT_INTERFACE | -f INPUT_FILE) [-c] [--output-file OUTPUT]

A Machine Learning based Real-time Intrusion Detection System in Network

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT_INTERFACE, --interface INPUT_INTERFACE
                        This interface will be used to capture traffic in order to convert it into
                        the flow.
  -f INPUT_FILE, --file INPUT_FILE
                        This file will be converted to the flow.
  -c, --csv, --flow     The output will be store in the form of csv in output file.
  --output-file OUTPUT  default: flow.csv, The file output will be written to.

Montoring interface in real time

python main.py -i interface -c

Root privilege is require to performe analysis in real-time.

About

This is the python implementation of CICFlowMeter which aims to produce CSV based flow provided the network interface and PCAPs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages