LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > For the life of me, I can't find the destination url mentioned on the stats page.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2007, 04:41 PM
brettdavidsonnz brettdavidsonnz is offline
Member
 
Join Date: Nov 2007
Location: New Zealand
Posts: 27
Question For the life of me, I can't find the destination url mentioned on the stats page.

It's very useful to know what url is being hit when a ddos (or almost any other issue) occurs.

Am I missing something really obvious here or do I have to trawl through the vhost's access log?

Cheers,
Brett.
Reply With Quote
  #2  
Old 11-23-2007, 01:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Yes, you need to go through the access log for the URL.
Reply With Quote
  #3  
Old 12-20-2007, 02:34 PM
brettdavidsonnz brettdavidsonnz is offline
Member
 
Join Date: Nov 2007
Location: New Zealand
Posts: 27
Default Bummer

That counts Litespeed out for me then.

Service-status with the apache extended-status option enabled allows us to see the url requested - invaluable in trying to determine where possible faults might lie.

Is this ability going to be in Litespeed anytime soon?
Reply With Quote
  #4  
Old 12-20-2007, 08:37 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
LiteSpeed uses a more aggressive and more efficient way of handling dos attacks. When the IP source hits defined throttle ceilings, the request is stopped at earliest possible detection stage.. When an IP hits throttle, LiteSpeed doesn't waste any resources parsing that request's HTTP header/payload.

This is the reason why LiteSpeed does not log request destination of clients that are over the throttle limit.

Imagine a case of 100 simultaneous 1MB HTTP POST attack by a single DoS source. Why bother even parsing any part of the request. If it's over the connection/bandwidth limit, just deny the request.

Apache gave you the http destination because it just wasted resources parsing a payload that's already a security risk to begin with.
Reply With Quote
  #5  
Old 12-20-2007, 09:23 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
LiteSpeed mainly deal with DDoS attack automatically based on various throttling limit. No manual check needed under attack. The IPs hitting the limit has been logged in error.log .

Next release, we will add an option to block bad IPs with firewalls automatically, so the bots not even able to reach the web server port any more.

We plan to add content based DDoS detection in our advanced Anti-DDoS product, our current anti-DDoS feature is already the most powerful solution implemented inside a web server.
Reply With Quote
  #6  
Old 12-21-2007, 02:36 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
mistwang, while you are at it: how about something like a sliding window? e.g. having 10 requests in 10 seconds or something. I wouldn't want to block someone with more than one request per second as this can happen but if it happens for more than a couple of seconds ... .
also I'd like to configure exceptions for the limits e.g. for benchmarks or special ip-ranges (I don't want to stop the google crawler from indexing ... ).

yes, currently I'm doing all this in the php-scripts accessed but would be nice to have it in the webserver itself.
Reply With Quote
  #7  
Old 12-21-2007, 07:27 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Request rate limit only slow it down, will not result in being blocked.
Only when number of connections reach the limit, it will be banned.
Adding IP/subnet to trusted IP list at server level access control will bypass all per IP throttling.

So, current litespeed can do pretty much what you need now.
Reply With Quote
  #8  
Old 12-21-2007, 08:35 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
I know, thats really going offtopic now but I just want to continue that.
Where's the "Trusted IP list"? Do you mean the allowed list in access control?
Edit: oh, found the explanation in the docs for allowed list in access control
Quote:
If you have trusted IP or sub-network, then you must specify them in allowed list by adding a trailing "T" such as 192.168.1.*T. Trusted IP or sub-network is not limited by connection/throttling limit.
Also how would I implement my above requirement with raw lsws?
I want to limit requests to dynamic content to ~20 requests per 10 seconds - mainly for kicking agressive offline-browsing tools.
Static content can be downloaded with as many requests as wanted (don't have large static content, just some icons/images).
Reply With Quote
  #9  
Old 12-21-2007, 09:24 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by ts77 View Post
Also how would I implement my above requirement with raw lsws?
I want to limit requests to dynamic content to ~20 requests per 10 seconds - mainly for kicking agressive offline-browsing tools.
Static content can be downloaded with as many requests as wanted (don't have large static content, just some icons/images).
Just set "Dynamic request per second" to 2, and set "Static rquest per second" to "100". It only slow the client down, will not ban a client because of requesting more than 2 pages of dynamic content at the same time.
Reply With Quote
  #10  
Old 12-21-2007, 01:36 PM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
yeah but I want them to be blocked if they reach the limit, not just slowed down .
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:21 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.