delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/28/05:14:07

X-Spam-Check-By: sourceware.org
Message-ID: <438AD84E.3000508@equate.dyndns.org>
Date: Mon, 28 Nov 2005 10:13:34 +0000
From: Chris Taylor <chris AT equate DOT dyndns DOT org>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Debian Thunderbird 1.0.7 (X11/20051017)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, jeyadev3 AT yahoo DOT com
Subject: Re: Norton Internet Security and Cygwin: What settings for NIS?
References: <loom DOT 20051127T120841-474 AT post DOT gmane DOT org> <20051127150708 DOT 87610 DOT qmail AT web35709 DOT mail DOT mud DOT yahoo DOT com> <dmdc9b$g05$1 AT sea DOT gmane DOT org>
In-Reply-To: <dmdc9b$g05$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

René Berber wrote:
> surendar jeyadev wrote:
> [snip]
> 
>>I have to try one more thing -- turn of Norton and
>>unplug the cable. But there is something very fishy
>>going one. When I tried to launch Cygwin a few minutes
>>ago, Norton popped up a message saying 
>>'hostname.exe is trying to contact DNS server'. 
> 
> 
> Bingo!  hostname is called from /etc/csh.cshrc and /etc/profile.d/complete.tcsh,
> are you using csh or tcsh?  That would explain what is going on.
> 
> The solution would be to add hostname.exe to the list of programs allowed to use
> the Internet (Windows firewall) or open the respective port (53 if it's using DNS).
> 
> HTH

Beyond that, hostname.exe is used to resolve the network name of the 
machine (the hostname, funnily enough ;)
This will try to contact DNS servers if it needs to, and norton will 
block this by default for any app you don't allow.. It's not the only 
cygwin app that will do so either..
However, following René's suggestion will sort things so that you can 
start cygwin, or should at least.

I should point out that hostname is called in /etc/profile for bash as 
well ( HOSTNAME=`hostname` <-- should this be being changed to 
HOSTNAME=$(hostname) at some point soon?)


Hopefully this sorts it for yourself though - as for cygwin setup - add 
it to the allowed applications (at the very least, it needs DNS (53), 
http (80) and FTP (21) to guarantee it will work with the various mirrors)


Chris
-- 

Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

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

- Raw text -


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