forked from LynxGeekNYC/fail2ban-web-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
cleitonme/fail2ban-web-interface
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fail2Ban Webinterface (f2bwi) Monitoring fail2ban and manually ban / release IP's - get your fail2ban and jails running, if not already done - unpack archive and put contents to your webspace - protect this script, use at least .htaccess auth or ip allow/deny rules - allow use of "exec()" php function for this script if restricted - edit config.inc.php to your needs - run this script to check if socket access is ok - maybe you need to change the file /etc/init.d/fail2ban to this: at the end of "function do_start()" before the line "return 0" put "chmod 766 $SOCKFILE" to make the socket r/w for webserver user and then restart fail2ban - run the script with your browser update 30/12/2023 - by cleiton meurer -changed to use sudo - edit /etc/sudoers "www-data ALL=NOPASSWD:/usr/bin/fail2ban-client" -add language support pt br -changed script to support ipv6 -removed $SOCKFILE check replaced with a sudo check -changed error return locations to top of page
About
Simple Web Interface for Fail2ban that actually works
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 90.3%
- CSS 9.7%