RE: [PATCH v12 0/9] usbip: exporting devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> What do you mean by "exporting"?  You never really explain that, so again,
> I don't understand why this patchset is needed :(

I wrote in the cover letter but it might be hart to catch.
I will try to improve in the next version.

1) The meaning
Please, check original Linux/tools/usb/usbip/src/usbip_network.h: L.87
saying "Export a USB device to a remote host."

2) The reasons

2-1) Gives flexibility of connecting direction
Using USB/IP in internet, there may be two cases.
a) an application is inside firewall and devices are outside.
b) devices are inside firewall and an application is inside.
In case-a, import works because the connection is from inside.
In case-b, import doesn't works because the connection is from outside.
In case-b, connection from device side is needed.

2-2) Usability of operations
When two Linux machines are in small distance, bind (makes importable)
at device side and attach (import) at application side is OK.
If application is as cloud service or in blade server connect (export)
from device side is useful.
There's a security issue in the cover letter but it's only when
application side daemon is stared. When it's not started, it doesn't
affect old usage.

NOTE:
This patch set touches only tools/usb/usbip, doesn't touch drivers.
Direction of URBs is not changed, only direction of connecting and
disconnecting in userspace are added.

Best Regards,

nobuo.iwata
//
> -----Original Message-----
> From: linux-usb-owner@xxxxxxxxxxxxxxx
> [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] On Behalf Of Greg KH
> Sent: Thursday, November 10, 2016 9:06 PM
> To: fx IWATA NOBUO
> Cc: valentina.manea.m@xxxxxxxxx; shuah.kh@xxxxxxxxxxx;
> linux-usb@xxxxxxxxxxxxxxx; fx MICHIMURA TADAO
> Subject: Re: [PATCH v12 0/9] usbip: exporting devices
> 
> On Thu, Oct 13, 2016 at 12:52:04PM +0900, Nobuo Iwata wrote:
> > Dear all,
> >
> > This series of patches adds exporting device operation to USB/IP.
> 
> What do you mean by "exporting"?  You never really explain that, so again,
> I don't understand why this patchset is needed :(
> 
> thanks,
> 
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at
> http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux