hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Managed Hosting and Services : Can a managed hosting handle SYN flooding?
Reply

Managed Hosting and Services Discussions on hosting and services offered by managed service providers. This includes reviews and general questions and answers about the managed services segment of hosting. Whether you purchased managed hosting or hired someone to manage your server, you're in the right place.
Forum Jump

Can a managed hosting handle SYN flooding?

Reply Post New Thread In Managed Hosting and Services Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-17-2006, 02:59 AM
mark0168 mark0168 is offline
WHT Addict
 
Join Date: Mar 2005
Location: Taiwan
Posts: 136

Can a managed hosting handle SYN flooding?


We often meet SYN flooding or web ripper (download our site with Teleport alike software) problem with our website.

They often make our site down for CPU overloading and too many connections.

The only way we can do now is to restart the server and block the IPs.
Unfortunately, that doesn't work for most blocked IPs are dynamic.
After several days, they come back again for that most peole connect to internet by other dynamic IPs.

We can't monitor our server for 24 hours a day, 365 days a year.
Is there any good managed hosting can help us to resolve the problem?

Downtime hurts our bussiness very much. We never know when the web rippers will come. We can't find effect solution on Google right now.

Any suggestions?
Thanks


Last edited by mark0168; 07-17-2006 at 03:13 AM.
Reply With Quote


Sponsored Links
  #2  
Old 07-17-2006, 03:21 AM
ServerOrigin ServerOrigin is offline
Web Hosting Master
 
Join Date: Jun 2006
Location: NYC
Posts: 1,408
I am not sure of any companies that will monitor your server for you unless they host it themselves. My company would provide the service through our 24 hour monitoring team but in a case like this it is hard to know just how someone else's datacenter/firewall rules are setup. I would guess you will find it to be tough getting this kind of service.

Have you tried setting up apache evade and apache security modules?

__________________
• ServerOrigin.Com • ethProxy™ DDoS Mitigation • Protect your current server in minutes! •
[Intrusion Detection • CDN • DDoS Protected VPS • DDoS Cloud Hosting • 99.99% SLA • AnyCast IP Services]
[Enterprise-Class DDoS Protection • Automated Datacenter Failover • Serving more than 1 million domains!]


Reply With Quote
  #3  
Old 07-17-2006, 10:42 AM
HostTitan HostTitan is offline
Web Hosting Master
 
Join Date: Dec 2003
Posts: 740
What safeguards have you attempted until now? What type of firewall, apache modules, and sql setup do you have? Have you considered creating a php script that can tell if someone is accessing many pages fast and banning? That could be interesting though i'm not sure its the most efficient way to go about it.

__________________
HostTitan

Reply With Quote
Sponsored Links
  #4  
Old 07-17-2006, 12:28 PM
dkitchen dkitchen is offline
Managed Hosting Expert
 
Join Date: Jan 2004
Location: North Yorkshire, UK
Posts: 4,163
Some providers with a good infrastrcuture will be able to filter this upstream before it reaches your server, and this is what you need. You may actually be better putting the server behind a reverse proxy or something of that nature.

Be upfront with the provider and let them know you have these problems, if they aren't aware before you sign up, they may not be able to help you.

What kind of budget do you have for this? Are the downloads suspicious or anything of that nature (i.e. is there a reason they might be doing this?).

Dan

__________________
█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).


Reply With Quote
  #5  
Old 07-17-2006, 02:32 PM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
If you invest in a hardware firewall (managed) syn flooding typically are possible to filter unless it huge and chews up the processor on the firewall as well. If it is the sort that you can simply block and they go away for a few days, chances are it's small enough for most hardware firewalls to handle such as a Cisco Pix.

As for Apache level attacks, they are harder to block. But web rippers are easy to block as they come from a single IP. What we have done for some clients is that we have written a custom script that blocks any IPs that exceed a certain set threshold of connections.

You may also want to hire managed services that do proactive / reactive monitoring. i.e. they will log in to check if the loads get too high etc , or if the services go down.

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #6  
Old 07-17-2006, 03:26 PM
steven-v steven-v is offline
Web Hosting Master
 
Join Date: Apr 2005
Location: San Francisco, CA
Posts: 992
I would suggest you to try professional server optimization - in some cases pro's can help you optimize your server in such a way, that you forget about this kind of headaches.

Reply With Quote
  #7  
Old 07-17-2006, 05:52 PM
mark0168 mark0168 is offline
WHT Addict
 
Join Date: Mar 2005
Location: Taiwan
Posts: 136
In fact, we host our server on a very good reputation managed hosting. We can only afford their basic managed service, but bought a optional hardware firewall Cisco PIX and a extra ports watch service.

We have met three times down for SYN flooding or web rippers over the 3 days.
Our hosting supports said that they can do nothing about that for they can not moniter the speed of MySQL or Apache. What they can do is when some ports of our server down, they will check for me and resolve it if they can.

The question is that showing a blank page or showing error pages have the same meaning of downtime to our visitors or consumers. They don't care wether your server is still online. What they see is that our webstite blank or error.

About firewall, our hosting said that Cisco PIX can do nothing to SYN Flooding.
They suggested us to install mod_evasive yesterday.

However, I have searched WHT for mod_evasive. I start to worry about the disaster mod_evasive will give us. Some said that mode_evasive will block normal visitors as well especially when a site generates numerous image as .php filename by GD alike modules. Or it will easy to block consumers who are using IE as their browsers.

Anyway, while I am repling this thread. Our site is down for SYN flooding again.
I have to admire ourself for that we can attract so many rippers come. : ( Orz
I have no choice but ask my hosting to install mod_evasive now.

Is there a much better idea to stop the rippers? Any way I don't need to moniter our server all day long?


Last edited by mark0168; 07-17-2006 at 05:56 PM.
Reply With Quote
  #8  
Old 07-17-2006, 05:59 PM
reiteration reiteration is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: London UK
Posts: 676
Managed hosting should make sure your protected from SYN flooding.

If they don't its time to move.

__________________
UK SSD VPS without compromise - upto 140k IOPS !
www.clustered.net

Reply With Quote
  #9  
Old 07-17-2006, 06:06 PM
mark0168 mark0168 is offline
WHT Addict
 
Join Date: Mar 2005
Location: Taiwan
Posts: 136
Quote:
Originally Posted by reiteration
Managed hosting should make sure your protected from SYN flooding.

If they don't its time to move.
Thanks.
However, we don't know which managed hosting can resolve the problem for us?
Anyone can recommend a managed hosting can handle that?
I really appreciate that if you can shared with me by PM or reply here.

By the way, I just wonder if mod_evasive will stop normal visitors. Will Yahoo or Goolge spider be blocked? If so, that's another disaster to us for that we have some good ranking on keyword pages.

Anyway, I hate rippers....Orz

Reply With Quote
  #10  
Old 07-17-2006, 06:10 PM
reiteration reiteration is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: London UK
Posts: 676
That depends on your budget and the location you want.

SYN flooding is quite easy to protect against, DOS too, DDOS is the worst.
Sure you can buy firewalls that claim to protect again DDOS but in reality when your being attacked by thousands of servers nothing will help you.

What OS are you running ?

__________________
UK SSD VPS without compromise - upto 140k IOPS !
www.clustered.net

Reply With Quote
  #11  
Old 07-17-2006, 07:13 PM
mark0168 mark0168 is offline
WHT Addict
 
Join Date: Mar 2005
Location: Taiwan
Posts: 136
We have not ever faced DDos, only small SYN flooding..
So our server is not down but all our website are.
To our consumers, nothing different between Server or Website down.

We are using Redhat RL4 with Cisco PIX.
If Hardware firewall (CISCO PIX) can stop even small DDos, why our managed hosting said that they can do nothing about SYN flooding.
I don't know whether the budget more than 500USD a month budget can help us to stop SYN flooding.
We pay for our hosting more than 500USD monthly now.
My partner agree with you that perhaps our budget is too little so that our manged hosting don't want to pay much attention to us.

Reply With Quote
  #12  
Old 07-17-2006, 07:59 PM
reiteration reiteration is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: London UK
Posts: 676
You could be right that they consider you too small to help, or want you to spend more.

Check if SYN cookies are enabled:

cat /proc/sys/net/ipv4/tcp_syncookies

Should give 1 if its enabled.

__________________
UK SSD VPS without compromise - upto 140k IOPS !
www.clustered.net

Reply With Quote
  #13  
Old 07-17-2006, 09:47 PM
mark0168 mark0168 is offline
WHT Addict
 
Join Date: Mar 2005
Location: Taiwan
Posts: 136
No, I have check the tcp_syncookies of my server.
It is "0". Does that mean our current hosting is not professional enough to be a managed hosting?

Should it be enabled? I googled it for a while but still not really understand it as Hardware Firewall function. Some people said that enable tcp_syncookies may delay the speed and may not take effect obviously .

Some articles said that we should try to adjust "time_wait2" alike stuff, but it seems to for FreeBSD, not Redhat.

One of the biggest question I have now is about Hardware Firewall, especially Cisco PIX. Since they can't stop SYN flooding, why some online shops said that it can against Dos on their webpages?

Reply With Quote
  #14  
Old 07-18-2006, 03:32 AM
reiteration reiteration is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: London UK
Posts: 676
If your having SYN attacks I would enable this :

echo 1 > /proc/sys/net/ipv4/tcp_syncookies

And see how things go. you can always put it back with:

echo 0 > /proc/sys/net/ipv4/tcp_syncookies

Alot of sysctl variables can be tuned in Linux to help erradicate your problems, the question is if your managed service provider feels your worth spending the time on.

__________________
UK SSD VPS without compromise - upto 140k IOPS !
www.clustered.net

Reply With Quote
  #15  
Old 08-01-2006, 10:26 AM
warp2cris warp2cris is offline
WHT Addict
 
Join Date: Dec 2004
Posts: 110
yes, your company should have this tcp_syncookies in place at least.

if the things get worst, try to see a specialized company for DOS/DDOS protection.

__________________
please, bear with me. tell me when I'm wrong, I'm not doing it on purpose

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Codero Hosting Launches On-Demand Storage Services Web Hosting News 2013-04-30 14:58:12
UK Hosting Giant iomart Acquires Hosting UK for $2.4 Million Web Hosting News 2012-12-05 10:26:17
OneNeck IT Services Names Vice President of Sales for Managed Hosting Web Hosting News 2012-06-08 16:20:20
Web Host DiscountASP.NET Adds Managed Team Server Foundation Hosting Web Hosting News 2011-11-14 21:48:28
Web Host QualiSpace Launches Managed Servers Web Hosting News 2011-10-14 17:07:58


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?