On 24/02/14 15:44, Peter Easthope wrote: > References: <[email protected]> > <[email protected]> > > From: Scott Ferguson <[email protected]> > Date: Mon, 24 Feb 2014 11:55:30 +1100 >> NOTE: there four different "netcats" available in Wheezy. > > I found three. > netcat-openbsd, netcat-traditional, netcat6.
OK. I miscounted transitional as a separate package. > > netcat-openbsd pleads ignorance. > peter@dalton:~$ nc -l 25 -e ssmtp > nc: invalid option -- 'e' > ... > > netcat-traditional listens on the port; or appears to and does nothing. > peter@dalton:~$ nc -l 25 -e ssmtp > [gears humming] What are the contents of the file "ssmtp"? > > netcat6 refuses. > peter@dalton:~$ nc -l -p 25 -e ssmtp "-p 25" is not the same as "-l 25" > nc: bind to source :: 25 failed: Permission denied > nc: bind to source 0.0.0.0 25 failed: Permission denied > nc: failed to bind to any local addr/port $ nc -lvv -p 1025 -w 2;nc -lvv -p 25 listening on [any] 1025 ... no connection : Connection timed out Can't grab 0.0.0.0:25 with bind : Permission denied (netcat-traditional 1.10-40) Kind regards <snipped> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

