Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jtkohl@cs.Berkeley.EDU (John T Kohl)
Subject: Re: Binary xfers over telnet to Xyplex server?
Date: 11 Jun 1992 21:07:38 GMT	[thread overview]
Message-ID: <118faqINN1cs@agate.berkeley.edu> (raw)
In-Reply-To: trussell@odin.unomaha.edu's message of Thu, 11 Jun 1992 17:12:25 GMT

I recently poked through ULTRIX telnetd sources; their binary mode is
flawed and does not properly deal with raw carriage returns.  If your
binary sender includes something like "foobar\rquux", the receiver will
see "foobar\r\0quux".

With source, the fix is obvious (test for binary mode in the code doing
that conversion on the outgoing side).  Alternatively you can take a
more recent telnetd (say, BSD net 2) and use that.

[I have reported this bug to DEC]
--
John Kohl <jtkohl@cs.berkeley.edu>
UC Berkeley CS grad student
Member of the League for Programming Freedom--details: league@prep.ai.mit.edu
(The above opinions are MINE.  Don't put my words in somebody else's mouth!)


      reply	other threads:[~1992-06-11 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-06-11 17:12 Binary xfers over telnet to Xyplex server? Tim Russell
1992-06-11 21:07 ` John T Kohl [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox