Maximum concurrent connections from an IP

Hi!,
    I have a website and I have been experiencing a lot of attacks lately, I just wanted to know if there's a method to limit the maximum connections from any ip in order to avoid having those attacks. I have SSH access to my website and I can see a lot of open connections(up to 500) from certain ips, I want to limit the access by limiting the number of max concurrent connections. How can I do this?

Thank you!
astracterAsked:
Who is Participating?
 
ravenplConnect With a Mentor Commented:
Firewall based sollution http://www.debian-administration.org/articles/187
It's for ssh, then You would have to tune it heavily.
But the best sollution is to put squid-proxy in acceleration mode in front of such apache server.
0
 
ravenplCommented:
0
 
astracterAuthor Commented:
Oh!, Thank you!..

How can I split the points between the two of you?
0
 
ravenplCommented:
Accept any of them, or there is a link just above the edit field(so far I remember).
0
 
astracterAuthor Commented:
lol..I thought that it was  2 persons who replied...thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.