netcat -L

Randy macports-users at garnet.nulluser.com
Fri Jul 6 07:15:56 PDT 2007


Ranier,

-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.>>"

Randy


> Randy wrote:
>> Trying to run netcat with -L for a persistent listener, but nc
>> complains that -L is an illegal option.  Is this something unique to
>> OSX?  Have I missed something?
>
> Please, read the man page first. You want to use -l (small letter L).
> And no, this is not unique to OS X and has nothing to do with MacPorts
> :-)
>
> Rainer
>





More information about the macports-users mailing list