A library for collection of IDS & robust-IDS and tools for evaluating them
Project description
Tarda - An Intrusion Detection System Library
Tarda is a library for the collection of Intrusion Detection Systems (IDS) and robust-IDS, along with tools for evaluating them.
Installation
You can install Tarda using pip:
pip install tarda
# Import the Tarda library
from tarda import AwesomeIDS
# Create an instance of the AwesomeIDS class
model = AwesomeIDS()
# Example: Parsing data from a pcap file
model.parse("path/to/your/file.pcap", "output/file.csv", save_netstat="output/netstat.pkl")
# Example: Training the model
train_params = {
"path": "output/file.csv",
"packet_limit": 20000,
"maxAE": 10,
"FMgrace": 16000,
"ADgrace": 4000,
"model_path": "output/kitsune.pkl",
"normalize": True
}
model.train_model(train_params)
# Example: Testing the model
benign_pos, _ = model.test_model("output/file.csv", "output/kitsune.pkl", threshold=None, out_image="output/benign.png", record_scores=True)
Change Log
==========
0.0.1 (16/04/2023)
------------------
- Initialization
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
tarda-0.0.9.tar.gz
(160.6 kB
view hashes)
Built Distribution
tarda-0.0.9-py3-none-any.whl
(194.0 kB
view hashes)