delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/03/22:54:48

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: Mon, 3 Mar 2003 22:53:47 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: why is bash trying to access my DNS?
Message-ID: <20030304035347.GA34918271@hpn5170x>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
References: <20030304030705 DOT 381F74AB1F AT server2 DOT fastmail DOT fm>
Mime-Version: 1.0
In-Reply-To: <20030304030705.381F74AB1F@server2.fastmail.fm>
User-Agent: Mutt/1.4i

On Mon, Mar 03, 2003 at 07:07:05PM -0800, Geoffrey Hausheer wrote:
> One more thing, I forgot to ask...
> 
> On Mon, 03 Mar 2003 18:46:09 -0800, "Geoffrey Hausheer" said:
> > Thank you, this indeed is the issue, as can be seen from the very next
> > line after the wsock call:
> > 5495150 5519336 [main] bash 1940 cygwin_gethostname: name Holly
> 
> I don't suppose there is any way to prevent all of these hostname lookups
> (since they are obviously sommething somewhat recent)?
Not without changing Cygwin, as far as I know.

> For bash I can just tell ZoneAlarm to ignore it, and all is well, but 
> since applications like vim seem to be doing the same thing  (and yes I
> removed \h from my PS1 line, just to be sure), the whole point of
> installing ssh (to get sshd working) has gone out the window since
> anytime I run a program that uses hostname, ZoneAlarm will complain on my
> local desktop, and my remote session will hang (Obviously, I could let
> all outgoing programs access the internet freely, but preventing that is
> half the reason I run ZoneAlarm in the first place)

Can you configure ZoneAlarm to allow Dns access?
The paradox is that these calls may not go out your box. I can get my
hostname while my Ethernet is disconnected. Can you?

Pierre

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