public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon LaBadie <jcyg@jgcomp.com>
To: cygwin@cygwin.com
Subject: Re: simultaneous windows and cygwin telnet service
Date: Thu, 27 Jun 2002 03:17:00 -0000	[thread overview]
Message-ID: <20020627052853.GA8180@butch.jgcomp.com> (raw)
In-Reply-To: <20020626100648.M22705@cygbert.vinschen.de>

On Wed, Jun 26, 2002 at 10:06:48AM +0200, Corinna Vinschen wrote:
> 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


AMAZING :))

Use the correct files and things work correctly (at least as expected).

Thanks Corinna.

jon
-- 
Jon H. LaBadie                  jcyg@jgcomp.com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

--
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/

  parent reply	other threads:[~2002-06-27  5:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-26  1:06 Jon LaBadie
2002-06-26  2:04 ` Brendan Conoboy
2002-06-26  5:11   ` Corinna Vinschen
2002-06-26  5:40     ` Sam Edge
2002-06-26  6:19       ` Corinna Vinschen
2002-06-27  6:56         ` Nicholas Wourms
2002-06-27  7:39           ` Corinna Vinschen
2002-06-27  7:44             ` Nicholas Wourms
2002-06-27  7:53               ` Nicholas Wourms
2002-06-27  8:18               ` Corinna Vinschen
2002-06-27 16:47           ` Robert Collins
2002-06-26  7:43     ` Jon LaBadie
2002-06-26  7:46       ` Corinna Vinschen
2002-06-26  8:23         ` Jon LaBadie
2002-06-26  8:27           ` Corinna Vinschen
2002-06-27  3:17     ` Jon LaBadie [this message]
2002-06-26  7:17   ` Jon LaBadie
2002-06-26  9:06 John Vincent
2002-06-26 11:10 Karl M
2002-06-26 12:35 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020627052853.GA8180@butch.jgcomp.com \
    --to=jcyg@jgcomp.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).