delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/09/20:43:40

X-Spam-Check-By: sourceware.org
Date: Mon, 9 Jan 2006 20:43:31 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Brett Serkez <techie AT serkez DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: ZoneAlarm Suite popen hang
In-Reply-To: <1136856632.24541.251466635@webmail.messagingengine.com>
Message-ID: <Pine.GSO.4.63.0601092040390.29429@slinky.cs.nyu.edu>
References: <1136853906 DOT 20233 DOT 251462872 AT webmail DOT messagingengine DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0601092014460 DOT 29429 AT slinky DOT cs DOT nyu DOT edu> <1136856632 DOT 24541 DOT 251466635 AT webmail DOT messagingengine DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mon, 9 Jan 2006, Brett Serkez wrote:

> [snip]
> > It could also be that the script is assuming that ssh will close
> > stdin. Try adding a redirection of stdin from /dev/null as well
> > (i.e., use
> >
> > sh -c /usr/X11R6/bin/xauth -f /tmp/ssh-OrQEQQHWXE/xauthfile generate > 7..0.1:0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2 > /dev/null < /dev/null
> >
> > ) and see if it helps.  If it does, the script is actually buggy, and
> > needs to be fixed.
>
> Well, this command is actually being constructed by ssh code and then
> executed via popen.  This would mean building my own ssh from scratch, I
> suppose  in order to figure this out, I might need to do this anyway.

Well, if you can find where ssh is invoked, you can also give it the "-n"
parameter, which would result in equivalent functionality.

> Just wanted to be clear on one point, that is this code executes
> fine with ZoneAlarm Pro or no ZoneAlarm, it only starts failing
> with ZoneAlarm Suite is installed which I'm thinking interfers with
> the pipe created by popen.
>
> I'll have to build ssh to see if this will clear the problem.

I doubt ZoneAlarm would affect pipes.  It might very possibly affect
sockets.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"


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