Nmap Development mailing list archives

Re: ncat server->client communication fails


From: Felipe Alvarez <felipe.alvarez () gmail com>
Date: Wed, 2 Jun 2010 13:45:53 +1000

I don't think my message went to the list. I'm trying again.

thanks,
--Felipe

Hi Nmap Devel list

Ncat version 5.00
All on localhost

SERVER: ncat -l 31400
CLIENT:    ncat localhost 31400

This "chat" works only one way, and tcpdump "port 31400" confirms it.
The client can send to server "hello world" and when server replies,
it doesn't not show up in tcpdump, or on the CLIENT screen.  What's
wrong?

I tried the --chat command, and --verbose doesn't give clues.
I've read through http://nmap.org/ncat/guide/ncat-chat.html

As a test, I tried:
SERVER: yes | ncat -l 31400
CLIENT:  ncat localhost 31400

and nothing shows up on either screen (but ram usage goes up slightly,
around 20%)

SERVER: ncat -l 31400
CLIENT : yes | ncat localhost 31400

Works as expected.

The intended operation is also 100% successful on traditional `netcat'

Felipe

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: