Fail2ban web dashboard written with Flask framework.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs/screenshots
static
templates
.travis.yml
README.md
fail2ban_dashboard.pid
home.py
home.pyc
requirements.txt

README.md

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.