delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/05/16:57:11

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020305165345.01d0bba0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 05 Mar 2002 16:56:44 -0500
To: Michael Adler <adler AT glimpser DOT org>, Corinna Vinschen <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: rsh slow during RAS connection
In-Reply-To: <Pine.NEB.4.44.0203051526470.29991-100000@reva.sixgirls.org
>
References: <Pine DOT NEB DOT 4 DOT 44 DOT 0203051415390 DOT 29991-100000 AT reva DOT sixgirls DOT org>
Mime-Version: 1.0

At 04:09 PM 3/5/2002, Michael Adler wrote:

>I setup rsh by putting the client's IP in server:/etc/hosts, and the
>hostname in server:/etc/hosts.equiv. /etc/hosts is a symlink to
>/cygdrive/c/WINNT/system32/drivers/etc/hosts.
>
>Over the LAN , responses take about 1 second.
>
>If I dial into the server using PPP, the response time grows to 50 seconds
>or more. The client is still authenticated, but it takes a very long time.
>
>After I close the ppp connection, using rsh over the LAN is really slow.
>What's different now? I still have a second IP from the PPP connection.
>
>This makes me think that this is a hostname resolving issue and that when
>the server gets a second IP ( 1 ethernet + 1 PPP ), my /etc/hosts solution
>gets foiled.
>
>
>I've used strace to track the client's calls and it typically gets stuck here:
>
>458  995773 [main] rsh 956 cygwin_getservbyname: A0112E0 = getservbyname (shell, tcp)
>
>
>Can anyone offer insight on how to setup name resolutions to avoid this or
>how to hot-wire rshd?


No, I don't have that kind of information.  However, I can say that the 
Cygwin function (cygwin_getservbyname()) is just a wrapper that calls
the Winsock getservbyport() function.  So, the MSDN may have some information
regarding this function and Winsock which may be applicable to your situation.
Then again, it may not. ;-)

Sorry I don't have more specific suggestions for you.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - 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/

- Raw text -


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