I have been getting several connection attempts in my logs the past days originating from 198.27.74.* addresses. They seem to be checks for exploits since different user agents are reported and trying any of them in google.com returns spam reports.
I understand that banning IPs is better done before web.py is ever invoked, so do you think that it would be a good idea for pythonanywhere.com to ban these addresses or is the risk of blocking actual users too great?
Log sample follows.
198.27.74.212 - - [15/Jun/2013:01:28:01 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
198.27.74.197 - - [15/Jun/2013:01:31:35 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0"
198.27.74.179 - - [15/Jun/2013:01:39:18 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.1634 Safari/535.19 YE"
198.27.74.178 - - [15/Jun/2013:01:40:01 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"
198.27.74.71 - - [15/Jun/2013:01:46:28 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/17.0 Firefox/17.0"
198.27.74.220 - - [15/Jun/2013:01:50:00 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
198.27.74.218 - - [15/Jun/2013:01:53:27 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1"
198.27.74.169 - - [15/Jun/2013:01:54:20 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"
198.27.74.61 - - [15/Jun/2013:02:14:12 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Opera/9.80 (Windows NT 5.1; MRA 6.0 (build 5998)) Presto/2.12.388 Version/12.11"
198.27.74.63 - - [15/Jun/2013:02:24:57 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Opera/9.80 (Windows NT 6.1; Edition Yx) Presto/2.12.388 Version/12.11"
198.27.74.214 - - [15/Jun/2013:02:27:02 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.92 Safari/537.4"
198.27.74.185 - - [15/Jun/2013:02:55:18 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.1634 Safari/535.19 YE"
198.27.74.128 - - [15/Jun/2013:04:50:28 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) YaBrowser/1.1.1084.5409 Chrome/19.1.1084.5409 Safari/536.5"
198.27.74.180 - - [15/Jun/2013:05:11:32 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2"
198.27.74.181 - - [15/Jun/2013:05:17:54 +0000] "GET / HTTP/1.0" 200 2033 "http://abc.pythonanywhere.com/" "Opera/9.80 (Windows NT 6.1; WOW64; U; ru) Presto/2.10.289 Version/12.00"