homepage Welcome to WebmasterWorld Guest from 54.204.67.26
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
How do we block all traffic originating from a few nations?
trader




msg:4321711
 8:18 pm on Jun 3, 2011 (gmt 0)

It seems like the vast majority of all brute force attacks to our server (well over 90%) and other unwanted scam/spam traffic comes from China, Mexico and Turkey.

Every day we blacklist their IPs but it's taking up lots of time and getting weary since it's a never-ending process what with 100s or 1000s of IPs potentially involved.

We asked our webhosting firm for instructions on how to block ALL traffic from the 3 nations but for some odd reason they ignore that question and instead say to continue blocking individual IPs.

There is little if any good reason anyone from those nations would want to visit our websites in the first place so we would not be losing quality traffic and legitimate business.

Can someone here tell us how to do it?

 

Leosghost




msg:4321740
 9:04 pm on Jun 3, 2011 (gmt 0)

Various solutions ..depends if you have access to .htaccess on your site/server.. or not and if not then it also depends on what the server OS is ..

Question is better asked in apache forum..( unless you are on a windows server with asp pages, in which case ask in the MS forum ) there have been many threads on this in the past ..

What you are looking for is "geo-ip blocking" or "geo-ip banning".

trader




msg:4321864
 5:14 am on Jun 4, 2011 (gmt 0)

Thanks Leo, yes I can use .htaccess and the server is Linux with Cpanel.

Maybe a Mod can move this to the right forum?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved