PeerTube

P2P & Privacy




P2P &amp. Privacy<p> PeerTube uses the BitTorrent protocol to share bandwidth between users by default to help lower the load on the server, but ultimately leaves you the choice to switch back to regular streaming exclusively from the server of the video. What follows applies only if you want to keep using the P2P mode of PeerTube. </p> <p> The main threat to your privacy induced by BitTorrent lies in your IP address being stored in the instance's BitTorrent tracker as long as you download or watch the video. </p>What are the consequences?<p> In theory, someone with enough technical skills could create a script that tracks which IP is downloading which video. In practice, this is much more difficult because: </p> <ul> <li> An HTTP request has to be sent on each tracker for each video to spy. If we want to spy all PeerTube's videos, we have to send as many requests as there are videos (so potentially a lot) </li> <li> For each request sent, the tracker returns random peers at a limited number. For instance, if there are 1000 peers in the swarm and the tracker sends only 20 peers for each request, there must be at least 50 requests sent to know every peer in the swarm </li> <li> Those requests have to be sent regularly to know who starts/stops watching a video. It is easy to detect that kind of behaviour </li> <li> If an IP address is stored in the tracker, it doesn't mean that the person behind the IP (if this person exists) has watched the video </li> <li> The IP address is a vague information: usually, it regularly changes and can represent many persons or entities </li> <li> Web peers are not publicly accessible: because we use WebRTC inside the web browser (with the WebTorrent library), the protocol is different from classic BitTorrent. When you are in a web browser, you send a signal containing your IP address to the tracker that will randomly choose other peers to forward the information to. See this document for more information </li> </ul> <p> The worst-case scenario of an average person spying on their friends is quite unlikely. There are much more effective ways to get that kind of information. </p>How does PeerTube compare with YouTube?<p> The threats to privacy with YouTube are different from PeerTube's. In YouTube's case, the platform gathers a huge amount of your personal information (not only your IP) to analyze them and track you. Moreover, YouTube is owned by Google/Alphabet, a company that tracks you across many websites (via AdSense or Google Analytics). </p>What can I do to limit the exposure of my IP address?<p> Your IP address is public so every time you consult a website, there is a number of actors (in addition to the final website) seeing your IP in their connection logs: ISP/routers/trackers/CDN and more. PeerTube is transparent about it: we warn you that if you want to keep your IP private, you must use a VPN or Tor Browser. Thinking that removing P2P from PeerTube will give you back anonymity doesn't make sense. </p>What will be done to mitigate this problem?<p> PeerTube wants to deliver the best countermeasures possible, to give you more choice and render attacks less likely. Here is what we put in place so far: </p> <ul> <li>We set a limit to the number of peers sent by the tracker</li> <li>We set a limit on the request frequency received by the tracker</li> <li>Allow instance admins to disable P2P from the administration interface</li> </ul> <p> Ultimately, remember you can always disable P2P by toggling it in the video player, or just by disabling WebRTC in your browser. </p>





Comments:
On 2021-01-29 21:27:19 UTC, arlo (2390) Staff wrote:

Document has been crawled
Old length: 0 CRC 0
New length: 15862 CRC 3627003474

On 2021-01-29 21:28:42 UTC, arlo (2390) Staff wrote:

Document has been crawled
Old length: 15862 CRC 3627003474
New length: 3571 CRC 1171515886