From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84558 invoked by alias); 10 Apr 2018 01:52:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 84436 invoked by uid 89); 10 Apr 2018 01:52:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=BAYES_00,GIT_PATCH_2,KAM_NUMSUBJECT,KAM_SHORT autolearn=ham version=3.3.2 spammy=repin, Repin, versed, website X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 10 Apr 2018 01:52:05 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id w3A1pxji085337 for ; Mon, 9 Apr 2018 18:52:03 -0700 Message-ID: <5ACC18BF.4080904@tlinx.org> Date: Tue, 10 Apr 2018 01:52:00 -0000 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Problem with NC.1.107 References: <1732290424.20180328171523@yandex.ru> In-Reply-To: <1732290424.20180328171523@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00083.txt.bz2 Andrey Repin wrote: > Greetings, Jay Cotton! > > Since nc does not reply to --version, I have no way to tell if it's the same > you are running with. --- That's odd. But has to do with what version of ncat is run. I notice my linux machine says: > nc --version Ncat: Version 6.47 ( http://nmap.org/ncat ) But the version in cygwin: > cygcheck -f /usr/bin/nc nc-1.107-4 is very different. Not sure which is newer or better, but the version at nmap.org supports SCTP, though the BSD version supports QOS. Not sufficiently versed in either to know all the differences. Seems like the nmap.org version has more options: 44 vs. BSD's 28 (didn't double count switches from nmap that have a short+long form). Where do the sources from the BSD version come from? It doesn't seem to list a website. > >> The file permissions are messed up. --- I didn't notice this. > >> $ file /usr/bin/nc >> /usr/bin/nc: writable, executable, regular file, no read permission > >> I don't see the PE32+ executable (console) x86-64, for MS Windows >> string. --- weird -- when I tried that, got: > file /usr/bin/nc /usr/bin/nc: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows >> here is the file in /usr/bin >> $ ls -l nc* >> -rwxr-xr-x 1 lbmgm lbmgm 24576 Mar 19 2013 nc.exe ---- Looks like the same file I have: > ll /usr/bin/nc -rwxr-xr-x+ 1 24576 Mar 19 2013 /usr/bin/nc* I'm not sure your file command is referencing the same file, since my ls shows the same size and date as yours, and clearly both show read+execute for U,G and other and write only for owner. >> I looked at the make file, it seems to be o.k. for generating a >> runable program. (uses gcc) but I don't have enough stuff installed >> to allow a build. --- I think something is wrong with your 'file' command. My nc-binary didn't come with a makefile (only binary & manpage): > cygcheck -l nc /usr/bin/nc.exe /usr/share/man/man1/nc.1.gz -- 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