Seal tracker signaling with the code
The SDP relayed by the trackers is now encrypted with AES-GCM under a key derived from the code, next to the swarm ID and the proof key. Trackers and peers that found the swarm without the code no longer learn either side's addresses, and an offer or answer that doesn't decrypt is dropped before any peer connection exists, so it can't take the sender's turn. The proof stays as a second layer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
338d4d2532
commit
bb69569b51
3 files changed
+240
-72
No files matched your search
@@ -52,7 +52,9 @@ the browsers need two things:
|
||||
|
||||
- **Finding each other.** The code puts both browsers into the same group on a public
|
||||
[WebTorrent](https://webtorrent.io/) tracker, which only passes the connection details back and
|
||||
forth. It never sees the file. With the manual exchange you play the tracker yourself.
|
||||
forth. They are encrypted with the code, so the tracker can't read them, and neither can anyone
|
||||
else in the group without the code. It never sees the file. With the manual exchange you play the
|
||||
tracker yourself.
|
||||
- **Reaching each other.** Most devices sit behind a router and don't know their public address.
|
||||
A STUN server tells them. With **Use STUN** turned off no STUN server is contacted, which works
|
||||
only on the same network or over a VPN.
|
||||
@@ -68,7 +70,8 @@ networks, a direct connection may not be possible.
|
||||
|
||||
- The file only goes to the person you connected with.
|
||||
- That person learns your IP address, as with any direct connection. The tracker and the STUN
|
||||
servers see it too.
|
||||
servers see it too, from the request itself. Nobody without the code learns it through the
|
||||
tracker.
|
||||
- Settings (STUN on or off, your server lists) are kept in your browser only.
|
||||
- Whoever hosts HellCon serves the code that runs in your browser. If you'd rather not trust that,
|
||||
host your own (below).
|
||||
|
||||
Reference in new issue
Block a user