[TriLUG] netcat - must be doing something stupid

Brian Henning brian at strutmasters.com
Thu Jun 29 13:42:46 EDT 2006


iptables?  I don't know what Knoppix' default ruleset is, but I suspect 
by now (version 4.0 they're up to, right?) it wouldn't be 
"wide-frikkin-open".  That'd be my first guess, and is frequently the 
thing I forget when trying to move packets around linux machines.

In short, make sure the kernel's firewall is accepting connections on 
your port of choice.

~Brian

Greg Brown 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

-- 
----------------
Brian A. Henning
strutmasters.com
336.597.2397x238
----------------



More information about the TriLUG mailing list