Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* telnet long to offer login
@ 2006-09-06 11:43 laulau
  2006-09-06 12:32 ` Wim Cossement
  2006-09-06 13:33 ` Piotr Hosowicz
  0 siblings, 2 replies; 6+ messages in thread
From: laulau @ 2006-09-06 11:43 UTC (permalink / raw)


Hi,

  I'm no Tru64 admin, but for historical reasons, I'm the closest
available approximation to one, in a heterogeneous network, where we
have a Tru64 5.1A machine, a 5.1B one, a Windows and some Linux boxes.

When trying to telnet on the 5.1A machine, everything works fine when
the client is on the 5.1B or Linux. However, the Windoze one suffers
from a looong delay (typically 1 minute) between the time the user hits
the RETURN key at the end of the 'telnet' command, and the time when he
is asked his login name. Telnetting the 5.1B machine is ok from any
other machine.

I'v ruled out DNS, since using IP adresses has no effect (better or
worse) on this. Using another client (like puTTY), or even SSH instead
of telnet, also has no impact.

Has anyone an idea about what could cause the extra delay when using
telnet from Windoze to 5.1A ?

Thanks,

  laurent



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: telnet long to offer login
  2006-09-06 11:43 telnet long to offer login laulau
@ 2006-09-06 12:32 ` Wim Cossement
  2006-09-06 13:20   ` laulau
  2006-09-06 13:33 ` Piotr Hosowicz
  1 sibling, 1 reply; 6+ messages in thread
From: Wim Cossement @ 2006-09-06 12:32 UTC (permalink / raw)


Hi,

It's safer to use OpenSSH and disable telnet completely.
Just tell your Windoze users to use PuTTY as their SSH client.

Wimmy
-- 
Being owned by someone used to be called slavery.
Now it's called commitment.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: telnet long to offer login
  2006-09-06 12:32 ` Wim Cossement
@ 2006-09-06 13:20   ` laulau
  0 siblings, 0 replies; 6+ messages in thread
From: laulau @ 2006-09-06 13:20 UTC (permalink / raw)



Wim Cossement a écrit :

> Hi,
>
> It's safer to use OpenSSH and disable telnet completely.
> Just tell your Windoze users to use PuTTY as their SSH client.
>
> Wimmy

thanks for the answer, however, by "no impact" in my post, I meant that
using SSH suffers from the same problem as telnet.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: telnet long to offer login
  2006-09-06 11:43 telnet long to offer login laulau
  2006-09-06 12:32 ` Wim Cossement
@ 2006-09-06 13:33 ` Piotr Hosowicz
  2006-09-06 13:57   ` laulau
  1 sibling, 1 reply; 6+ messages in thread
From: Piotr Hosowicz @ 2006-09-06 13:33 UTC (permalink / raw)


laulau wrote:

> I'v ruled out DNS, since using IP adresses has no effect (better or
> worse) on this. Using another client (like puTTY), or even SSH instead
> of telnet, also has no impact.

You ruled out DNS problems on theclient side, I suppose you tried :

telnet 1.2.3.4

... and it didn't make any change. But telnet server might make a 
reverse DNS lookup of the client's IP. The delay is because DNS responds 
slowly, either because it is slow or nonexistent or because it forwards 
requests to some other DNS servers. As a quick try just add the 
Winsnooze IP address to /etc/hosts file on the telnet server and try if 
you can connect quickly. If the problem disappears then this is the 
cause. Then either leave the Winsnooze IP address in /etc/hosts and 
manage it's changes by hand or add it to appropriate DNS server's zone.

The other possible cause: ident lookups. I don't know if the telnetd in 
Tru64 Unix does this and as a matter of fact modern services don't use 
it: the server might check by ident protocol who is the authenticated 
client process owner (on the client side). It might be that your 
Unix/Linux boxes run identd (unlikely) or the reject the connections 
immediately, as oposed to Winsnooze box which does i-dont-know-what. If 
the first metnioned trick with the /etc/hosts file doesn't work - try to 
add to packet filter on the telnet server stating that outgoing packets 
directed to ident port should be rejected immediately (not dropped 
silently, but rejected with icmp port unreachable). I cannot guide you 
through this, because I am new to Tru64. Ident port number can be found 
in /etc/services .

-- 
No signature found.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: telnet long to offer login
  2006-09-06 13:33 ` Piotr Hosowicz
@ 2006-09-06 13:57   ` laulau
  2006-09-06 14:53     ` Piotr Hosowicz
  0 siblings, 1 reply; 6+ messages in thread
From: laulau @ 2006-09-06 13:57 UTC (permalink / raw)



Piotr Hosowicz a écrit :


> You ruled out DNS problems on theclient side, I suppose you tried :
>
> telnet 1.2.3.4

   exactly.


> ... and it didn't make any change. But telnet server might make a
> reverse DNS lookup of the client's IP. The delay is because DNS responds
> slowly, either because it is slow or nonexistent or because it forwards
> requests to some other DNS servers. As a quick try just add the
> Winsnooze IP address to /etc/hosts file on the telnet server and try if
> you can connect quickly. If the problem disappears then this is the
> cause. Then either leave the Winsnooze IP address in /etc/hosts and
> manage it's changes by hand or add it to appropriate DNS server's zone.

  Your quick try makes the problem disappear, thanks ! I thought DNS
was ruled out, but it turned out its resolv.conf was not up to date.
Thanks for your help,

  laurent



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: telnet long to offer login
  2006-09-06 13:57   ` laulau
@ 2006-09-06 14:53     ` Piotr Hosowicz
  0 siblings, 0 replies; 6+ messages in thread
From: Piotr Hosowicz @ 2006-09-06 14:53 UTC (permalink / raw)


laulau wrote:

>   Your quick try makes the problem disappear, thanks ! I thought DNS
> was ruled out, but it turned out its resolv.conf was not up to date.
> Thanks for your help,

You're welcome. :-)

-- 
No signature found.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-06 14:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 11:43 telnet long to offer login laulau
2006-09-06 12:32 ` Wim Cossement
2006-09-06 13:20   ` laulau
2006-09-06 13:33 ` Piotr Hosowicz
2006-09-06 13:57   ` laulau
2006-09-06 14:53     ` Piotr Hosowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox