Solved

Question regarding ports and tcp connections

Posted on 1997-11-18
2
226 Views
Last Modified: 2010-03-18
I am allowing a user to run a game on one of our systems but I want to limit the number of connections that can connect to the port the game will be running on. (actually there will be three ports, one I want to limit to 5, one to 10, and one to 100)

Also, How can I prevent someone from just arbitrarily running a game on any port above 1024?

Thanks in advance,
Chuck
0
Comment
Question by:chuckcarson
2 Comments
 
LVL 5

Accepted Solution

by:
n0thing earned 50 total points
ID: 1586879
Hi,

   If the port is under 1024. You could control the # of connections in your code, if you run it from inetd, you could
write a simpler perl program to wrap around your game and count the number of connections.
   Howerver if it's above the 1024 range, there's no way to control it.

Regards,
Minh Lai
0
 

Author Comment

by:chuckcarson
ID: 1586880
I know this can be done, I have been on systems that do it. I just can't get in contact with any of these people. You can even limit connections based on the amount of data being passed thru a specific port.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

837 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