On my Debian server I run at home, I notice that there are numerous
attempts at trying to access some php pages or trying use my server as a
proxy. Some examples:
18.104.22.168 - - [06/Oct/2008:11:52:52 -0400] "GET
http://scifi.pages.at/myproxies/azenv.php HTTP/1.1" 404 367 "-"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
[Mon Oct 06 07:59:19 2008] [error] [client 22.214.171.124] script
'/home/tmpuser/koha/opac/htdocs/prx1.php' not found or unable to stat
.. and so on (the last one is a log of Koha, the library management
Recently I ran a little bash script to check the country that these ip
addresses belonged and discovered they are all, *all*, so far from
China. Here are some of the ip addresses:
Though I keep the machine updated and I am not running a proxy, still I
would want to block the rogue ip addresses, or even better, the block of
rogue IP address. If push comes to shove, blocking whole of China may
also be considered (it might save the number of iptables rules I would
Any tools to do this in Debian? What do others do in this kind of a
situation? I know, I can just leave it be since they are getting 404'ed,
but to be extra safe (prevent a zero day attack?), blocking them might
be a good idea.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org