Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Fail2ban web dashboard written with Flask framework. (not maintained)

Notifications You must be signed in to change notification settings

oussemos/fail2ban-dashboard

Repository files navigation

fail2ban-dashboard

Build Status

Fail2ban web dashboard written with Flask framework.

PS: I've started this project in 2015 to learn Python/Flask

Quick Start

  1. Clone the repo
$ git clone https://github.com/oussemos/fail2ban-dashboard.git
$ cd fail2ban-dashboard
  1. Initialize and activate a virtualenv:
$ virtualenv --no-site-packages env
$ source env/bin/activate
  1. Install the dependencies:
$ pip install -r requirements.txt
  1. Run the development server:
$ python home.py
  1. Navigate to http://localhost:5000

login: ouss password: pass

Deployment

For more stability, you can deploy the application with Gunicorn.

$ pip install gunicorn
$ gunicorn home:app -p fail2ban_dashboard.pid -b 0.0.0.0:5000 -D

Issues

  • The application is still under development, don't hesitate to give advice, open an issue or contribute.

System

  • This app was developed and tested under Debian Wheezy

Screenshots

Home

Config

Config filter

Banned IP

Changelog

(28-10-2014) : new features

  • Filters configuration
  • Authentification with password

(21-09-2015)

  • Fail2ban-dashboard is now compatible with init and systemd, Thanks to @nocternology

(30-03-2016)

  • Get the country of blocked IP using this API

Bonus

(15-11-2014)

  • A Docker fail2ban-dashboard preconfigured container based on Debian Wheezy
$ docker pull oussemos/fail2ban-dashboard

Author

Oussema Cherni (@oussemos on Twitter)

License

Open source licensed under the MIT license.

About

Fail2ban web dashboard written with Flask framework. (not maintained)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •