Solved

Question regarding ports and tcp connections

Posted on 1997-11-18
2
204 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now