public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Pandu Poluan <pandu@poluan.info>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] netcat - which?
Date: Wed, 7 Mar 2012 23:48:16 +0700	[thread overview]
Message-ID: <CAA2qdGVcU-yTsXbOfiXei1dHfpsanKB8GS0Mk58myMRiXFVXrQ@mail.gmail.com> (raw)
In-Reply-To: <CAOTuDKpacaQe86iYv1tfSCannQ1TY8HWSFffDAnpfrJn-JuE2w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1472 bytes --]

On Mar 7, 2012 10:39 PM, "Joshua Murphy" <poisonbl@gmail.com> wrote:
>
> 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)
>

Thank You! For what I'm using netcat for (testing a single open port by
sending / receiving certain messages), busybox apparently fits the bill
nicely.

Much appreciated!

Rgds,

[-- Attachment #2: Type: text/html, Size: 2085 bytes --]

      reply	other threads:[~2012-03-07 16:49 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 ` [gentoo-user] " Joshua Murphy
2012-03-07 16:48   ` Pandu Poluan [this message]

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=CAA2qdGVcU-yTsXbOfiXei1dHfpsanKB8GS0Mk58myMRiXFVXrQ@mail.gmail.com \
    --to=pandu@poluan.info \
    --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