3 ms·
Been using it from time to time to transfer secrets; out of curiosity, when I'm sending something to some via this tool, do you known what machines is it relaye
by BinaryIgor 1y ago
Been using it from time to time to transfer secrets; out of curiosity, when I'm sending something to some via this tool, do you known what machines is it relayed through? I am sure it's not peer-to-peer; would not be as reliable!
- schoen 1y agoIt attempts to communicate peer-to-peer but falls back to a relay if necessary.
- lotharrr 1y ago(author here) Both sides connect to the "mailbox relay server" to perform key exchange and setup. That's a host named "relay.magic-wormhole.io". If either side has a public IP address, the encrypted data is transferred directly (they exchange IP addresses through the encrypted pipe, and attempt to connect to all of them, so this also covers two peers on the same LAN). If neither do, they both connect to a public "transit helper" relay named "transit.magic-wormhole.io" which acts like a TURN server to get the encrypted bytes from one connection to the other. I run both services.
- meejah 1y agoNote, too, that you may run your own "transit helper" (code: https://github.com/magic-wormhole/magic-wormhole-transit-relay/ https://github.com/magic-wormhole/magic-wormhole-transit-rel... ) and then specify this via "wormhole --transit-helper tcp:<your host>:<port>" when doing a transfer. You do need to run the helper on a public IP address, like a rented VPS for example.
- BinaryIgor 1y agoSo if I understand correctly, even if I use your relay, the relay relays encrypted data, never learning what I am sending?
- meejah 1y agoCorrect. It does learn some metadata: the endpoints of the messages (unless you use Tor) and the number of bytes in those messages.