A search of the internet may reveal a list and then instead of using the httpd.conf file add a .htaccess to the web site root folder, helps keep the httpd.conf file free of clutter.
This is how I do it on many of my hosted web sites that have this same issue and I can assure you there are such lists for you to download or copy and paste.
I usuall block an IP range (CIDR) as again, usually these are from well know and specific country IP blocks which helps keep the .htaccess file to a manageable size.
For example:
- Code: Select all
deny from xxx.xxx.xxx.xxx/24
There are few online CIDR conversion utilities that can convert an IP block range like
- Code: Select all
xxx.xxx.xxx.xxx - xxx.xxx.xxx.xxx
for you.
You can still add those you find in your log file and if you have a firewall then you could also try adding banned IPs into it's configuration settings, depending if available and how well you know how to configure your firewall.
Good luck,