🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #254373

Re: update netcat 1.11 to netcat 1.12

#254373
From: Ivan Shmakov
Date: Sun, 21 Apr 2013 13:58
55 lines
3331 bytes
>>>>> 程浩  <chenghao0511@gmail.com> writes:

	[Cross-posting to news:comp.protocols.tcp-ip and
	news:comp.sources.d, and setting Followup-To: there, for
	news:news.software.readers doesn't seem to be an appropriate
	newsgroup for Netcat-related discussions in general.]

 > update netcat 1.11 to netcat 1.12

	Which of the Netcat implementations do you suggest to change?
	Please note that there're at least /four/ different Netcats
	currently in use, including the "traditional" Netcat,
	OpenBSD Netcat, GNU Netcat, and Netcat6.  (Cf., e. g., [1].)

[1] http://en.wikipedia.org/wiki/Netcat#Variants

 > //nc -lp port (remote )
 > //nc ip port -e cmd.exe (local)
 > //after ctrl+c  cmd.exe no exit,socket no shutdown,remote's nc no exit!
 > //it is a bug!so write netcat 1.12.

	Usually, one doesn't release new versions of the software
	without either acquiring the consent of the current maintainer,
	or changing the name.  Although it's a guideline rather than a
	"strict" rule, failure to follow it may result -- and, in this
	case, have resulted -- in many distinct versions of the code
	being sharing the same name and version.  Consider, e. g.:

--cut: http://eternallybored.org/misc/netcat/ --
    Here's netcat 1.11 compiled for both 32 and 64-bit Windows (but note
    that 64-bit version hasn't been tested much - use at your own risk).
    [...]

    Small update: netcat 1.12 - adds -c command-line option to send CRLF
    line endings instead of just CR (eg. to talk to Exchange SMTP)
--cut: http://eternallybored.org/misc/netcat/ --

 > //only modify doexec.c by chenghao0511@gmail.com

[...]

	Please also consider presenting the change in the "Unified diff"
	format (cf., e. g., [1]), so that the differences will be easy
	to read for anyone concerned.

	(I believe that MinGW provides the "diff.exe" version of the
	GNU diff program, suitable for the W32 and W64 platforms.)

	TIA.

[2] http://en.wikipedia.org/wiki/Unified_diff#Unified_format

-- 
FSF associate member #7257	np. Returning — Jami Sieber
Technical Details
Message-ID: <87ip3gasui.fsf@violet.siamics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!hg5ni7836wib.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail
References: <31cee52f-4d64-4731-b235-f52249951005@googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <87ip3gasui.fsf@violet.siamics.net>
Subject: Re: update netcat 1.11 to netcat 1.12
Date: Sun, 21 Apr 2013 13:58:13 +0000
From: Ivan Shmakov <oneingray@gmail.com>
References: <31cee52f-4d64-4731-b235-f52249951005@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!hg5ni7836wib.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail
X-Received: by 10.180.106.161 with SMTP id gv1mr10960282wib.4.1366552699002;
Newsgroups: comp.protocols.tcp-ip,comp.sources.d,news.software.readers
Followup-To: comp.protocols.tcp-ip,comp.sources.d
Organization: Aioe.org NNTP Server
Lines: 54
NNTP-Posting-Host: 41vvMPMLxfEjizuK6lSUHw.user.speranza.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse@aioe.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
X-Notice: Filtered by postfilter v. 0.8.2
Cancel-Lock: sha1:+bWT5eIp+3Emlm6MY8nx0JLlF0E=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit