Nmap Development mailing list archives
ncat failing with input/output error with ssl option
From: Paulo César Pereira de Andrade <paulo.cesar.pereira.de.andrade () gmail com>
Date: Wed, 6 Apr 2016 11:31:13 -0300
Hi, I found a solution, without comments after googling at http://seclists.org/nmap-dev/2015/q4/58 that works if using --sctp. A reproducer for the issue is: host1# mkdir /tmp/test host1# cd /tmp/test host1# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout host1.key -out host1.pem host1# scp host1.{key,pem} host2: host1# ncat -l -p 5000 --ssl --ssl-key host1.key --ssl-cert host1.pem > /tmp/F;ls -l /tmp/F host2# tar --acls -C /boot -cvf - . | ncat --ssl -i 4 -4 --send-only --ssl-verify --ssl-trustfile host1.pem host1 5000 localhost connection works, or, if adding --scpt for host1 and host2 ncat command line options. Thanks, Paulo _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- ncat failing with input/output error with ssl option Paulo César Pereira de Andrade (Apr 06)