Hi guys,
When looking at my access_log I notice very much invalid requests, for example:
Now I wonder ... is there another way to protect my server against these invalid requests? Fail2Ban doesn't seem to notice them, so I can't ban them by using Fail2Ban. Should I even bother about these invalid requests? Or should I just accept that it happens?
What annoys me is that these requests 'pollute' my access_log. Is that something I should worry about, or is it just 'part of the game' and something I should learn to accept?
Any thoughts?
PS Like I said I will block some IP addresses by manually adding them to the Plesk firewall. I wonder though how many IP addresses I can add, before it causes a performance penalty. Will my server noticeably slow down when I add 10 IP addresses, or 100, or 1000 ???
When looking at my access_log I notice very much invalid requests, for example:
or104.148.44.242 - - [09/Jun/2016:19:13:58 +0200] "CONNECT www.baidu.com:443 HTTP/1.1" 405 235 "-" "-"
Since the first IP address executes many of these strange requests, I decided (on advice of another member on this forum) to create a special firewall rule for bad IP addresses and added this IP address.208.115.113.91 - - [10/Jun/2016:01:36:04 +0200] "GET /index.php/Digital_Radio_Mondiale HTTP/1.1" 404 230 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, [email protected])"
Now I wonder ... is there another way to protect my server against these invalid requests? Fail2Ban doesn't seem to notice them, so I can't ban them by using Fail2Ban. Should I even bother about these invalid requests? Or should I just accept that it happens?
What annoys me is that these requests 'pollute' my access_log. Is that something I should worry about, or is it just 'part of the game' and something I should learn to accept?
Any thoughts?
PS Like I said I will block some IP addresses by manually adding them to the Plesk firewall. I wonder though how many IP addresses I can add, before it causes a performance penalty. Will my server noticeably slow down when I add 10 IP addresses, or 100, or 1000 ???