Apache
A single htaccess fragment with deny rules. It works on old and new Apache versions without extra modules.
Your cart
Your cart is empty.
Choose a planThe server answers first. Give it the same list that BotBlocker already keeps.
BotBlocker blocks a bad visitor inside WordPress. That works, but every blocked visit still loads the database, the plugins and the theme before the decision is made. Under a flood the site spends its memory on requests it will refuse.
The web server sees each visitor first and knows nothing about your ban list. An export closes that gap: the list becomes a file that Apache, nginx, fail2ban or iptables reads without asking PHP.
A server that refuses a known attacker keeps the worker free for real visitors, so a payment page stays available while a flood is running.
A single htaccess fragment with deny rules. It works on old and new Apache versions without extra modules.
A configuration snippet with one deny line per address, ready to include inside a server block.
A shell script that creates a jail, reloads the service and bans every address from the export.
A script that builds its own chain for IPv4 and a second chain for IPv6, then fills both with drop rules.
The export follows the kind of rule, not the single entry. Blocked addresses are the main part and are on by default. Temporary bans are on as well, so a rate limit that fired five minutes ago is already at the server. Expired entries and rules you switched off stay out.
Dark and gray rules are the judgement call. A dark rule sends a visitor to the check page, where a real person can still pass. A server file can only say yes or no, so exporting dark rules refuses those visitors outright. Gray rules are weaker still: they only mark a visitor as suspicious. Both switches are easy to leave on and both cost you real readers.
Allow rules never leave WordPress. They are the one part of the list that must not become a deny line by accident.
The file is a copy of the list at one moment. A ban added after the download is not in it, and a ban removed in BotBlocker stays active at the server until a new file replaces the old one.
The two scripts differ on a second run. The iptables script empties its chain and fills it again, so addresses that left the list stop being blocked. The fail2ban script only adds bans, and the default ban time has no end. An address removed from the export stays banned in fail2ban until someone unbans it by hand.
A temporary ban also outlives its end time on the server, because a static file has no clock. Export again after an attack, and on a schedule that matches how often your list changes.
Your own ranges, one per line, appended to every export. Never add your own address: the server will refuse you and BotBlocker cannot let you back in.
A number of seconds or a value such as 24h. The default keeps an address banned until someone removes it.
Only changes the comment at the top of the snippet. Set it to the real location so the include line is correct.
The complete set and the core that owns the ban list.
Moves the visitor check in front of WordPress, for requests the server lets through.
Counts not-found requests and feeds new addresses into the same ban list.
All four downloads, the rule types and the install order.