Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Deny Access to a website

www.baidu.com Abuse !


mel the snowbird

6:02 pm on Dec 13, 2012 (gmt 0)

I would like to 'Deny Access' to anyone coming to my home-based Apache 2.2.22 server via www.baidu.com

How do I do this please ?

(btw, I am having a continuous series of DoS attacks with the person on the other end of this who uses a wide variety of IP addresses when he/she uses this attack method. Currently, I 'Deny Access' to any IP addresses I note associatred with this 'baidu' attack -- but the attacker uses *many* different IP addresses, but *each* attack has 'http://www.baidu.com' in the access.log file)

Thank you.

Mel Smith
Mesa, Arizona


6:14 pm on Dec 31, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

maybe you could try something else. there's more than one way to block spammers.
there's a popular php script called "bad behaviour" that might help (and it's free too - just got to google it). it can log IP adresses into a database automatically too, if you set it up right.

there used to be a bot blocker script in the library somewhere at webmasterworld too but i cant find it. from memory, i think you could set it so anyone who requested pages too quickly would get automatically blocked.
anyone who grabbed one page every two seconds for ten seconds, for example, (or whatever you set it up as) would get automatically added to the banned list

those kind of scripts have an advantage in that they don't rely on you knowing the IP, or where they originally came from. because they block their behaviour


6:33 pm on Dec 31, 2012 (gmt 0)

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

there used to be

Blocking Badly Behaved Bots #3 [webmasterworld.com]

Ban malicious visitors with this Perl Script [webmasterworld.com]

mel the snowbird

8:12 pm on Dec 31, 2012 (gmt 0)

Hi Wilderness:

The set of 204.56.xxx.yyy IP addresses are from the icrossing.com ISP.

Since Dec 21st, I have been attacked from there with the following set of IP addresses:

All of these have been, of course, denied.

But, its still a pain-in-the-butt to watch this hopeless try his infantile attacks.

This 33 message thread spans 2 pages: 33

Featured Threads

Hot Threads This Week

Hot Threads This Month