delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/26/04:07:19

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: Wed, 26 Jun 2002 10:06:48 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: simultaneous windows and cygwin telnet service
Message-ID: <20020626100648.M22705@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020626033229 DOT GA21296 AT butch DOT jgcomp DOT com> <20020626042942 DOT GL4051 AT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <20020626042942.GL4051@redhat.com>
User-Agent: Mutt/1.3.22.1i

On Tue, Jun 25, 2002 at 09:29:42PM -0700, Brendan Conoboy wrote:
> On Tue, Jun 25, 2002 at 11:32:29PM -0400, Jon LaBadie wrote:
> > Is it possible?
> > 
> > Perhaps by specifying the cygwin service use a different port?
> > Then one could "telnet host" and get the standard windows
> > service or "telnet host <new_port>" and get the cygwin service.
> 
> If you're running telnet with inetd, you just need to make a simple
> change to inetd.conf.  Say your current telnetd line looks like this:
> 
> telnet  stream tcp nowait root  /usr/libexec/telnetd   telnetd
> 
> The first word in the line says "telnet" but what that really means
> is that /etc/services is consulted for what port/protocol "telnet"
> uses.  If you look at /etc/services you'll see something like this:
> 
> telnet          23/tcp
> 
> If you changed that number to 24 and restarted inetd, you'd have inetd
> listening for telnet connections on port 24.

Correct.  It's just the services file which is located elsewhere
on WIndows systems.  The file is

${WINDIR}/SERVICES                              on 9x/Me and
${SYSTEMROOT}/system32/drivers/etc/services     on NT/2K/XP

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
Bug reporting:         http://cygwin.com/bugs.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