diff options
Diffstat (limited to 'client/src/app/+about/about-peertube/about-peertube.component.html')
-rw-r--r-- | client/src/app/+about/about-peertube/about-peertube.component.html | 201 |
1 files changed, 99 insertions, 102 deletions
diff --git a/client/src/app/+about/about-peertube/about-peertube.component.html b/client/src/app/+about/about-peertube/about-peertube.component.html index f8700d9b6..c748154e9 100644 --- a/client/src/app/+about/about-peertube/about-peertube.component.html +++ b/client/src/app/+about/about-peertube/about-peertube.component.html | |||
@@ -1,11 +1,11 @@ | |||
1 | <div class="root"> | 1 | <div class="root"> |
2 | <h1 i18n class="about-peertube-title"> | 2 | <h1 i18n class="pt-fs-3 text-center fw-semibold mb-3"> |
3 | This website is powered by PeerTube | 3 | This website is powered by PeerTube |
4 | </h1> | 4 | </h1> |
5 | 5 | ||
6 | <img class="mascot" width="121px" height="147px" src="/client/assets/images/mascot/default.svg" alt="mascot"/> | 6 | <img class="d-block my-4 mx-auto" width="121px" height="147px" src="/client/assets/images/mascot/default.svg" alt="mascot"/> |
7 | 7 | ||
8 | <div class="description"> | 8 | <div class="text-center"> |
9 | <p i18n> | 9 | <p i18n> |
10 | PeerTube is a self-hosted ActivityPub-federated video streaming platform using P2P directly in your web browser. | 10 | PeerTube is a self-hosted ActivityPub-federated video streaming platform using P2P directly in your web browser. |
11 | </p> | 11 | </p> |
@@ -20,7 +20,7 @@ | |||
20 | </p> | 20 | </p> |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | <div class="documentation"> | 23 | <div class="d-flex flex-wrap justify-content-center my-5"> |
24 | 24 | ||
25 | <div class="card"> | 25 | <div class="card"> |
26 | <div class="card-body"> | 26 | <div class="card-body"> |
@@ -59,104 +59,101 @@ | |||
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | 61 | ||
62 | <div class="privacy-contributors"> | 62 | <div class="d-flex flex-column"> |
63 | <div class="p2p-privacy"> | 63 | <h2 class="mb-4 mt-5 text-center pt-fs-5 fw-semibold"> |
64 | <h2 class="section-title"> | 64 | <div class="anchor" id="privacy"></div> <!-- privacy anchor --> |
65 | <div class="anchor" id="privacy"></div> <!-- privacy anchor --> | 65 | <ng-container i18n>P2P & Privacy</ng-container> |
66 | <ng-container i18n>P2P & Privacy</ng-container> | 66 | </h2> |
67 | </h2> | 67 | |
68 | 68 | <p i18n> | |
69 | <p i18n> | 69 | PeerTube uses the BitTorrent protocol to share bandwidth between users by default to help lower the load on the server, |
70 | PeerTube uses the BitTorrent protocol to share bandwidth between users by default to help lower the load on the server, | 70 | but ultimately leaves you the choice to switch back to regular streaming exclusively from the server of the video. What |
71 | but ultimately leaves you the choice to switch back to regular streaming exclusively from the server of the video. What | 71 | follows applies only if you want to keep using the P2P mode of PeerTube. |
72 | follows applies only if you want to keep using the P2P mode of PeerTube. | 72 | </p> |
73 | </p> | 73 | |
74 | 74 | <p i18n> | |
75 | <p i18n> | 75 | The main threat to your privacy induced by BitTorrent lies in your IP address being stored in the instance's BitTorrent |
76 | The main threat to your privacy induced by BitTorrent lies in your IP address being stored in the instance's BitTorrent | 76 | tracker as long as you download or watch the video. |
77 | tracker as long as you download or watch the video. | 77 | </p> |
78 | </p> | 78 | |
79 | 79 | <h3 i18n class="pt-fs-5">What are the consequences?</h3> | |
80 | <h3 i18n class="p2p-privacy-title">What are the consequences?</h3> | 80 | |
81 | 81 | <p i18n> | |
82 | <p i18n> | 82 | In theory, someone with enough technical skills could create a script that tracks which IP is downloading which video. |
83 | In theory, someone with enough technical skills could create a script that tracks which IP is downloading which video. | 83 | In practice, this is much more difficult because: |
84 | In practice, this is much more difficult because: | 84 | </p> |
85 | </p> | 85 | |
86 | 86 | <ul> | |
87 | <ul> | 87 | <li i18n> |
88 | <li i18n> | 88 | An HTTP request has to be sent on each tracker for each video to spy. |
89 | An HTTP request has to be sent on each tracker for each video to spy. | 89 | If we want to spy all PeerTube's videos, we have to send as many requests as there are videos (so potentially a lot) |
90 | If we want to spy all PeerTube's videos, we have to send as many requests as there are videos (so potentially a lot) | 90 | </li> |
91 | </li> | 91 | |
92 | 92 | <li i18n> | |
93 | <li i18n> | 93 | For each request sent, the tracker returns random peers at a limited number. |
94 | For each request sent, the tracker returns random peers at a limited number. | 94 | 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 |
95 | 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 | 95 | requests sent to know every peer in the swarm |
96 | requests sent to know every peer in the swarm | 96 | </li> |
97 | </li> | 97 | |
98 | 98 | <li i18n> | |
99 | <li i18n> | 99 | Those requests have to be sent regularly to know who starts/stops watching a video. It is easy to detect that kind of behaviour |
100 | Those requests have to be sent regularly to know who starts/stops watching a video. It is easy to detect that kind of behaviour | 100 | </li> |
101 | </li> | 101 | |
102 | 102 | <li i18n> | |
103 | <li i18n> | 103 | 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 |
104 | 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 | 104 | video |
105 | video | 105 | </li> |
106 | </li> | 106 | |
107 | 107 | <li i18n> | |
108 | <li i18n> | 108 | The IP address is a vague information: usually, it regularly changes and can represent many persons or entities |
109 | The IP address is a vague information: usually, it regularly changes and can represent many persons or entities | 109 | </li> |
110 | </li> | 110 | |
111 | 111 | <li i18n> | |
112 | <li i18n> | 112 | Web peers are not publicly accessible: because we use the websocket transport, the protocol is different from classic BitTorrent tracker. |
113 | Web peers are not publicly accessible: because we use the websocket transport, the protocol is different from classic BitTorrent tracker. | 113 | When you are in a web browser, you send a signal containing your IP address to the tracker that will randomly choose other peers |
114 | When you are in a web browser, you send a signal containing your IP address to the tracker that will randomly choose other peers | 114 | to forward the information to. |
115 | to forward the information to. | 115 | See <a class="link-orange" href="https://github.com/yciabaud/webtorrent/blob/beps/bep_webrtc.rst">this document</a> for more information |
116 | See <a class="link-orange" href="https://github.com/yciabaud/webtorrent/blob/beps/bep_webrtc.rst">this document</a> for more information | 116 | </li> |
117 | </li> | 117 | </ul> |
118 | </ul> | 118 | |
119 | 119 | <p i18n> | |
120 | <p i18n> | 120 | The worst-case scenario of an average person spying on their friends is quite unlikely. |
121 | The worst-case scenario of an average person spying on their friends is quite unlikely. | 121 | There are much more effective ways to get that kind of information. |
122 | There are much more effective ways to get that kind of information. | 122 | </p> |
123 | </p> | ||
124 | |||
125 | <h3 i18n class="p2p-privacy-title">How does PeerTube compare with YouTube?</h3> | ||
126 | |||
127 | <p i18n> | ||
128 | The threats to privacy with YouTube are different from PeerTube's. | ||
129 | In YouTube's case, the platform gathers a huge amount of your personal information (not only your IP) to analyze them and track you. | ||
130 | Moreover, YouTube is owned by Google/Alphabet, a company that tracks you across many websites (via AdSense or Google Analytics). | ||
131 | </p> | ||
132 | |||
133 | <h3 i18n class="p2p-privacy-title">What can I do to limit the exposure of my IP address?</h3> | ||
134 | |||
135 | <p i18n> | ||
136 | 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 | ||
137 | your IP in their connection logs: ISP/routers/trackers/CDN and more. | ||
138 | 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. | ||
139 | Thinking that removing P2P from PeerTube will give you back anonymity doesn't make sense. | ||
140 | </p> | ||
141 | |||
142 | <h3 i18n class="p2p-privacy-title">What will be done to mitigate this problem?</h3> | ||
143 | |||
144 | <p i18n> | ||
145 | PeerTube wants to deliver the best countermeasures possible, to give you more choice | ||
146 | and render attacks less likely. Here is what we put in place so far: | ||
147 | </p> | ||
148 | |||
149 | <ul> | ||
150 | <li i18n>We set a limit to the number of peers sent by the tracker</li> | ||
151 | <li i18n>We set a limit on the request frequency received by the tracker</li> | ||
152 | <li i18n>Allow instance admins to disable P2P from the administration interface</li> | ||
153 | </ul> | ||
154 | |||
155 | <p i18n> | ||
156 | Ultimately, remember you can always disable P2P by toggling it in the video player, or just by disabling | ||
157 | WebRTC in your browser. | ||
158 | </p> | ||
159 | </div> | ||
160 | 123 | ||
124 | <h3 i18n class="p2p-privacy-title">How does PeerTube compare with YouTube?</h3> | ||
125 | |||
126 | <p i18n> | ||
127 | The threats to privacy with YouTube are different from PeerTube's. | ||
128 | In YouTube's case, the platform gathers a huge amount of your personal information (not only your IP) to analyze them and track you. | ||
129 | Moreover, YouTube is owned by Google/Alphabet, a company that tracks you across many websites (via AdSense or Google Analytics). | ||
130 | </p> | ||
131 | |||
132 | <h3 i18n class="p2p-privacy-title">What can I do to limit the exposure of my IP address?</h3> | ||
133 | |||
134 | <p i18n> | ||
135 | 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 | ||
136 | your IP in their connection logs: ISP/routers/trackers/CDN and more. | ||
137 | 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. | ||
138 | Thinking that removing P2P from PeerTube will give you back anonymity doesn't make sense. | ||
139 | </p> | ||
140 | |||
141 | <h3 i18n class="p2p-privacy-title">What will be done to mitigate this problem?</h3> | ||
142 | |||
143 | <p i18n> | ||
144 | PeerTube wants to deliver the best countermeasures possible, to give you more choice | ||
145 | and render attacks less likely. Here is what we put in place so far: | ||
146 | </p> | ||
147 | |||
148 | <ul> | ||
149 | <li i18n>We set a limit to the number of peers sent by the tracker</li> | ||
150 | <li i18n>We set a limit on the request frequency received by the tracker</li> | ||
151 | <li i18n>Allow instance admins to disable P2P from the administration interface</li> | ||
152 | </ul> | ||
153 | |||
154 | <p i18n> | ||
155 | Ultimately, remember you can always disable P2P by toggling it in the video player, or just by disabling | ||
156 | WebRTC in your browser. | ||
157 | </p> | ||
161 | </div> | 158 | </div> |
162 | </div> | 159 | </div> |