Nmap Development mailing list archives
Re: BUG: ncat does not log UDP in output file
From: David Fifield <david () bamsoftware com>
Date: Mon, 18 Jun 2012 19:54:54 -0700
On Mon, Jun 18, 2012 at 03:04:54PM +0200, Michal Hlavinka wrote:
Hi, we've found a bug in ncat (nmap 5.51, confirmed in 6.01). ncat correctly receives udp packet and prints it, but it does not write it to output file. It works when tcp is used instead of udp. Steps to Reproduce: # ncat --udp --output ncatudp.log --listen 6666 & # echo TEST | ncat --udp localhost 6666 TEST # killall ncat # cat ncatudp.log Actual result: the output file is empty Expected result: TEST For tcp ncat uses ncat_recv which does the logging with ncat_log_recv, but because ssl checks are not needed for udp, it uses just recv() never calling anything writing to the log file
Thanks for this good bug report. I've added a test and this is fixed in r28990. 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:
- BUG: ncat does not log UDP in output file Michal Hlavinka (Jun 18)
- Re: BUG: ncat does not log UDP in output file David Fifield (Jun 18)