Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 1996 10:20:39 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        mbarkah@hemi.com (Ade Barkah), wollman@freebsd.org
Subject:   Re: bug in 2.2-alpha loopback (?)
Message-ID:  <199612080920.KAA29486@uriah.heep.sax.de>
In-Reply-To: <199612080034.RAA27465@hemi.com> from Ade Barkah at "Dec 7, 96 05:34:49 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Ade Barkah wrote:

> Sorry, I wasn't very careful considering all the variables. This
> might be a "telnet" problem instead of a loop interface problem
> (My 2.2 machine is located remotely, so that's why I noticed it.)
> I have been telnetting into the 2.2 machine, "telnet localhost
> 2000", then close the first telnet.
> 
> The problem occurs when I telnet into a FreeBSD machine, _then_
> telnet again to port 2000, issue the escape character, and
> close the connection.
> 
> So, we have:
> 
>    Machine A ---telnet---> Machine B ---telnet---> Machine C

Hmm, now i can reproduce it.

It's another problem with telnet linemode handling.  Though i'm not
sure whether it is OK by the telnet RFC's or not.  (It looks as if
this is in violation.)

If you set the connection between Machine B and Machine C to
character-at-a-time mode, it works correctly.  Note that this is a
little tricky since you gotta issue the telnet escape character twice,
so you can type ``mode char'' at the second telnet prompt.

Since the network server on Machine C is not a telnet server, linemode
negotiation should IMHO not occur, and the connection should rather
remain in character-at-a-time mode anyway, but i better leave the
actual interpretation to the telnet gurus. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612080920.KAA29486>