Skip to content
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

Ncat cannot handle unnamed AF_UNIX sockets #46

Open
dmiller-nmap opened this issue Jan 14, 2015 · 3 comments
Open

Ncat cannot handle unnamed AF_UNIX sockets #46

dmiller-nmap opened this issue Jan 14, 2015 · 3 comments

Comments

@dmiller-nmap
Copy link

Definitely affects SOCK_DGRAM (--udp), but may also have impact on SOCK_STREAM (TCP-style, the default). See http:https://seclists.org/nmap-dev/2014/q4/343 and #23

@t-8ch
Copy link

t-8ch commented Dec 7, 2019

It seems to work with SOCK_STREAM

How should ncat behave if the users want it to send something back?
A warning once if recvonly == false and then ignoring all writes would be fine, or?

@dmiller-nmap
Copy link
Author

I believe recent changes (6a9acb1) have resolved this issue. @glicht can you confirm?

@dmiller-nmap
Copy link
Author

I am wrong, the issue still exists. The changes I mentioned should make it safe to print debug messages regarding such a connection, but it does not address the issue of calling connect() on such a socket.

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

No branches or pull requests

2 participants