Ability to use -net socket with unix sockets
Public bug reported:
It would be a nice feature (simplifying access control for example) to be able to do something like:
qemu -net socket,listen=unix:/tmp/qemunet
qemu -net socket,connect=unix:/tmp/qemunet
For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access.
** Affects: qemu
Importance: Undecided
Status: New
Signature · 14 lines
Ability to use -net socket with unix sockets https://bugs.launchpad.net/bugs/676934 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: It would be a nice feature (simplifying access control for example) to be able to do something like: qemu -net socket,listen=unix:/tmp/qemunet qemu -net socket,connect=unix:/tmp/qemunet For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access.
** Changed in: qemu
Importance: Undecided => Wishlist
Signature · 22 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/676934 Title: Ability to use -net socket with unix sockets Status in QEMU: New Bug description: It would be a nice feature (simplifying access control for example) to be able to do something like: qemu -net socket,listen=unix:/tmp/qemunet qemu -net socket,connect=unix:/tmp/qemunet For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/676934/+subscriptions
Aren't these at different levels of the stack? Network devices deal in packets not connections. It sounds like you want to use something like vsock which provides a virtual socket device to the guest.
Signature · 22 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/676934 Title: Ability to use -net socket with unix sockets Status in QEMU: New Bug description: It would be a nice feature (simplifying access control for example) to be able to do something like: qemu -net socket,listen=unix:/tmp/qemunet qemu -net socket,connect=unix:/tmp/qemunet For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/676934/+subscriptions
This is just about connecting the NIC backends for 2 QEMUs together using a UNIX socket, instead of the current TCP/UDP socket. It should be fairly trivial to support i would expect. Though ideally we'd port the netdev socket backend to use QIOChannel too
Signature · 22 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/676934 Title: Ability to use -net socket with unix sockets Status in QEMU: New Bug description: It would be a nice feature (simplifying access control for example) to be able to do something like: qemu -net socket,listen=unix:/tmp/qemunet qemu -net socket,connect=unix:/tmp/qemunet For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/676934/+subscriptions
*** This bug is a duplicate of bug 1903470 ***
https://bugs.launchpad.net/bugs/1903470
** This bug has been marked a duplicate of bug 1903470
qemu 5.1.0: Add UNIX socket support for netdev socket
Signature · 22 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/676934 Title: Ability to use -net socket with unix sockets Status in QEMU: New Bug description: It would be a nice feature (simplifying access control for example) to be able to do something like: qemu -net socket,listen=unix:/tmp/qemunet qemu -net socket,connect=unix:/tmp/qemunet For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/676934/+subscriptions
*** This bug is a duplicate of bug 1903470 ***
https://bugs.launchpad.net/bugs/1903470
This is an automated cleanup. This bug report got closed because it is a duplicate.
** Changed in: qemu
Importance: Wishlist => Undecided
** Changed in: qemu
Status: New => Expired
Signature · 22 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/676934 Title: Ability to use -net socket with unix sockets Status in QEMU: Expired Bug description: It would be a nice feature (simplifying access control for example) to be able to do something like: qemu -net socket,listen=unix:/tmp/qemunet qemu -net socket,connect=unix:/tmp/qemunet For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/676934/+subscriptions