[TriLUG] netcat - must be doing something stupid

Aaron S. Joyner aaron at joyner.ws
Fri Jun 30 02:30:17 EDT 2006


Greg Brown wrote:

> Very good point..the plot thickens:
>
> Machine A: netcat 192.168.x.x 3555
> Machine B: nc -l -p 3555
>
> If I try to send a simple "hello world" between the two machines with the
> server on OS X and the client on Knoppix the "hello world" never makes 
> it.
>
> However if I switch them around:
>
> Machine A: netcat -l -p 3555
> Machine B: netcat 192.168.15.1999 3555
>
> I can send "hello worlds" back and forth as expected.
>
> So it looks like, for whatever reason, I'll have to have the knoppix box
> grab the socket and write to it with Machine B (the os x box) as the
> client.  Why?  Dunno.  Just is.  I'll see how that works out.


Sounds like the OS X box isn't allowing incoming connections.  Most 
desktop boxen, even with relatively restrictive firewalls, don't prevent 
you from making outbound connections, so I wouldn't really suspect 
Knoppix as the culprit.  Do you have the OS X firewall enabled?

Aaron S. Joyner



More information about the TriLUG mailing list