This is neat, but it seems like unlike with "real" Magic Wormhole, the server here can capture files by surreptitiously manipulating JS.
WebWormHole: Send files quickly using WebRTC
61–70 of 161 posts
Re: WebWormHole: Send files quickly using WebRTC
#62Earlier quoted context omitted.
This uses STUN servers to help it poke through NATs. (That's what I mean by "WebRTC's NAT traversal tricks") There's no TURN server set for this, but it shouldn't be hard to add one. There are NATs where you'd need one to relay all the traffic, but these seem to be relatively rare nowadays. If anyone has any actual statistics on these I'd appreciate it!
Which one? Which STUN server are you using?
On command line it's an option and Google's is default. I'd like to make the signalling server also a STUN server at some point.
Re: WebWormHole: Send files quickly using WebRTC
#63> ...it uses WebRTC to make the direct peer connections. This allows us to make use of WebRTC's NAT traversal tricks, as well as the fact that it can be used in browsers. But I'm assuming it can't break through all NAT routers, right? A good portion of people still won't be able to use this? A service usable by everyone would require STUN and TURN servers to be set up, no? Or has WebRTC made advances I'm unaware of?
This uses STUN servers to help it poke through NATs. (That's what I mean by "WebRTC's NAT traversal tricks") There's no TURN server set for this, but it shouldn't be hard to add one. There are NATs where you'd need one to relay all the traffic, but these seem to be relatively rare nowadays. If anyone has any actual statistics on these I'd appreciate it!
AT&T 5G uses Symmetric NAT. It's not rare if you have an iPhone or iPad with cellular. No way to do P2P without relaying traffic unless you want to "guess" the randomized port number, and, on that front, there are NAT-device-aware algorithms that can make that process faster.
We were promised IPv6 will make NAT's not necessary but I believe service providers use NATs not simply to conserve the IPv4 space but to actively discourage using the service to host your own servers.
Re: WebWormHole: Send files quickly using WebRTC
#64Re: WebWormHole: Send files quickly using WebRTC
#65that's the way firefox send does it
it's open source so you could run an instance of it if you wanted to.
Re: WebWormHole: Send files quickly using WebRTC
#66i like the approach of encrypting locally, uploading to the cloud and sending the decryption key via a link. that's the way firefox send does it https://send.firefox.com it's open source so you could run an instance of it if you wanted to.
Re: WebWormHole: Send files quickly using WebRTC
#67file.pizza is another similar project
I once tried sending a 3 GB file through it, then kept wondering why my entire system became so sluggish. Turns out it loads the entire thing into RAM... The file didn't go through either. I hope this one isn't like that.
Browsers are pretty restrictive about writing to the file system.
Re: WebWormHole: Send files quickly using WebRTC
#68It's 2020, and people are elated to discover that it is possible to transfer a file directly between two systems on the Internet. True story: I was giving a guest lecture on network virtualization at UCI and demoing ZeroTier. One student came up afterwords and asked me how traffic could flow between systems without "a cloud." Evidently the idea that data could just go directly from point A to point B was utterly, com…
It keeps happening.
Re: WebWormHole: Send files quickly using WebRTC
#69Who pays for the stun and turn servers?