Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Geoffrey Hausheer" To: cygwin AT cygwin DOT com Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 Date: Mon, 03 Mar 2003 13:16:31 -0800 X-Epoch: 1046726191 X-Sasl-enc: WWuamw93d4ur6aBpzavilA Subject: why is bash trying to access my DNS? Message-Id: <20030303211631.894034E9C5@server2.fastmail.fm> Today I tried to install sshd on my cygwin system, (which also resulted in downloading lots of updates, since I'd been lax in updating for a while). I went through the setup procedures for openssh, and got it working. During all of this, I had disabled my firewall (ZoneAlarm), since I've had problems with it and sshd in the past. When I reenabled Zonealarm, and tried to open cygwin (run rxvt), all of a sudden ZoneAlarm pops up a message 'rxvt want to access the internet (and then tells me it is trying to access my DNS server) I deny that request, and bash asks for the same thing. and vim. Well, something seems screwy, and it has definitely never done this before. So I uninstalled ssh, but that didn't help. So I completely uninstalled cygwin, wiped my registry of all cygwin related things, rebooted, and reinstalled cygwin. and bash STILL wanted to access the DNS server (and rxvt and everything else) After searching the web, I found other people had had this problem, and it was related to cygdaemo, but this does not appear to be the case for me (no cygdaemo on my box anywhere, cygserver isn't running, and this is a WinXP box) I figured I'd try to look at bash's strace output, and get the followng (hopefully, I pasted in enough). I wasn't able to glean anything from it. Can anyone tell me what I did to my system? this is very frustrating. ---------- 39 32387 [main] bash 436 open: 3 = open (/dev/tty, 0x4002) 40 32427 [main] bash 436 close: close (3) 62 32489 [main] bash 436 close: 0 = close (3) 36 32525 [main] bash 436 stat64: entering 40 32565 [main] bash 436 normalize_posix_path: src /tmp 35 32600 [main] bash 436 normalize_posix_path: /tmp = normalize_posix_path (/tmp) 35 32635 [main] bash 436 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp) 45 32680 [main] bash 436 set_flags: flags: binary (0x2) 35 32715 [main] bash 436 mount_info::conv_to_win32_path: src_path /tmp, dst C:\cygwin\tmp, flags 0x A, rc 0 276 32991 [main] bash 436 symlink_info::check: not a symlink 37 33028 [main] bash 436 symlink_info::check: 0 = symlink.check (C:\cygwin\tmp, 0x22F540) (0xA) ) 68 33136 [main] bash 436 dtable::build_fhandler: fd -1, fh 0x615E0874 37 33173 [main] bash 436 stat_worker: (/tmp, 0x22FDC0, 0, 0x22FA20), file_attributes 16 46 33219 [main] bash 436 fhandler_base::open: (C:\cygwin\tmp, 0x110000) query_open 0 x22F940, 0x3, 0x2000081, 0) 60 34016 [main] bash 436 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000 37 34053 [main] bash 436 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000 35 34088 [main] bash 436 fhandler_base::set_flags: filemode set to binary 34 34122 [main] bash 436 fhandler_base::open: 1 = fhandler_base::open (C:\cygwin\tmp, 0x110000) 10000) gwin\tmp, 1832) st_size=0, st_mode=0x41ED, st_ino=635407883, sizeof=88 45 34560 [main] bash 436 fhandler_base::close: closing '/tmp' handle 0x728 75 34635 [main] bash 436 stat_worker: 0 = (/tmp, 0x22FDC0) 164 34799 [main] bash 436 time: 1046719880 = time (0) 103 34902 [main] bash 436 isatty: 1 = isatty (0) 35 34937 [main] bash 436 isatty: 0 = isatty (1) 188 35125 [main] bash 436 sigaction: signal 20, newact 0x22FD28, oldact 0x22FD18 39 35164 [main] bash 436 sigaction: signal 20, newact 0x22FD28, oldact 0x22FD18 37 35201 [main] bash 436 sigaction: signal 2, newact 0x22FD28, oldact 0x22FD18 36 35237 [main] bash 436 sigaction: signal 2, newact 0x22FD28, oldact 0x22FD18 37 35274 [main] bash 436 sigaction: signal 3, newact 0x22FD28, oldact 0x22FD18 36 35310 [main] bash 436 sigaction: signal 3, newact 0x22FD28, oldact 0x22FD18 38 35348 [main] bash 436 sigaction: signal 3, newact 0x22FD28, oldact 0x22FD18 7338 42686 [main] bash 436 wsock_init: res 0 120 42806 [main] bash 436 wsock_init: wVersion 514 34 42840 [main] bash 436 wsock_init: wHighVersion 514 34 42874 [main] bash 436 wsock_init: szDescription WinSock 2.0 34 42908 [main] bash 436 wsock_init: szSystemStatus Running 34 42942 [main] bash 436 wsock_init: iMaxSockets 0 34 42976 [main] bash 436 wsock_init: iMaxUdpDg 0 33 43009 [main] bash 436 wsock_init: lpVendorInfo 0 (at which point ZoneAlarms pops up and asks for internet permission) -- 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/