netcat -L

Arno Hautala fracai at mac.com
Fri Jul 6 15:56:28 PDT 2007


and not deleting the CC to the user list is probably a good idea

On 2007/07/06, at 10:43, Rainer Müller wrote:

> Randy wrote:
>> -l is not a persistent listener.  nc will close on a FIN.   -L makes
>> it persistent.
>>
>> Google for "netcat manual"...
>>
>> # 2 is http://www.governmentsecurity.org/archive/t3573.html
>>
>> :...The -L (note the capital L) option will restart Netcat with
>> the same command line when the connection is terminated. This way you
>> can connect over and over to the same Netcat process.>>"
>
> Ah... So this talks about netcat for Windows NT (clear indicated by
> nc.exe), but not for UNIX. I'd rather believe the man page and the
> output of nc -h than some random google'd website.
>
> There is no -L option. Neither in /usr/bin/nc nor in /opt/local/bin/nc
> nor in nc on the Linux boxes I have access.
> Since such an parameter isn't mentioned anywhere, it doesn't seem to
> exist in netcat for UNIX. I can't tell if it exists in a Windows  
> version.

Fortunately there's more than one netcat out there ... :)
I've always wanted to submit a port for GNU Netcat, but never got  
around to it.
You can always install GNU netcat from source.  I think I remember  
that it's a pretty straightforward compile.

The project page:
http://netcat.sourceforge.net/

Check out the following for some more info:
http://netsecure.alcpress.com/netcat/

--                                                 --
arno  s.  hautala        /-\        arno at alum.wpi.edu
--                                                 --





More information about the macports-users mailing list