Re: TELNET question

braden@isi.edu Fri, 18 November 1994 20:25 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa08850; 18 Nov 94 15:25 EST
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa08846; 18 Nov 94 15:25 EST
Received: from timbuk.cray.com by CNRI.Reston.VA.US id aa14757; 18 Nov 94 15:24 EST
Received: from sdiv.cray.com (daemon@ironwood.cray.com [128.162.21.36]) by timbuk.cray.com (8.6.9/8.6.9M) with SMTP id OAA29026; Fri, 18 Nov 1994 14:10:23 -0600
Received: by sdiv.cray.com (5.0/CRI-5.15.b.orgabbr Sdiv) id AA19607; Fri, 18 Nov 1994 14:10:18 -0600
Received: from timbuk.cray.com by sdiv.cray.com (5.0/CRI-5.15.b.orgabbr Sdiv) id AA19600; Fri, 18 Nov 1994 14:10:16 -0600
Received: from venera.isi.edu (venera.isi.edu [128.9.0.32]) by timbuk.cray.com (8.6.9/8.6.9M) with SMTP id OAA28875 for <telnet-ietf@cray.com>; Fri, 18 Nov 1994 14:10:13 -0600
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: braden@isi.edu
Received: from can.isi.edu by venera.isi.edu (5.65c/5.61+local-19) id <AA10574>; Fri, 18 Nov 1994 12:10:11 -0800
Date: Fri, 18 Nov 1994 12:12:43 -0800
Posted-Date: Fri, 18 Nov 1994 12:12:43 -0800
Message-Id: <199411182012.AA21232@can.isi.edu>
Received: by can.isi.edu (5.65c/4.0.3-4) id <AA21232>; Fri, 18 Nov 1994 12:12:43 -0800
To: lee@huachuca-jitcosi.army.mil, tytso@mit.edu
Subject: Re: TELNET question
Cc: billw@cisco.com, iptp@huachuca-jitcosi.army.mil, telnet-ietf@cray.com
Content-Length: 2491

  *> 
  *>    The question boils down to this:  Is a TELNET user only a proper implementation
  *>    of TELNET when the server port is 23?         ^^^^
  *> 
  *> You mean "client" where you wrote "user", right?
  *> 

Just to keep the record straight, the Telnet protocol was designed in
the early ARPAnet years when the terms "user" and "server" were in use;
I don't think that the term "client" had been invented yet.  The
preferred terminology is "User Telnet implementation" [RFC-1123],
although if you look back over the past 20 years of email discussion of
Telnet, you will find lots of usage of the more informal but ambiguous
term "Telnet user".

  *> That's really the crux of the matter.  The RFC's document the telnet
  *> *protocol*.  The question is when is the client obligated to follow the
  *> telnet protocol, and when is it not so obligated?
  *> 
  *>    The consequences are as follows:
  *> 
  *>    1.  No - TELNET is TELNET regardless of the server port :
  *>        Then any implementation which defaults to LF as a newline (such as
  *>        unix-based hosts) is not conformant to the TELNET standard.
  *>        (Possible interoperability problems).
  *> 
  *>    2.  Yes - TELNET is only TELNET when the server port is 23:
  *>        Not only did the tester send the wrong character(s), but its testing
  *>        methodology is seriously flawed; the use of the non-standard port
  *>        means that it is not truly testing TELNET, whether it had sent the
  *>        correct newline code or not.
  *> 
  *> Give that the IANA has specified that the port for telnet service is 23,
  *> I would tend towards option 2.  The fair way to test things is on the
  *> original port.
  *> 
  *> I think it is a "local matter" what the telnet client does going to
  *> other ports.  Ideally, there should be a switch that indicates where or
  *> not the client should be initiating the options negotiations.  How that
  *> switch is offered ought to be presented to the user is a UI issue, and
  *> not one that should be addressed in a protocol specification.  (And,
  *> indeed, there is such a switch on the Berkeley reference implementation;
  *> you simply prefix the port number that you specify with a '-'
  *> character.)
  *> 
  *> 						- Ted
  *> 

Both FTP and SMTP both use "telnet streams", with CRLF as end of line.
I would expect that 1. was the right answer, as a question of philosophy.
Of course, reality sometimes intervenes...

Bob Braden