Solved

Question regarding ports and tcp connections

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

13 Experts available now in Live!

Get 1:1 Help Now