XFileSharing Pro - How to block Whole China?

Posts: 123
Joined: Apr 04, 2010 11:49 am

How to block Whole China?

#1 Postby mastypk » Jun 23, 2010 9:58 am


I am tired of Chinese bots attack. My servers are always overloaded by chinese. each ip has 20,000-50000 connections with 30-90% cpu load.

I have decided to ban whole china. Please let me know how can I do this?

Best Regards

Posts: 1054
Joined: Mar 10, 2009 2:34 am

#2 Postby ankurs » Jun 23, 2010 11:40 am

Posts: 123
Joined: Apr 04, 2010 11:49 am

#3 Postby mastypk » Jun 23, 2010 4:37 pm

Thanks for your help mate. I am checking this thread.

Posts: 116
Joined: Mar 03, 2010 11:26 am

#4 Postby FZee » Jun 24, 2010 12:34 am

You serious @mastypk?

I never knew China would DDOS your site that much...

I already have major legit uploaders from china , so i cant block them.

I've not seen much problems but im gona bookmark that thread.

(Thx @ankurs)

Posts: 70
Joined: Dec 30, 2009 9:34 pm

#5 Postby dotceo » Jun 24, 2010 1:33 am

Thanks! This always helps to weed out the low CPM rate countries :)

Posts: 521
Joined: Dec 19, 2009 5:12 pm

#6 Postby PowerChaos » Jun 24, 2010 2:12 am

if you got a bit knowledge of linux , then you can install csf

then you can block complete country's (including china by typing in cn )

but the best of all , it prevent mass conections if you setup it right

i got differend persones banned from around the world

some from china because ssh logins , others from quatar for mass conections ( 500+ conections in less then 300 seconds)

others from usa because failt ftp login
others from germany because failt pop3 login and a lot more of those stuff
so they are from around the world

go on google and search for .. ConfigServer Security&Firewall (csf in short)

please note , be sure to check everything before you put test mode out , because you can get easy blocked if you setup it wrong (be sure you are in whitelist with your ip)

hopely this helps you
Greetings From PowerChaos
ps: here is link http://www.configserver.com/cp/csf.html