17

I recently got the Windows 10 anniversary update and installed bash. I tried installing nmap, but it wouldn't run.

My question: Is there any way for commands like nmap to correctly run in WSL?

Thanks in advance!

Error I get when running sudo nmap -sn 192.168.1.*: route_dst_netlink: cannot bind AF_NETLINK socket: Invalid argument

I remember reading somewhere that WSL doesn't have support for sockets, but can use TCP. Is this possible in this case? Also, will WSL ever have support for sockets?

12

No, according to this thread: https://github.com/Microsoft/BashOnWindows/issues/69 the network options to support nmap are currently not all implemented.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.