Git Product home page Git Product logo

easips's Introduction

EasIPS: a modular Intrusion Prevention System

This repo contains the source code for EasIPS, an easy-to-use and customizable modular Intrusion Prevention System programmed in Python.

General information

This software allows to dynamically block IPs that exceed a configurable number of failed login attempts in a customizable amount of time during an also user-defined time period.

These and many other settings can be adjusted from the web-based graphical user interface, where blocked IPs and more information can also be listed.

Supported services

  • WordPress
  • SSH
  • Joomla
  • phpMyAdmin

Run instructions

It's enough to run the main.py file with the python interpreter, given that the PIP dependencies (requirements.txt) are satisfied. Root permissions are needed to open a socket for the web server.

This script will run the application in the background, as well as the web GUI; the listening address and port can be specified in the call.

Project structure

  • /easips for the Python package, including:
    • locks.py for ServiceLock and its implementations
    • login_trackers.py for LoginTracker and its implementations
    • /web for the static GUI files (HTML, CSS & JavaScript)
    • gui.py for the Flask application
    • db.py for the database and models
    • core.py for the main loop and service management
    • app.py, which contains the main class that needs to be instantiated and run (EasIPS)
  • /ssh, /joomla, /phpMyAdmin, /wordpress for the different services
  • /tests to store test python files
  • main.py, which runs the whole application and the web GUI in the background

Development

EasIPS has been developed for the 2022 Network Security Course from TU Delft's MSc Computer Science by:

  • Jorge Bruned
  • Thomas Werthenbach
  • Job Kanis
  • Cesar van der Poel
  • Louise van der Peet
  • Ane Zubillaga Argal

easips's People

Contributors

anezubillaga avatar cesar48 avatar jbruned avatar jobkanis avatar thomaswerthenbach avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.