feat: initial InformatiQ Toolkit plugin
Merges informatiq-wp-secure + informatiq-utils + HoneypotFields into a single unified plugin with the following improvements: - Fixed deactivation bug: all protection methods now guard themselves with their own option check so toggling off via AJAX takes effect immediately without any hook re-registration. - Added rate-limiting for good/legitimate bots (Googlebot, Bingbot, DuckDuckBot, Yandex, etc.) via transient sliding-window counters; configurable per-bot limits in goodbots.conf (BotName|req/min); returns HTTP 429 with Retry-After: 60 when over limit. - Unified MySQL-backed logging (itk_bot_log + itk_honeypot_log tables) replaces the old wp_options-based 100-entry cap. - New Dashboard tab with terminal-style bot activity monitor: total blocked, today's count, rate-limited hits, top threat sources (bar chart), top IPs, top honeypot form types, active-module status panel. - All optimizations from utils.php merged into Optimization tab as toggleable settings (was always-on before). - Single admin page (Settings → InformatiQ Toolkit) with 8 tabs: Dashboard | Bot Blocker | Protection | Optimization | Honeypot | Bot Logs | Honeypot Logs | Config Files. - Config file editor for badbots.conf, goodbots.conf, referrers.conf, networks.conf, allowed-ips.conf with AJAX save and transient flush. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
23
config/goodbots.conf
Normal file
23
config/goodbots.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
# Good/Legitimate bots - these are rate-limited but NOT blocked
|
||||
# Format: BotName|rate_per_minute
|
||||
# Lines starting with # are comments
|
||||
|
||||
Googlebot|60
|
||||
Bingbot|60
|
||||
DuckDuckBot|60
|
||||
Baiduspider|30
|
||||
YandexBot|30
|
||||
Sogou|20
|
||||
Applebot|30
|
||||
facebot|30
|
||||
ia_archiver|20
|
||||
Twitterbot|30
|
||||
LinkedInBot|30
|
||||
Slurp|30
|
||||
MJ12bot|20
|
||||
AhrefsBot|10
|
||||
SemrushBot|10
|
||||
DotBot|20
|
||||
PetalBot|20
|
||||
Bytespider|20
|
||||
GPTBot|0
|
||||
Reference in New Issue
Block a user