In order to block China and Russia I'd recommend to create separate file that is included in your httpd.conf. Apache (if apache is used) is C language based program and once it loads the long IPs list in the memory will react super fast to any calls from IPs in the list. Unless you don't have access to edit the httpd.conf I wouldn't recommend adding this line in .htaccess file.
The list contains 8864 Russian networks and 5073 Chineese.
1. Download [Block China and Russia IP Networks](https://sourceforge.net/p/russiaandchinaipfiltering) in .htaccess
2. Save the file in the folder where httpd.conf is and name it the way you want. I used httpd.ip-filter.conf
3.Open the httpd.conf and include the line " include /path/to/the/httpd.ip-filter.conf " (without the quotes).
4. Save the conf and restart the apache
If you don't get any errors you should be all set!
If you don't know what you're doing, then just avoid using this list and its contents.
Follow Russia and China IP Filtering
User Reviews
-
It is a virus that opens a hole in your server. Put it and your site immediately hacked.