Nmap Development mailing list archives

Piping files to ncat under MacOS/BSD


From: Henri Doreau <henri.doreau () gmail com>
Date: Thu, 25 Oct 2012 22:55:30 +0200

Hello,

I just noticed that ncat an inconsistent behavior in ncat when
switching between the different nsock engines.

shell1:~$ ncat -l localhost 8080

shell2:~$ ncat --nsock-engine=select localhost 8080 < /etc/hosts #
exit after transfer
shell2:~$ ncat --nsock-engine=poll localhost 8080 < /etc/hosts # exit
after transfer
shell2:~$ ncat --nsock-engine=kqueue localhost 8080 < /etc/hosts #
hangs after transfer

kevent() is kind enough to tell how far we are from EOF on vnodes and
it should be easy to report EOF conditions to the caller. I'll
unfortunately lack time to do it during the next few days but wanted
to report it and provide initial information about this bug.

Regards

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


Current thread: