Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 12 Jun 2003 10:25:10 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: telnet connect bug
Message-ID: <20030612082510.GN30116@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <Pine.GSO.4.53.0306120937370.29347@ural2>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@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/

