Nmap Development mailing list archives

Re: ncat server->client communication fails


From: David Fifield <david () bamsoftware com>
Date: Wed, 2 Jun 2010 09:33:50 -0600

On Wed, Jun 02, 2010 at 01:45:53PM +1000, Felipe Alvarez wrote:
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%)

These commands all work for me with Ncat 5.00. Try running with -vvv to
get more debugging information, and post the output on the server and
the client.

It's also worth trying a newer version, like 5.21 from
http://nmap.org/download.html.

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

Current thread: