homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

This 33 message thread spans 2 pages: < < 33 ( 1 [2]     
Deny Access to a website
www.baidu.com Abuse !
mel the snowbird

Msg#: 4527845 posted 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



WebmasterWorld Senior Member 5+ Year Member

Msg#: 4527845 posted 6:14 pm on Dec 31, 2012 (gmt 0)

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


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

Msg#: 4527845 posted 6:33 pm on Dec 31, 2012 (gmt 0)

there used to be

Blocking Badly Behaved Bots #3 [webmasterworld.com]

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

mel the snowbird

Msg#: 4527845 posted 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 ( 1 [2]
Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved