Nmap Development mailing list archives

Fwd: Ncat SSL truble


From: Тюхтин Владимир <tiukhtin () starline ru>
Date: Mon, 26 Oct 2015 10:59:49 +0300



-------- Исходное сообщение --------
Тема: Ncat SSL truble
Дата: 2015-10-13 17:50
От: Владимир Тюхтин <tiukhtin () starline ru>
Кому: fyodor () nmap org

Hello! My name is Vladimir. It looks like I find a ncat bug. I use ncat and all is fine. But 2 things is not working for me. First (critical)When I try to use SSL, I get Input/output error:

tar -cz Downloads/ubuntu-15.04-desktop-amd64.iso | ncat -v --ssl 10.1.20.233 443 #on first host

ncat -l  -v 443 --ssl | tar -xz   #on second host


Output is:

Ncat: Version 6.40 ( http://nmap.org/ncat )
Ncat: SSL connection to 10.1.20.233:443.
Ncat: SHA-1 fingerprint: 54CC BC6C 38AD F60D 047A 6CA8 FB35 51C9 DE1C C390
Ncat: Input/output error.

But, if I add advansed option --sctp (USE SCTP like transport), it works fine - bug apperar only with TCP.

And another using UDP (not so critical)

tar -cz Downloads/ubuntu-15.04-desktop-amd64.iso | ncat -v -u 10.1.20.233 7000 #on first host

ncat -l  -v -u 7000 | tar -xz   #on second host

Client sends just a part of file and freezes. Server side stay listening. With TCP (without SSL) it works fine.

What I do wrong?

Thank you!

--
Тюхтин Владимир
 Лесной 6а
 тел. 1185
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: