=== Banned IPs ===
Tags: fail2ban, php, WordPress, Linux, FreeBSD, blocklist, abuseipdb
Contributors: emha.koeln
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.7
Requires PHP: 7.2+
Requires php-sqlite3
Requires php-curl
Requires php-gd
Requires fail2ban: 0.11+
Shortcode [bannedips] and Widget for showing the current blocked IPs by fail2ban and/or statistics
from your blocklist and abuseipdb account
== Description ==
Shortcode [bannedips] and Widget for showing the current blocked IPs by fail2ban and/or statistics
from your blocklist and abuseipdb account
== Installation ==
1. Make your fail2ban database readable to the web server
(e.g. on a comon GNU/Linux as root
# chown root:www-data /var/lib/fail2ban/fail2ban.sqlite3
# chmod 0640 /var/lib/fail2ban/fail2ban.sqlite3
)
2. Use it with fail2ban's 'banntime.increment' settings!
WordPress:
1. Put the plugin folder into [wordpress_dir]/wp-content/plugins/
or install via the WordPress Plugin interface
2. Go to the WordPress admin interface and activate the plugin
3. Set defaults in Banned IPs' configuration interface
== Homepage ==
https://wp-plugins.emha.koeln/banned-ips DE
https://wp-plugins.emha.koeln/banned-ips-en EN
https://sourceforge.net/projects/banned-ips/ EN
https://github.com/emha-koeln/banned-ips DEV
== Frequently Asked Questions ==
No questions have been asked.
== Screenshots ==
Screenshots available on https://sourceforge.net/projects/banned-ips/
== Options/Attributes ==
db Fail2Ban DB default: "" (autodetect)
lang Language: "de" default: 0
ab_links show links to abuseipdb.com default: 0
ab_stats show AbuseIPDB stats default: 0
ab_account_id AbuseIPDB Number default: ""
bl_links show links to blocklist.de default: 0
bl_stats show BlockList stats default: 0
bl_account_serverid Blocklist ServerID default: ""
bl_account_apikey Blocklist APIKey default: ""
You may change the defaults in the Banned IP's configuration interface
or, for standalone use, inside the banned.php file
== Use ==
As WordPress Shortcode:
Sample: [bannedips]
or: [bannedips db='/path/to/fail2banDB' lang='de' bl_links=false]
Attributes given overwrite defaults.
Standalone:
The files 'banned.php','SqliteDB', 'abuseipdb_stats.php' and 'blocklist_stats.php' maybe
used 'as is' on your site without WordPress. For configuration see '$my*'-vars inside banned.php.
== Tested on ==
Ubuntu Ubuntu 18.04.5 LTS
defaults: look above 'Requires'
apache 2.4
Debian 10.5
defaults: look above 'Requires'
apache 2.4
MariaDB 10.3
FreeBSD 12.x
defaults: look above 'Requires'
apache 2.4
== Changelog ==
= 0.3.0 =
Bugs: Installation in 'banned-ips' plugin folder only works with 'banned-ips.zip'
? Translation in Widget
! Doesn't work as Frontpage
Null in ConnectBlocklist
Map doesn't allways match CoordImage (if Imagesize is change by WP)
Cronjobs not working: Try "define('ALTERNATE_WP_CRON', true);" in wp-config.php
TODO: Use more OOP, Standalone Testing
NEW: now based on https://github.com/DevinVinawson/WordPress-Plugin-Boilerplate (not all done)
= 0.1.5 =
not published, changed to 0.3.0
= 0.1.5.alpha =
Bugs: Installation in 'banned-ips' plugin folder only works with 'banned-ips.zip'
Translation in Widget
! Doesn't work as Frontpage
Null in ConnectBlocklist
TODO: Cron, Use statistics from own DB, Graph Colors, blocklist per user stats,
Widget
NEW: Options: i18n, Use Cron, Show Stats Graph
With Cron we use our own stats-db for abuseipdb and blocklist
Transparent Graphs in Widget
Options, Options-Page, WP-Cronjobs, Graph
= 0.1.4 =
Bugs: Installation in 'banned-ips' plugin folder only works with 'banned-ips.zip'
Test WP deactivation hook, WP cron, Blocklist and AbuseIPDB Statistics
New Options: ab_account_id,
ab_stats,
bl_account_serverid,
bl_account_apikey,
bl_stats
Changed Options: link_ab => ab_links
link_bl => bl_links
= 0.1.3 =
Bugs: Links don't work in page-preview (?)
Installation in 'banned-ips' plugin folder only works with 'banned-ips.zip'
Test WP activation hook, test own DB table
= 0.1.2 =
Bugs: Links don't work in page-preview (?)
Installation only works with 'banned-ips.zip'
fail2ban DB autodetect, delete options on deinstallation/uninstall.php
= 0.1.1 =
Bugs: Links don't work in page-preview (?)
German translation, preview, standalone php warnings
= 0.1 =
Bugs: Links don't work in page-preview