Solved

Question regarding ports and tcp connections

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

627 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