Hacker News new | ask | show | jobs
by knocte 2633 days ago
> It allows to share a file directly between two computers, without the need of a third party.

I'm guessing it still depends on STUN and TURN servers?

2 comments

Yup, it still relies on a STUN server to get the connection's metadata. As hardwaresofton pointed out, I'm using Google's STUN server.

Since it's only STUN, and not TURN, the actual transferred data does not go transit through it though.

Is there no way to run this, without relying on a third party server/service?
Super late but thanks for clarifying this
Yup -- https://github.com/Antonito/gfile/blob/v0.1.0/internal/sessi...

There's no TURN server specified, and I'm not 100% sure whether the one that's specified there (Google's) does both (so if STUN didn't work, would it fail or attempt TURN?).

Google only provides STUN server. Providing free, performant TURN server would require HUGE amount of resources.