Article View: comp.unix.large
Article #232Re: What do you do when you run out of ip ports?
From: Casper H.S. Dik
Date: Wed, 30 Sep 1992 13:03
Date: Wed, 30 Sep 1992 13:03
33 lines
1585 bytes
1585 bytes
kevink@grant.ncd.com (Kevin Kelleher) writes:
>I have recently started running out of reserved ports used
>by rsh (ports < 1023).
>Has anyone found a solution for this problem?
>I have run into this on both a Sun running SunOS 4.1.2
>and a Solbourne running OS/MP 4.1A.1
There is no way to increase the reserved port space. The only
thing you can do is cut back on rsh-type connections.
There are several consumers of reserved ports:
outgoing rlogin, one per session, use telnet instead.
(all ingoing rlogins share the same address)
ingoing/outgoing rsh (use resp 1 and 2 reserved sockets)
These should not be long lived. Are people by any chance starting
x programs are such with 'rsh <host> "xcommand &"' ?
This holds on to several reserved ports without using them.
Use one of the x program (xon, xrsh) that closes all the socket end
points and releases the connection.
Other? Analyse the connections you have and see how you can
reduce the number of needed reserved ports.
Casper
--
| Casper H.S. Dik
| casper@fwi.uva.nl
Technical Details
Message-ID:
<1992Sep30.130324.29809@fwi.uva.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!mcsun!sun4nl!fwi.uva.nl!casperReferences:
<13599@lupine.ncd.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!mcsun!sun4nl!fwi.uva.nl!casper From: casper@fwi.uva.nl (Casper H.S. Dik) Newsgroups: comp.unix.large Subject: Re: What do you do when you run out of ip ports? Keywords: socket, ports, networking Message-ID: <1992Sep30.130324.29809@fwi.uva.nl> Date: 30 Sep 92 13:03:24 GMT References: <13599@lupine.ncd.com> Sender: news@fwi.uva.nl Organization: FWI, University of Amsterdam Lines: 33 Nntp-Posting-Host: adam.fwi.uva.nl