Ncat Exit Status returns 1 when using -i (--idle-timeout)

Ranbir Singh via dev <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
Ncat: Version 6.40 ( http://nmap.org/ncat )Red Hat Enterprise Linux Server release 7.3 ( 3.10.0-514.21.2.el7.x86_64 )
Summary: Upon a successful connection to a host:port, when using -i (--idle-timeout), the exit status for the command turns out to be 1. As per Netcat implementation (and logical expectation..), the exit status should be 0 because the connection was successful.
$ /usr/bin/nc -w 2 -i 2 someserver 25
$ echo $?1
I guess this does not uphold the statement: "Ncat is most definitely based on Netcat in spirit and functionality"
Any plans to get this rectified?
Regards,Ranbir.

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.