1832940 Members
2846 Online
110048 Solutions
New Discussion

problem with remshd

 
Stanley Merkx
Advisor

problem with remshd


I have a problem with remshd: very often a remsh fails. On the server I see the following message in the syslog: remshd: connection from ilegal port.

An rlogin works fine...

I've checked the manpages, they say that remshd checks if the source port is a reserved port (>512 and <1024), and that remsh uses a function call to get a reserved port for the outgoing connection. According to this things cannot go wrong...

however, when I manage to do a netstat -rn quickly enough, I can see that the source port on the client is >1024 !!

How is this possible ? Anybody seen this before ? And more important: what can I do about it ?

Tia
Stanley.
1 REPLY 1
Vincenzo Restuccia
Honored Contributor