Linux Archive

Linux Archive (
-   Debian User (
-   -   how to block 'rogue' attemps from China (

"H.S." 10-06-2008 04:23 PM

how to block 'rogue' attemps from China

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: - - [06/Oct/2008:11:52:52 -0400] "GET 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] 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
with a subject of "unsubscribe". Trouble? Contact

All times are GMT. The time now is 09:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.