My web application is getting more and more hits from unknown sources trying to access secure pages, such as admin panel, etc. So, I want to block IP address from certain countries using this source. I've listed all the IPs I want to block in the httpd.conf
file, and now it contains nearly 10,000 lines.
Will this decrease the performance of the apache2 web server?
And is there any difference between the two following approaches:
1)
Require not ip 192.168.5.1 192.168.6.1 192.168.7.3
2)
Require not ip 192.168.5.1
Require not ip 192.168.6.1
Require not ip 192.168.7.3