From owner-freebsd-hackers Sun Dec 8 01:24:08 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA03092 for hackers-outgoing; Sun, 8 Dec 1996 01:24:08 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id BAA03087; Sun, 8 Dec 1996 01:24:03 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA02015; Sun, 8 Dec 1996 10:23:26 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA02936; Sun, 8 Dec 1996 10:23:25 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id KAA29486; Sun, 8 Dec 1996 10:20:40 +0100 (MET) From: J Wunsch Message-Id: <199612080920.KAA29486@uriah.heep.sax.de> Subject: Re: bug in 2.2-alpha loopback (?) To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sun, 8 Dec 1996 10:20:39 +0100 (MET) Cc: mbarkah@hemi.com (Ade Barkah), wollman@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612080034.RAA27465@hemi.com> from Ade Barkah at "Dec 7, 96 05:34:49 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)