Re: netcat usage.

2014-02-24 Thread Jonathan Dowland
On 24/02/2014 10:21, Brian wrote: > the OP could consider doing (as root) > >setcap cap_net_bind_service=+ep /usr/bin/ncat > > as a solution to his problem. If they do, they should be aware that would essentially permit any user on the machine to bind to any port; since nc is a redirection s

Re: netcat usage.

2014-02-24 Thread Brian
On Mon 24 Feb 2014 at 20:18:16 +1100, Scott Ferguson wrote: > On 24/02/14 20:07, Zenaan Harkness wrote: > > I'd include socat in the list, but perhaps it's command line options > > are different? socat is my preferred network swiss army knife. > > > > A little different, but there are also netsed

Re: netcat usage.

2014-02-24 Thread Scott Ferguson
On 24/02/14 20:07, Zenaan Harkness wrote: > I'd include socat in the list, but perhaps it's command line options > are different? socat is my preferred network swiss army knife. > > A little different, but there are also netsed, netrw etc. > > And the excellent crypcat - but I just counted the

Re: netcat usage.

2014-02-24 Thread Zenaan Harkness
I'd include socat in the list, but perhaps it's command line options are different? socat is my preferred network swiss army knife. A little different, but there are also netsed, netrw etc. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Troubl

Re: netcat usage.

2014-02-24 Thread Scott Ferguson
On 24/02/14 15:44, Peter Easthope wrote: > References: > <530a9882.4040...@gmail.com> > > From: Scott Ferguson > 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

Re: netcat usage.

2014-02-23 Thread Peter Easthope
References: <530a9882.4040...@gmail.com> From: Scott Ferguson 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. netcat-openbsd pleads ignorance. peter@dalton:~$ nc -l 25 -e ssmtp nc: inv

Re: netcat usage.

2014-02-23 Thread Scott Ferguson
On 24/02/14 07:49, Peter Easthope wrote: > References: <9802e1a04541ccc2a9d2c5d8b89c6c0f.squir...@easthope.ca> > <23022014193900.3e6e4cc30...@desktop.copernicus.demon.co.uk> > > I'll be putting References in the header again soon. > > From: Brian > Date: Sun, 23 Feb 2014 19:43:12 + >> Which

Re: netcat usage.

2014-02-23 Thread Pascal Hambourg
David Glover-Aoki a écrit : > > Only the superuser can bind to ports below 1024. Actually not. It just requires that the process has the CAP_NET_BIND_SERVICE capability. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas.

Re: Re(2): netcat usage.

2014-02-23 Thread Brian
On Sun 23 Feb 2014 at 12:49:30 -0800, Peter Easthope wrote: > References: <9802e1a04541ccc2a9d2c5d8b89c6c0f.squir...@easthope.ca> > <23022014193900.3e6e4cc30...@desktop.copernicus.demon.co.uk> > > I'll be putting References in the header again soon. > > From: Brian > Date: Sun, 23 Feb 2014 19:4

Re(2): netcat usage.

2014-02-23 Thread Peter Easthope
References: <9802e1a04541ccc2a9d2c5d8b89c6c0f.squir...@easthope.ca> <23022014193900.3e6e4cc30...@desktop.copernicus.demon.co.uk> I'll be putting References in the header again soon. From: Brian Date: Sun, 23 Feb 2014 19:43:12 + > Which netcat are you using? [user@computer ~]$ nc --version

Re: netcat usage.

2014-02-23 Thread David Glover-Aoki
On Sun, 23 Feb 2014 09:15:59 -0800 "Peter Easthope" wrote: > Ncat: bind to :::25: Permission denied. QUITTING. Only the superuser can bind to ports below 1024. -- David Glover-Aoki http://david.gloveraoki.net/contact signature.asc Description: PGP signature

Re: netcat usage.

2014-02-23 Thread Brian
On Sun 23 Feb 2014 at 09:15:59 -0800, Peter Easthope wrote: > Can anyone offer a solution for this? > > [user@computer ~]$ nc -l 25 -e /usr/sbin/ssmtp > Ncat: bind to :::25: Permission denied. QUITTING. Which netcat are you using? Mine (which I will not reveal :) ) does does not offer -e as an o

Re: netcat usage.

2014-02-23 Thread Mark Carroll
"Peter Easthope" writes: > Can anyone offer a solution for this? > > [user@computer ~]$ nc -l 25 -e /usr/sbin/ssmtp > Ncat: bind to :::25: Permission denied. QUITTING. Maybe you need to be root? I doubt regular users can bind to ports below 1024. -- Mark -- To UNSUBSCRIBE, email to debian-us

netcat usage.

2014-02-23 Thread Peter Easthope
Can anyone offer a solution for this? [user@computer ~]$ nc -l 25 -e /usr/sbin/ssmtp Ncat: bind to :::25: Permission denied. QUITTING. Thanks,... Peter E. -- Telephone 1 360 639 0202. Bcc: peter at easthope.ca "http://carnot.yi.org/ " -- To UNSUBSCRIBE, email to deb