Solved

Question regarding ports and tcp connections

Posted on 1997-11-18
2
236 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
[X]
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
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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