New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv4 fallback support is missing from ncat #157

Closed
quanah opened this Issue Jun 8, 2015 · 6 comments

Comments

Projects
None yet
6 participants
@quanah

quanah commented Jun 8, 2015

As discussed in this thread from 2 years ago:
http://seclists.org/nmap-dev/2013/q4/269

ncat does not have IPv4 fallback. This is a serious deficiency and lack of feature parity with the other nc implementation. It makes ncat essentially unusable on systems that have both ipv4 and ipv6 localhost defined, but only have services listening on the ipv4 localhost.

With only ipv4 localhost defined:

[root@zqa-226 ncat]# echo STATUS | ./ncat -w 15 localhost 7171
SUCCESS ACTIVE[root@zqa-226 ncat]#

After defining ::1 to localhost:

[root@zqa-226 ncat]# echo STATUS | ./ncat -w 15 localhost 7171
Ncat: Connection refused

@robert-scheck

This comment has been minimized.

robert-scheck commented Jun 8, 2015

+1 for getting this deficit fixed

@mhlavink

This comment has been minimized.

mhlavink commented Jun 10, 2015

see this email for updated patch with addressed comments http://seclists.org/nmap-dev/2015/q2/92

@quanah

This comment has been minimized.

quanah commented Jun 16, 2015

I disagree that this is an "enhancement". This is a serious bug and lack of feature parity that causes serious issues when trying to use ncat as a replacement for nc.

@d33tah

This comment has been minimized.

d33tah commented Jul 2, 2015

I second @quanah.

@tremblerz

This comment has been minimized.

Contributor

tremblerz commented Jun 28, 2016

Hello folks,
I have a small report regarding this please tell me if I am missing something and whether patch works fine or not.
REPORT

@dmiller-nmap

This comment has been minimized.

dmiller-nmap commented Mar 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment