3 ms·
> You don't need to rely or surrender to the cloud I would imagine that this goes through someone's server. It would be helpful if the readme gave a little mor
by jdormit 9y ago
> You don't need to rely or surrender to the cloud
I would imagine that this goes through someone's server. It would be helpful if the readme gave a little more detail about how this works.
- city41 9y agoLooking at the source code suggests it is peer to peer. The code for daemon indicates you need to specify what address and port to listen on when starting up, and there is code about receiving incoming clients. https://github.com/spolu/warp/blob/master/daemon/cmd/warpd/main.go#L22 https://github.com/spolu/warp/blob/master/daemon/cmd/warpd/m...
- lilactown 9y agoThis is false. There has to be some way to resolve the name used (e.g. in the example, `warp connect goofy-dev` is used) to an IP address. Looking through the source code, I've found these lines: https://github.com/spolu/warp/blob/master/client/command/connect.go#L107 https://github.com/spolu/warp/blob/master/client/command/con... https://github.com/spolu/warp/blob/master/client/command/connect.go#L156 https://github.com/spolu/warp/blob/master/client/command/con... https://github.com/spolu/warp/blob/master/protocol.go#L13 https://github.com/spolu/warp/blob/master/protocol.go#L13 It looks like it defaults to connecting to `warp.link:4242`. I can't tell if it's routing the entire connection through warp.link or if it's just resolving the name to an IP address that then connect directly (I don't know Go very well).
- comboy 9y agoGiven that it's not explicit in the readme, not that easy to find in the code, and repeatedly posted to HN I would assume malicious intent and stay away from it. Assuming no malicious intent, not disclosing anything about it in the readme suggests not very security oriented mindset and therefore it's likely just not secure enough to use.
- vultour 9y agoSeems to be using their server by default, but you can change it to your own instance using the environment variable. And yes, it looks like all the data passes through the chosen server as well.