Nmap Development mailing list archives
BUG: ncat does not log UDP in output file
From: Michal Hlavinka <mhlavink () redhat com>
Date: Mon, 18 Jun 2012 15:04:54 +0200
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: TESTFor 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
Let me know if you need more information. Cheers, Michal _______________________________________________ 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)