Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #59157 > unrolled thread

Bug#878307: usbip: enable use of unix-domain sockets, not just network traffic

Started byDaniel Kahn Gillmor <dkg@fifthhorseman.net>
First post2017-10-13 00:20 +0200
Last post2017-10-13 00:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#878307: usbip: enable use of unix-domain sockets, not just network traffic Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-10-13 00:20 +0200
    Bug#878307: usbip: enable use of unix-domain sockets, not just network traffic Ben Hutchings <ben@decadent.org.uk> - 2017-10-13 00:20 +0200

#59157 — Bug#878307: usbip: enable use of unix-domain sockets, not just network traffic

FromDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Date2017-10-13 00:20 +0200
SubjectBug#878307: usbip: enable use of unix-domain sockets, not just network traffic
Message-ID<uzTZJ-34a-181@gated-at.bofh.it>
Package: usbip
Severity: wishlist

Some tools (like Gnuk) offer USB device emulation, exported to the host
for testing via usbip.

However, when using usbip in this way, any local user account with
packet-sniffing privilege (e.g. members of group "wireshark" in a common
debian convention) get access to the traffic over the USB port.

It would be great to enable usbip-style device exposure over a
SOCK_STREAM unix-domain socket as well as a TCP-based socket, since this
would make it possible to provide emulated USB devices without routing
traffic through the networking stack.

        --dkg

[toc] | [next] | [standalone]


#59159

FromBen Hutchings <ben@decadent.org.uk>
Date2017-10-13 00:20 +0200
Message-ID<uzTZJ-34a-179@gated-at.bofh.it>
In reply to#59157

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 upstream

On Thu, 2017-10-12 at 12:14 -0400, Daniel Kahn Gillmor wrote:
> Package: usbip
> Severity: wishlist
> 
> Some tools (like Gnuk) offer USB device emulation, exported to the host
> for testing via usbip.
> 
> However, when using usbip in this way, any local user account with
> packet-sniffing privilege (e.g. members of group "wireshark" in a common
> debian convention) get access to the traffic over the USB port.
> 
> It would be great to enable usbip-style device exposure over a
> SOCK_STREAM unix-domain socket as well as a TCP-based socket, since this
> would make it possible to provide emulated USB devices without routing
> traffic through the networking stack.

Please discuss this with the upstream maintainers:

M:	Valentina Manea <valentina.manea.m@gmail.com>
M:	Shuah Khan <shuahkh@osg.samsung.com>
M:	Shuah Khan <shuah@kernel.org>
L:	linux-usb@vger.kernel.org

Ben.

-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain. - Lily
Tomlin

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web