public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joshua Murphy <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] netcat - which?
Date: Wed, 7 Mar 2012 10:37:12 -0500	[thread overview]
Message-ID: <CAOTuDKpacaQe86iYv1tfSCannQ1TY8HWSFffDAnpfrJn-JuE2w@mail.gmail.com> (raw)
In-Reply-To: <CAA2qdGUZusBEmk=nq_ByXc8=nWAvh1GZnsktr500Rs2YHPEfKg@mail.gmail.com>

On Wed, Mar 7, 2012 at 2:03 AM, Pandu Poluan <pandu@poluan.info> wrote:
> eix netcat returned net-analyzer/gnu-netcat and net-analyzer/netcat
>
> What's the difference? Which one should I emerge?
>
> Rgds,
> --
> FdS Pandu E Poluan
> ~ IT Optimizer ~
>
>  • LOPSA Member #15248
>  • Blog : http://pepoluan.tumblr.com
>  • Linked-In : http://id.linkedin.com/in/pepoluan
>

For a third, unasked, option... if you're not using any of the more
extravagant features, you practically always have busybox on hand
already...

$ busybox nc
BusyBox v1.19.3 (2012-02-21 22:48:14 EST) multi-call binary.

Usage: nc [OPTIONS] HOST PORT  - connect
nc [OPTIONS] -l -p PORT [HOST] [PORT]  - listen

	-e PROG	Run PROG after connect (must be last)
	-l	Listen mode, for inbound connects
	-p PORT	Local port
	-s ADDR	Local address
	-w SEC	Timeout for connects and final net reads
	-i SEC	Delay interval for lines sent
	-n	Don't do DNS resolution
	-u	UDP mode
	-v	Verbose
	-o FILE	Hex dump traffic
	-z	Zero-I/O mode (scanning)

-- 
Poison [BLX]
Joshua M. Murphy



  parent reply	other threads:[~2012-03-07 15:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07  7:03 [gentoo-user] netcat - which? Pandu Poluan
2012-03-07 11:39 ` Benny Gächter
2012-03-07 12:54   ` Mick
2012-03-07 14:59 ` [gentoo-user] " James
2012-03-07 15:03 ` [gentoo-user] " Michael Mol
2012-03-07 15:28 ` [gentoo-user] " Grant Edwards
2012-03-07 15:37 ` Joshua Murphy [this message]
2012-03-07 16:48   ` [gentoo-user] " Pandu Poluan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOTuDKpacaQe86iYv1tfSCannQ1TY8HWSFffDAnpfrJn-JuE2w@mail.gmail.com \
    --to=poisonbl@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox