delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/12/04:28:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 12 Jun 2003 10:25:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: telnet connect bug
Message-ID: <20030612082510.GN30116@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 53 DOT 0306120937370 DOT 29347 AT ural2>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.53.0306120937370.29347@ural2>
User-Agent: Mutt/1.4.1i

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019