Re:No one, not even the Secret Service, should randomly plug...
by the8472 on Monday April 08, 2019 @06:56PM
(#19609938)
Emulate a MTP device (often used by cameras) and mount with a fuse driver. Since the content on the remote device can change the driver shouldn't be caching it.
[ Parent
| on HN ]
Re:No one, not even the Secret Service, should randomly plug...
by geofft on Monday April 08, 2019 @07:58PM
(#19610366)
Or emulate a network, generate a DHCP response for your favorite /31 and don't send a router, and point a public domain name at the other address in that /31.
Re:No one, not even the Secret Service, should randomly plug...
by the8472 on Tuesday April 09, 2019 @03:02PM
(#19617898)
I'm not sure if you are serious. My goal was to use an USB device standard for which open source drivers exist and which doesn't open security holes by allowing it into your system.
MTP devices are ~mostly harmless~ and relatively easy to trust. Network devices are not.
Re:No one, not even the Secret Service, should randomly plug...
by voltagex_ on Monday April 08, 2019 @11:52PM
(#19611627)
Can you elaborate? I understand the concept of RNDIS or CDC devices, but if you've sent an IP address only without a router, how is any traffic going to make it back to the other IP in that subnet? I figure it will go back over the default route, but how are you in control of the traffic itself?
Re:No one, not even the Secret Service, should randomly plug...
by oarsinsync on Tuesday April 09, 2019 @03:23AM
(#19612512)
The subnet mask determines the size of the connected network, which is in itself a route in your routing table.
It's the same mechanism used to reach your router. Subnet-local / connected routes are routes in themselves. Routers let you leave your subnet.