Hi @hthsrtdtuk,
When a user is banned, previously “Quick Bans” would add that IP address to your .htaccess
file immediately. What we found is that if sites were under high levels of attack and multiple IP addresses were banned at the same time, this could result in the .htaccess
file being corrupted. This would end up crashing the entire site.
Because of that, as @nlpro mentioned, in 7.8.0 we moved to a new system. Banned users are still locked out, but not until after iThemes Security loads. Additionally, the new flush-files
scheduled task will add the most recent 100 bans to your .htaccess
every hour.
One reason why you might be seeing some banned IPs show up in Live Traffic would be if they were not in the list of the most recent 100. The reason we limited it to 100 IP addresses by default is to prevent issues with hosts that cap the size of the .htaccess
file. If you’d like, you can increase the amount of IPs using a filter.
add_filter( 'itsec_ban_users_max_hosts_for_server_config', function () {
return 200;
} );