Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Maximum concurrent connections from an IP

Posted on 2006-10-24
5
540 Views
Last Modified: 2010-04-22
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!
0
Comment
Question by:astracter
  • 3
  • 2
5 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17798389
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 17798467
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
 

Author Comment

by:astracter
ID: 17799029
Oh!, Thank you!..

How can I split the points between the two of you?
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17799042
Accept any of them, or there is a link just above the edit field(so far I remember).
0
 

Author Comment

by:astracter
ID: 17799237
lol..I thought that it was  2 persons who replied...thank you.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SVN server question: Can I restrict only certain IP can get the codes from the SVN server? 4 127
Problem to line 1 59
Backing Up Ipset 9 120
centos linux 65 156
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question