LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   CURL & file_get_contents throttling issues (http://www.litespeedtech.com/support/forum/showthread.php?t=6510)

atwellpub 12-30-2012 11:59 AM

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.

NiteWave 12-30-2012 06:59 PM

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"

atwellpub 01-03-2013 12:28 PM

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?

NiteWave 01-03-2013 05:32 PM

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


All times are GMT -7. The time now is 10:12 PM.