*BSD News Article 47611


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!ix.netcom.com!howland.reston.ans.net!news.moneng.mei.com!news.ecn.bgu.edu!vixen.cso.uiuc.edu!news.uoregon.edu!gatech!purdue!not-for-mail
From: dpm@cs.purdue.edu (David Moffett)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Telnetd bug or mis-feature?
Date: 29 Jul 1995 23:38:19 -0500
Organization: Department of Computer Science, Purdue University
Lines: 34
Distribution: world
Message-ID: <3vf2br$3di@ector.cs.purdue.edu>
NNTP-Posting-Host: ector.cs.purdue.edu
Summary: duplex/echoing confusion perhaps?
Keywords: telnet, telnetd, duplex, echoing

Sometime ago, there was a question about telneting INTO a FreeBSD box
yielding confused results.  I didn't pay attention or my site's news
spool splatted because I don't remember seeing an answer.

Symptoms:
* telnet always connects
* the negotiated duplex/echo is usually confused.
  - Sometimes the FreeBSD box thinks that it needs to echo each line after
    return is pressed.
  - Sometimes the connection works OK.
  - Sometimes the connection is negotiated such that the FreeBSD box
    thinks there is a half duplex/local echo connection, and thus
    no one echos the keystrokes.
  - text originally generated on the FreeBSD side is always correct.
* ftp from the same DOS box works just fine.

I just installed FreeBSD 2.0.5R from CDROM.  Previously I was running
2.0.0R.  Problem is true on both O/Ses.  The caller is NCSA telnet for
DOS which can be fetched from their ftp site.  

I wandered into the telnetd sources (in 2.0.0R) and there is some
discussion of a previous BSD bug in telnetd causing such a problem.
Ditto for the 'bugs' section of the man page.

Could someone enlighten me and perhaps add to the FAQ about this problem?
Better yet, fix it!

Thanks

David Moffett
(dpm@cs.purdue.edu)

P.S. suggesting a different DOS or Windows telnet client that doesn't
exhibit this problem is also a welcome alternative!