4.2bsd/rlogin/source port choices

Ron Stanonik stanonik at nprdc.arpa
Wed Jul 17 04:18:35 AEST 1985


4.2bsd/rlogin's use of reserved ports for user authentication
seemed the cause of a little problem here.  While a user was
rlogin'ed from a sun to a vax, the sun crashed.  After the sun
rebooted the user was unable to rlogin to the vax (connection
timed out?), apparently because the vax still thought the previous
connection from the sun was established, and the sun was trying
to reuse the same reserved port.  (rlogin chooses the source port
from the first available port starting at 1023, working downward.)
Of course killing the login on the vax marked the connection closed
and cleared up the problem, but there must be a better/nonmanual
way.  Have we've overlooked a 4.2bsd mod which allows rlogin or
the tcp's to sort this out?

Thanks,

Ron Stanonik
stanonik at nprdc



More information about the Comp.unix.wizards mailing list