telnet connect bug

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jun 12 08:27:00 GMT 2003


On Thu, Jun 12, 2003 at 09:48:23AM +0200, N?meth M?rton wrote:
> Hi!
> 
> Here is a telnet test using NetCat as server and telnet connecting to
> localhost. When the telnet uses the default telnet(23) port then as telnet
> connects some rubbish is sent to the server (case 1). When specifing

That's not rubbish even though it looks like.  It's data send to the server
in a phase called "option negotiation".  If you start a telnet on another
system (e.g. Linux) to connect to your nc server, you'll see the same.
It's triggered by either having no port given or if the port begins with
a dash.

> explicitly for telnet to connect to port 23, then telnet works fine
> (case 2). When using MS telnet, that works fine too (case 3, 4).

Hehe, no.  MS telnet doesn't send the option negotiaton since it just
don't know about it.

> Is this a win98SE specific bug, or a telnet bug?

Neither, nor.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list