Date: Sun, 14 May 1995 15:28:05 -0400 (EDT) From: Charles Henrich <henrich@crh.cl.msu.edu> To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Cc: henrich@crh.cl.msu.edu, freebsd-bugs@FreeBSD.org Subject: Re: bin/396: telnetd problems fix. Message-ID: <199505141928.MAA23796@freefall.cdrom.com> In-Reply-To: <199505140234.TAA01401@gndrsh.aac.dev.com> from "Rodney W. Grimes" at May 13, 95 07:34:45 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Could you go do just the change that Terry Lambert suggested, test it out
> for me and tell me if it fixes the problem. If it does we can send it out
> for wide code review and commit it! No loss of LINEMODE, and no more
> problem from broken 4.2BSD detection clients.
Our supposition was wrong for FTP Software, apparently someone isnt doing the
right thing with BINARY negotiation (My guess its FTP Software). This
negotiation is only done when LINEMODE is compiled in, in termstat.c, if you
disable that chunk of code all works well from everywhere. If someone could
enlighten me as to why we do that BINARY negotiation I'd be greatful. Here is
what the telnet option negotiation looks like between a PeeCee and FreeBSD:
SEND RECV
DO TTYPE
DO TSPEED
DO XDISPLOC
DO NEW-ENV
DO OLD-ENV
WILL TTYPE
WONT TSPEED
WONT XDISPLOC
WONT NEW-ENV
WONT OLD-ENV
SUB TERMINAL TYPE = VT100 (paraphrasing)
WILL SUPRESS GO AHEAD
DO LINEMODE
DO ECHO
DO NAWS
WILL STATUS
DO LFLOW
DO SUPRESS GO AHEAD
WONT LINEMODE
WONT ECHO
WONT NAWS
WILL ECHO
DO BINARY
DONT STATUS
WONT LFLOW
DO ECHO
WILL BINARY
Any ideas on how to solve this mess?
-Crh
Charles Henrich Michigan State University henrich@crh.cl.msu.edu
http://rs560.msu.edu/~henrich/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505141928.MAA23796>
