Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Intrusion-Detection-System(IDS)

simple-intrusion-detection-system designed to monitor network traffic and apply custom rules to detect and respond to various types of network activity.

Getting Started

Prerequisites

Before you begin, ensure you have Python installed on your system. It is recommended to use a virtual environment to manage dependencies.

Setting Up a Virtual Environment

  1. Create a virtual environment:

    virtualenv venv
  2. Activate the virtual environment:

    source venv/bin/activate

Installing Dependencies

Once the virtual environment is activated, install the required dependencies:

pip install -r requirements.txt

Configuring Alerts

If you intend to use the alert feature, you'll need to configure the alert endpoint in "rule.py"

webhook_url = 'https://your-alert-endpoint.com'

Customizing Rules

Rules determine how the IDS will react to different types of network traffic. Customize the "rules.txt" file to define your detection logic.

protocol src_ip:src_port -> dst_ip:dst_port action message

Running the IDS

python IDS_app.py

About

Simple Intrusion Detection System (IDS) written in python designed to monitor network traffic and detect suspicious activity based on predefined rules. The system leverages packet inspection to analyze network packets and apply a set of rules to identify potential threats.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages