All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets
@ 2010-11-18 11:03 Tefnet Developers
  2017-01-10  9:17 ` [Qemu-devel] [Bug 676934] " Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tefnet Developers @ 2010-11-18 11:03 UTC (permalink / raw)
  To: qemu-devel

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

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 676934] Re: Ability to use -net socket with unix sockets
  2010-11-18 11:03 [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets Tefnet Developers
@ 2017-01-10  9:17 ` Thomas Huth
  2019-05-17 14:07 ` Alex Bennée
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2017-01-10  9:17 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
   Importance: Undecided => Wishlist

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 676934] Re: Ability to use -net socket with unix sockets
  2010-11-18 11:03 [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets Tefnet Developers
  2017-01-10  9:17 ` [Qemu-devel] [Bug 676934] " Thomas Huth
@ 2019-05-17 14:07 ` Alex Bennée
  2019-05-17 14:30 ` Daniel Berrange
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Alex Bennée @ 2019-05-17 14:07 UTC (permalink / raw)
  To: qemu-devel

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.

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 676934] Re: Ability to use -net socket with unix sockets
  2010-11-18 11:03 [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets Tefnet Developers
  2017-01-10  9:17 ` [Qemu-devel] [Bug 676934] " Thomas Huth
  2019-05-17 14:07 ` Alex Bennée
@ 2019-05-17 14:30 ` Daniel Berrange
  2020-11-18 10:33 ` Thomas Huth
  2021-06-17  7:38 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Daniel Berrange @ 2019-05-17 14:30 UTC (permalink / raw)
  To: qemu-devel

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

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 676934] Re: Ability to use -net socket with unix sockets
  2010-11-18 11:03 [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets Tefnet Developers
                   ` (2 preceding siblings ...)
  2019-05-17 14:30 ` Daniel Berrange
@ 2020-11-18 10:33 ` Thomas Huth
  2021-06-17  7:38 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2020-11-18 10:33 UTC (permalink / raw)
  To: qemu-devel

*** 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

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 676934] Re: Ability to use -net socket with unix sockets
  2010-11-18 11:03 [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets Tefnet Developers
                   ` (3 preceding siblings ...)
  2020-11-18 10:33 ` Thomas Huth
@ 2021-06-17  7:38 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2021-06-17  7:38 UTC (permalink / raw)
  To: qemu-devel

*** 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

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-17  7:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 11:03 [Qemu-devel] [Bug 676934] [NEW] Ability to use -net socket with unix sockets Tefnet Developers
2017-01-10  9:17 ` [Qemu-devel] [Bug 676934] " Thomas Huth
2019-05-17 14:07 ` Alex Bennée
2019-05-17 14:30 ` Daniel Berrange
2020-11-18 10:33 ` Thomas Huth
2021-06-17  7:38 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.