{"id":23187962,"url":"https://github.com/techy4shri/kmp-intrusion-detection-system","last_synced_at":"2026-02-15T02:31:53.289Z","repository":{"id":268605915,"uuid":"904325932","full_name":"techy4shri/KMP-Intrusion-Detection-System","owner":"techy4shri","description":"This IDS focuses on detecting intrusion attempts by matching patterns in network data (such as suspicious strings in payloads or requests). It integrates the Knuth-Morris-Pratt (KMP) string-search algorithm for efficient pattern matching while also using auxiliary methods such as hashing and tries for indexing or rule-based detection.","archived":false,"fork":false,"pushed_at":"2025-02-01T19:21:48.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T03:16:54.994Z","etag":null,"topics":["cpp11","cybersecurity-tools","data-structures","intrusion-detection-system","kmp-algorithm","multithreading","python-3","string-matching"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techy4shri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"techy4shri"}},"created_at":"2024-12-16T17:10:01.000Z","updated_at":"2025-02-01T19:21:51.000Z","dependencies_parsed_at":"2025-01-04T21:35:04.787Z","dependency_job_id":null,"html_url":"https://github.com/techy4shri/KMP-Intrusion-Detection-System","commit_stats":null,"previous_names":["techy4shri/kmp-intrusion-detection-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techy4shri%2FKMP-Intrusion-Detection-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techy4shri%2FKMP-Intrusion-Detection-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techy4shri%2FKMP-Intrusion-Detection-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techy4shri%2FKMP-Intrusion-Detection-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techy4shri","download_url":"https://codeload.github.com/techy4shri/KMP-Intrusion-Detection-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238120794,"owners_count":19419834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp11","cybersecurity-tools","data-structures","intrusion-detection-system","kmp-algorithm","multithreading","python-3","string-matching"],"created_at":"2024-12-18T11:11:36.915Z","updated_at":"2025-10-25T10:31:40.994Z","avatar_url":"https://github.com/techy4shri.png","language":"C++","funding_links":["https://github.com/sponsors/techy4shri"],"categories":[],"sub_categories":[],"readme":"# KMP-Intrusion-Detection-System\nThis IDS focuses on detecting intrusion attempts by matching patterns in network data (such as suspicious strings in payloads or requests). It integrates the Knuth-Morris-Pratt (KMP) string-search algorithm for efficient pattern matching while also using auxiliary methods such as hashing and tries for indexing or rule-based detection.\n\nThis is an ongoing project and will be updated as I work on it. \n## Features\n\n- **Efficient Pattern Matching**: Utilizes the Knuth-Morris-Pratt (KMP) algorithm for fast and efficient string searching.\n- **Auxiliary Methods**: Incorporates hashing and tries for indexing and rule-based detection.\n- **Real-time Detection**: Capable of analyzing network data in real-time to detect intrusion attempts.\n- **Modular Design**: Easy to extend and integrate with other systems.\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/yourusername/KMP-Intrusion-Detection-System.git\n    ```\n2. Navigate to the project directory:\n    ```sh\n    cd KMP-Intrusion-Detection-System\n    ```\n3. Install the required dependencies:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n1. Run the main script to start the IDS:\n    ```sh\n    python main.py\n    ```\n2. Configure the IDS by editing the `config.json` file to specify patterns and rules.\n\n## Contributing\n\nThis is a personal project and as such, no contributions are welcome at the moment.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. (to be added)\n\n## Contact\n\nFor any questions or suggestions, please raise a new discussion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechy4shri%2Fkmp-intrusion-detection-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechy4shri%2Fkmp-intrusion-detection-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechy4shri%2Fkmp-intrusion-detection-system/lists"}