Mail Archives: cygwin/2003/03/03/22:40:48
On Mon, 3 Mar 2003, 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)?
> 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)
>
> Thanks again,
> Geoff
If you have a static IP, try adding an entry with your IP address and your
computer name to /etc/hosts. This should make winsock resolve the name
locally, rather than query the DNS server.
Igor
P.S. Your /etc/hosts should be a link to c:\winnt\system32\drivers\etc\hosts
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
-- /usr/games/fortune
--
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 -