a fail2ban GUI powered by fail2rest
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
fail2ban allows you to administer the following
fail2web communicates with fail2ban via a REST server called fail2rest before fail2web can be used you will need an operational fail2rest instance.
fail2web has been reported to work on IE8 or newer, but is not actively tested on older platforms.
A guide to install fail2web on Ubuntu can be found here
If you find any errors open an PR against the markdown here
To install the production build of fail2web download the newest release. A fully built release will then be in the
webdirectory. Now you just need to serve the index.html, you can find further instructions here
npm installin the root of the fail2web repository
npm run watchthis will rebuild web/bundle.js on every change
npm run buildthis will build once and exit
fail2web is best accessed via a HTTP server, you can find example HTTP server configs here
Fail2web has only one configuration option available via config.json in the root of the web folder. This config option allows you to specify the path to your fail2rest handler. Currently the config.json uses /api/ which is what all the example HTTP configs are configured to do.
It is very important that you configured fail2rest correctly, a public facing fail2rest server could be very dangerous (someone could add inclusive regexes, remove themselves from the banned IP lists etc..)
Out of the box fail2rest has no authentication, and I have no plans of rolling my own authentication.
The HTTP configs are both set to use HTTP basic auth, this and SSL should be the absolute minimum security requirements. In both HTTP configs you will see a placeholder with the label of
To generate a HTTPASSWD file you can use the
htpasswdutil distributed with Apache HTTPD and
htpasswd -c YOUR_HTPASSWD_FILE USERNAMEwill create it.
I also recommend only serving fail2web/fail2rest on loopback only. You would access the server via a SSH tunnel, you can find more info Here
Please make a GitHub issue, this will allow others in the future to find the issue in the future.
Most of the time I will not be able to respond to emails in a timely manner, however with GitHub issues I try my best to keep the count 0.
The MIT License (MIT)
Copyright (c) 2014 Sean DuBois
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.