Network Working Group
Request for Comment #167
NIC #6784
Socket Conventions Reconsidered
[Page 1]
RFC 167 Socket Conventions Reconsidered
It is recommended that both of these proposals be set aside. Because a large perturbation of the current NCP Protocol is required to provide adequate handles for accounting and access control, and because the socket number is already underpowered for its use, it is recommended that both proposals be set aside until serious consideration can be given to a major NCP Protocol overhaul.
[Page 2]
RFC 167 Socket Conventions Reconsidered
There are a number of ways of providing for potentially repeatable socket number assignments. One bad way is to have the NCP keep a list of all assigned socket numbers with some indication of who is permitted to use them and for how long -- like keeping track of magnetic tape reels. If there were few available socket numbers (e.g., 16 bits worth) this bad method or one comparably distasteful and logistically foreboding would have to be adopted. With an abundance of socket numbers it is possible, using sparse socket number assignment, to devise simple algorithms for deciding whether a socket numbers being requested by a process can be allocated freely. Such algorithms might take into account (1) the dynamic status of the socket (i.e., its association with a currently active connection), (2) its reserved status as a standard service port address, and (3) its access control attributes in relation to those of the requesting process.
[Page 3]
RFC 167 Socket Conventions Reconsidered
It has been suggested that it may not be necessary to maintain socket uniqueness. It is contended that there is really no significant use made of the socket number after a connection has been established. The only reason a host must now save a socket number for the life of a connection is to include it in the CLOSE of that connection. If such is really the case, then the NCP Protocol might be improved by inventing a new CLOSE which uses the host-line pair associated with the connection. Hosts which are short on space could then forget a socket number immediately after successful connection.