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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Hif3gHJTBHjS7YSp Z87RQvG2hYKQDuoQ86boVYyNYDzaewu9gKqlSo03e/V/TzkAcAy72xH+hJ1Z805Q QR8g+P0kKeH9nlj8rk8WAi3lnPc2XDzF11UmRN7FSIkm5rJx5sT7In1hHyvprZFQ NjuXsn5i+guf/UGbaXylTkXk8XA= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=DaaSAEY09XdAo5YnZ7i6XZ l4N/g=; b=xCdJf0HnDmtoZ5ppJbS8C888JM2WVVKcF+YtcNw+xLhOTAkJvs7Ukz wk3lsj3iZf9MVnRWgdsSID6W0FhtWaYPEkBzRbSNkJts5TLu+3+AEUzMs7sYNcDm V8N8eR21LMoR7gxmdaPgbBkSNbjBK8qemUWPFQVmUDVjcZeyv7XBo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Canada, H*Ad:D*ca, Hx-languages-length:1311, HContent-Transfer-Encoding:8bit X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=qkfE3lOdKZkG-VVgOA8A:9 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Problem with NC.1.107 To: cygwin AT cygwin DOT com References: <1732290424 DOT 20180328171523 AT yandex DOT ru> <5ACC18BF DOT 4080904 AT tlinx DOT org> <5AD06E0A DOT 6010103 AT tlinx DOT org> From: Brian Inglis Message-ID: <91881fea-b20b-2960-0282-fdc2e2a178b2@SystematicSw.ab.ca> Date: Fri, 13 Apr 2018 06:29:39 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5AD06E0A.6010103@tlinx.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfJ3kQzjvL1w1WZDwsWLc54r8libpKPOui/OeelUwS4fNLNhCrVsIxzYlAYynWnzSqFL7kkgU+4Yu9X60KksaoHfseNDwsrW02V04EJcPt4M10JOGXkkV noOEaGkgRg8Kdh9XgJPbvetvCR6Z33WicTcFquqYisNlryLr33ysKu/rIiPd1ho3ZFGIFf0Qd5cG8A== X-IsSubscribed: yes On 2018-04-13 02:44, L A Walsh wrote: > Jay Cotton wrote: > You said: >> I don't see the PE32+ executable (console) x86-64, for MS Windows >>> >>> string. > Whereas, when I used the file command, it printed out exactly > what you were searching for.  Thus my assertion that your file > command is the likely culprit. >> file /usr/bin/nc >> /usr/bin/nc: PE32+ executable (console) x86-64 (stripped to external PDB), >> for MS Windows > As for the not-executable error message, have you checked, > as suggested elsewhere, whether or not you have some cheap > anti-virus installed that blocks programs that are not viruses > like 'nc'? Try: $ which file nc | xargs ls -glo -rwxr-xr-x 1 22035 Mar 18 08:18 /usr/bin/file -rwxr-xr-x 1 24576 Mar 19 2013 /usr/bin/nc $ which file nc | xargs file /usr/bin/file: PE32+ executable (console) x86-64, for MS Windows /usr/bin/nc: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows $ printf "HEAD / HTTP/1.0\r\n\r\n" | nc cygwin.com 80 HTTP/1.1 200 OK Date: Fri, 13 Apr 2018 11:45:41 GMT Server: Apache Accept-Ranges: bytes Vary: Accept-Encoding Content-Security-Policy: default-src 'self' http: https: Connection: close Content-Type: text/html; charset=UTF-8 -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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