delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/11/16:35:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=FF1R
kOM7Tr/dYuUP48dqURFARDd5JVuoxbPjC/c9DKytCeQYXJFA3s66skz9CvwSUghi
RmZ4DcfrgxSZsmpUqZ9TQyCZCX4Ou3aN0ae21BlFav/PwKVjJKNRk5yEyJBqzNuF
roPTvhjHp0LfisLDcrTyCVAIKPwankDaaNW0+R0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=MP7tafaIty
59Zu1qUYG5kU0N/s4=; b=l86HdwIUBVi/cjvvtIodA5ZNibPsct49D7On+vczS2
wzsQAJw4XY3j3nzQnscPfNJRiBMl99hTRbSMDgZ8mL1iV9ua0pXpB6+7p4rYNPuX
8ygDVtGRNH9uzXgO0WbsvEnDwH1tn1CBkWvMmTelAZp9OH67fyWrk7sZaqlnC5GN
c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=ten, spite, company, department
X-HELO: mail.spocom.com
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; d=spocom.com; s=mail; h=received:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:x-operating-system:user-agent; b=nWwWJ789NRctJ7lzHYjlJXgBetMW+gqTccaKF2mEttbMp5EHBxg5T3CdEKY6kVW7W ZpiS8YK3CRtyvq7Ic68CQ==
Date: Wed, 11 Jul 2018 13:35:35 -0700
From: Gary Johnson <garyjohn AT spocom DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: After installing nc (netcat), nc.exe is not found
Message-ID: <20180711203535.GB17823@phoenix>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <pi5dhj$8ap$1 AT blaine DOT gmane DOT org> <1208626880 DOT 20180711224101 AT yandex DOT ru> <ab8629fb-6093-32d1-a455-8c171d902676 AT winfirst DOT com>
MIME-Version: 1.0
In-Reply-To: <ab8629fb-6093-32d1-a455-8c171d902676@winfirst.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes

On 2018-07-11, Mark Hansen wrote:
> On 7/11/2018 12:41 PM, Andrey Repin wrote:
> >Greetings, Mark Hansen!
> >
> >>I've just updated to the latest Cygwin 64-bit installation on my Windows 7 PC. Included
> >>in this update was the package for nc (nc: A simple but powerful network tool) version 1.107-4
> >
> >>After downloading and installing, which all seemed to go fine, the man page for nc is there,
> >>but nc.exe is not.
> >
> >>I included the following (netcat-related) packages:
> >>- nc, 1.107-4
> >>- nc6, 1.0-1
> >>- nc6-debuginfo, 1.0-1
> >
> >>Is there something special I need to do to get nc.exe installed?
> >
> >Check your antivirus quarantine area.
> >
> >
> 
> Well, that's certainly one problem. Both nc.exe and nc6.exe were trapped by the corporate virus checker.
> The software allowed me to "restore" it, but when I try to run it I get "Permission Denied".
> 
> However, after a few minutes, it's gone again. I'm guessing the virus checker software is doing it.
> Unfortunately, it looks like it won't let me create an exception for these executables, so I don't
> have any way to stop it from deleting them :(
> 
> ... and I know better than to ask my corporate IT folks to make an exception for me :(

I had this problem at another company, but that was something like
ten years ago.  I think I solved it by either renaming nc.exe to
something else, compiling my own Netcat, or using Socat, but I don't
remember which approach actually worked.

And of course, depending on the company and the IT department, you
may want to consider whether using the program in spite of their
efforts to prevent you from doing so is worth the risk of
termination.

Regards,
Gary


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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