Solved

Linux Services: Restricting connections

Posted on 2006-07-02
4
215 Views
Last Modified: 2010-03-18
   

Hi Experts,

In case of a concurrent client - server connection, wherein every client is serviced by a child process, is there any        method by which I can restrict the number of clients that a server can attend to??

            Listen is not the solution, because listen command restricts the queue size for the socket.

            My query is that even if the server is able to serve more clients, I want to restrict the connections to say 4.

            Is such a thing possible???

            If Yes, then what is the method?

Thanks,
expertblr.
0
Comment
Question by:expertblr
  • 3
4 Comments
 
LVL 14

Expert Comment

by:pablouruguay
ID: 17030551
which service?  apache? ssh? ........
0
 

Author Comment

by:expertblr
ID: 17036644
ssh.

Is there differents methods  to restricting connections to different services?

0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 125 total points
ID: 17036665
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 17036672
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
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…

713 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