ncat: add AF_VSOCK support (PR#1075)
Stefan Hajnoczi <[email protected]>
| Newsgroups | gmane.comp.security.nmap.devel |
|---|---|
| Message-ID | <CAJSP0QUcMvkZ5Kj5zJq4=pOwvw++23c=r7tbaOrix4Tu-rpr8Q@mail.gmail.com> |
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/