[TriLUG] netcat - must be doing something stupid

David McDowell turnpike420 at gmail.com
Thu Jun 29 23:21:20 EDT 2006


ah... at one time netcat wasn't part of a RHL or early FC distros and
one had to get it (best of my knowledge, surely if someone knows I'll
be proven wrong)  :)  and then they began building it in, but as nc,
not netcat, but the 2 commands were linked.  I found their
implementation (for some reason) did not function like the full netcat
I had downloaded and installed on my own prior to them including it as
nc.  What that ended up doing was wreaking havoc to my one and only
FOSS project:
http://www.turnpike420.net/linux/iTHX-M/ ... and well, since then, it
was graciously ported to PHP (you can see the old versions).  Ah well,
I know I'm not being much help, just chatting... :)

laters,
David


On 6/29/06, Greg Brown <gwbrown1 at gmail.com> wrote:
> Oddly enough there is only "netcat" on the Knoppix side and "nc" on the OS X
> side.
>
> On 6/29/06, David McDowell <turnpike420 at gmail.com> wrote:
> >
> > you have 1 command with "nc" in it and one command with "netcat" in
> > it.  Are they properly aliased to the correct binary?   just askin...
> > :D
> >
> >
> > On 6/29/06, Greg Brown <gwbrown1 at gmail.com> wrote:
> > > Machine A: dead PC running Knoppix, all drives are mounted and can be
> > > "ls"ed, "df"'ed, etc
> > > Machine B: OS X were I'd like to move data from Machine A
> > >
> > > Machine B (destination): nc -l -p 4444 | tar x
> > >
> > > Machine A (source): tar cf - * | netcat 192.168.x.x 4444  (where x.x is
> > of
> > > course machine A)
> > >
> > > This does not work.  No data traverses the network.  I've tried many
> > > different port numbers.  I'm off to bury myself in the man pages
> > again.  The
> > > directory on Machine B, where I want to transfer the data, is writeable
> > and
> > > verified with 'touch test.file'.
> > >
> > > I'm looking at this command and obviously missing something that should
> > be
> > > jumping right out at me.  Any ideas what it is?  I'm off to read the man
> > > pages again.
> > >
> > > Greg
> > > --
> > > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > >
> > --
> > TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list