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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > CURL & file_get_contents throttling issues

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2012, 11:59 AM
atwellpub atwellpub is offline
New Member
 
Join Date: Dec 2012
Posts: 3
Question CURL & file_get_contents throttling issues

Hello!

I host with a company that uses litespeed and I've noticed that my own localhost IP address is being throttled by litespeed's anti-ddos measures.

CURL connections come back with this error:
Recv failure: Connection reset by peer

And if I attempt to connect to any site not found on localhost the connections go through ok.

How can I help my hosting provider allow me to make connection requests without the risk of being throttled.

ps. I do not know how long it takes, but eventually the tempban lifts and my connections start working again.
Reply With Quote
  #2  
Old 12-30-2012, 06:59 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,297
please refer:
http://www.litespeedtech.com/docs/we...sControl_allow
in lsws admin console,
Server->Security->Allowed List
"Trusted IPs or sub-networks set at server level access control will be excluded from connection/throttling limits"
Reply With Quote
  #3  
Old 01-03-2013, 12:28 PM
atwellpub atwellpub is offline
New Member
 
Join Date: Dec 2012
Posts: 3
Hi and thank you for the help!

So I could add 127.0.0.1 / localhost to the allowed list and I shouldn't see any tempbans on localhost? Or do I need to go further and ask for the server IP to be added as well?
Reply With Quote
  #4  
Old 01-03-2013, 05:32 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,297
Quote:
Or do I need to go further and ask for the server IP to be added as well?
you can identify which IP in access log.
"curl http://a.com"
if you can access virtual host a.com's access log, it can tell which IP is used to access http://a.com
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 03:31 AM.



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