Nmap Development mailing list archives

ncat: add AF_VSOCK support (PR#1075)


From: Stefan Hajnoczi <stefanha () gmail com>
Date: Wed, 29 Nov 2017 14:46:23 +0000

Hi,
I have sent a pull request adding AF_VSOCK address family support to
ncat:

  https://github.com/nmap/nmap/pull/1075

Here is the pull request summary for your convenience:

  This pull request adds support for the AF_VSOCK address family that
  has been in Linux since 3.9. AF_VSOCK facilitates host<->guest
  communication for VMware, KVM, and Hyper-V hypervisors. Addresses are
  represented as <u32 cid, u32 port> pairs. Both SOCK_STREAM and
  SOCK_DGRAM socket types are available (depending on hypervisor
  support).

  AF_VSOCK is used for guest agents and hypervisor services. It is
  useful to have ncat support for shell scripting and testing.

  This pull request adds an ncat --vsock address family option (similar
  to how UNIX domain sockets and SCTP are supported). Please see the
  ncat.1 changes in the last commit for details.

You can find more information on how AF_VSOCK is supported in QEMU here:
https://wiki.qemu.org/Features/VirtioVsock
https://vmsplice.net/~stefan/stefanha-kvm-forum-2015.pdf

Reviews appreciated!

Thanks,
Stefan
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: