Networking Forums

Networking Forums > Computer Networking > Linux Networking > telnet hanging intermittenly

Reply
Thread Tools Display Modes

telnet hanging intermittenly

 
 
Ben K. Li
Guest
Posts: n/a

 
      10-03-2003, 04:01 AM

Hi,

Here's my problem. I have redhat 9 installed. Every once in awhile (more
often than not), I will telnet into my machine from work and it will hang.
It doesn't hang on the login. I actually login and get a prompt.
However, when I do something else like ls or pine, the connection will
freeze. Using send ayt from telnet prompt returns a YES. The only way to
get out of it is to do a ctrl-] and then quit. I can immediately login
again, but same problem exists.

I'm telneting out of a firewall-telnet gateway from work and I don't seem
to have any problems when I go to cyberspace.org (for example).

Strangely, sometimes this problem does not occur at all.

Could someone begin to give me a hand as to what is causing this?

Are there logs pertinent to telnetd that I can look at to debug this
problem?

Thanks in advance.

Ben Li
(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      10-03-2003, 12:08 PM
Ben K. Li <(E-Mail Removed)> wrote:

> Hi,


> Here's my problem. I have redhat 9 installed. Every once in awhile (more
> often than not), I will telnet into my machine from work and it will hang.


Please, never ever use telnet over the internet, even on a "secure" LAN it
isn't used anymore, out of security reasons. Use ssh instead, it came with
your RH CD, just upgrade to the latest errata update. There are clients
like putty (presuming some M$ toy box) for free available.

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
 
Reply With Quote
 
Xyerp
Guest
Posts: n/a

 
      10-03-2003, 04:53 PM
Michael Heiming <michael+(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Ben K. Li <(E-Mail Removed)> wrote:
>
> > Hi,

>
> > Here's my problem. I have redhat 9 installed. Every once in awhile (more
> > often than not), I will telnet into my machine from work and it will hang.

>
> Please, never ever use telnet over the internet, even on a "secure" LAN it
> isn't used anymore, out of security reasons. Use ssh instead, it came with
> your RH CD, just upgrade to the latest errata update. There are clients
> like putty (presuming some M$ toy box) for free available.


Xon/Xoff? Try sending an ASCII XON signal (^Q).
 
Reply With Quote
 
Leon The Peon
Guest
Posts: n/a

 
      10-07-2003, 05:48 AM

"Ben K. Li" <(E-Mail Removed)> wrote in message
news:Pine.LNX.4.44.0310031139540.6437-(E-Mail Removed)...
>
> Hi,
>
> Here's my problem. I have redhat 9 installed. Every once in awhile (more
> often than not), I will telnet into my machine from work and it will hang.
> It doesn't hang on the login. I actually login and get a prompt.
> However, when I do something else like ls or pine, the connection will
> freeze. Using send ayt from telnet prompt returns a YES. The only way to
> get out of it is to do a ctrl-] and then quit. I can immediately login
> again, but same problem exists.
>
> I'm telneting out of a firewall-telnet gateway from work and I don't seem
> to have any problems when I go to cyberspace.org (for example).
>
> Strangely, sometimes this problem does not occur at all.
>
> Could someone begin to give me a hand as to what is causing this?


maybe the firewall NAT has a very short timeout on it.
The NAT firewall assumes that a TCP/IP session that has been idle for X
seconds is now defunct and should be forgotten.
(if this timeout is too long, the NAT tables fill up and it cant allow any
new TCP/IP sessions to be created, or it slows down too much)

Also some Telnet programs do not like lost packets, there may be a problem
with the network reliability, such as it being flooded.

Perhaps the use of putty and ssh will fix the problem.
Perhaps the firewall needs to be configured to have a longer time out for
tcp




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003


 
Reply With Quote
 
Ben K. Li
Guest
Posts: n/a

 
      10-07-2003, 09:14 AM
So, finally, after loosing sleep for a few days, I figured out what the
problem was.

I might have failed to mention that I was accessing my machine that was
connected through DSL broadband service running over PPPoe. So, the
problem was the MTU was being recognized as 1500, whereas 1492 would be
the correct value due to the 8 byte overhead for pppoe.

Thanks to all who replied.

On Tue, 7 Oct 2003, Leon The Peon wrote:

>
> "Ben K. Li" <(E-Mail Removed)> wrote in message
> news:Pine.LNX.4.44.0310031139540.6437-(E-Mail Removed)...
> >
> > Hi,
> >
> > Here's my problem. I have redhat 9 installed. Every once in awhile (more
> > often than not), I will telnet into my machine from work and it will hang.
> > It doesn't hang on the login. I actually login and get a prompt.
> > However, when I do something else like ls or pine, the connection will
> > freeze. Using send ayt from telnet prompt returns a YES. The only way to
> > get out of it is to do a ctrl-] and then quit. I can immediately login
> > again, but same problem exists.
> >
> > I'm telneting out of a firewall-telnet gateway from work and I don't seem
> > to have any problems when I go to cyberspace.org (for example).
> >
> > Strangely, sometimes this problem does not occur at all.
> >
> > Could someone begin to give me a hand as to what is causing this?

>
> maybe the firewall NAT has a very short timeout on it.
> The NAT firewall assumes that a TCP/IP session that has been idle for X
> seconds is now defunct and should be forgotten.
> (if this timeout is too long, the NAT tables fill up and it cant allow any
> new TCP/IP sessions to be created, or it slows down too much)
>
> Also some Telnet programs do not like lost packets, there may be a problem
> with the network reliability, such as it being flooded.
>
> Perhaps the use of putty and ssh will fix the problem.
> Perhaps the firewall needs to be configured to have a longer time out for
> tcp
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does ssh keep hanging unruh Linux Networking 24 05-11-2012 09:22 AM
Enable root access to telnet with krb5-telnet Phoe6 Linux Networking 2 06-08-2007 11:00 AM
Hanging on log off Schoolguy Windows Networking 0 04-03-2006 03:51 PM
MN-700 Hanging Brandon Broadband Hardware 0 02-12-2005 01:42 PM
MN-700 hanging... Marcelo Broadband Hardware 4 10-10-2004 11:08 PM



1 2 3 4 5 6 7 8 9 10 11