From d8232bac6abfb70953229a4164395f05cec90b35 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 6 Dec 2019 11:28:55 +0100 Subject: [PATCH] Add peertube applications links in about page --- ...about-peertube-contributors.component.html | 8 +- ...about-peertube-contributors.component.scss | 12 + .../about-peertube.component.html | 243 +++++++++++------- .../about-peertube.component.scss | 45 ++-- 4 files changed, 185 insertions(+), 123 deletions(-) diff --git a/client/src/app/+about/about-peertube/about-peertube-contributors.component.html b/client/src/app/+about/about-peertube/about-peertube-contributors.component.html index de60754cb..4e7d2389b 100644 --- a/client/src/app/+about/about-peertube/about-peertube-contributors.component.html +++ b/client/src/app/+about/about-peertube/about-peertube-contributors.component.html @@ -1,11 +1,9 @@
-

Who made this software?

- -

- Developed with ❤ by Framasoft +

+ Developed with ❤ by Framasoft

-

+

Framasoft logo diff --git a/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss b/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss index 6a22f569f..03e6ce8c8 100644 --- a/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss +++ b/client/src/app/+about/about-peertube/about-peertube-contributors.component.scss @@ -2,12 +2,24 @@ @import '_mixins'; .peertube-contributors { + .framasoft { + font-size: 18px; + } + + > p { + text-align: center; + } + /deep/ h1 { font-size: 1rem; + text-align: center; + font-weight: $font-semibold; + margin-top: 20px; } /deep/ ul { padding: 0; + text-align: center; li { display: inline-block; 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 c6f21d35a..53aee5634 100644 --- a/client/src/app/+about/about-peertube/about-peertube.component.html +++ b/client/src/app/+about/about-peertube/about-peertube.component.html @@ -1,111 +1,158 @@ -

- What is PeerTube? -

+
+

+ What is PeerTube? +

-mascot - -
-

- PeerTube is a self hosted federated (ActivityPub) video streaming platform using P2P directly in the web browser. -

- -

- It is a free and open-source software, under the AGPLv3 licence. -

- -

- For more information, please visit joinpeertube.org. -

-
- -
- - -
- -
- - -
-

P2P & Privacy

+ mascot +

- PeerTube uses the BitTorrent protocol to share bandwidth between users. - This implies that your IP address is stored in the instance's BitTorrent tracker as long as you download or watch the video. + PeerTube is a self hosted federated (ActivityPub) video streaming platform using P2P directly in the web browser.

-
What are the consequences?
-

- 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: + It is a free and open-source software, under the AGPLv3 + licence.

-
    -
  • - 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) -
  • - -
  • - 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 peers in the swarm -
  • - -
  • - Those requests have to be sent regularly to know who starts/stops watching a video. It is easy to detect that kind of behaviour -
  • - -
  • - 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 -
  • - -
  • - The IP address is a vague information: usually, it regularly changes and can represent many persons or entities -
  • - -
  • - 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 -
  • -
-

- 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. + For more information, please visit joinpeertube.org.

- -
How does PeerTube compare with YouTube?
- -

- The threats to privacy in 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). -

- -
What can I do to limit the exposure of my IP address?
- -

- 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. -

- -
What will be done to mitigate this problem?
- -

- PeerTube is in its early stages, and want to deliver the best countermeasures possible by the time the stable is released. - In the meantime, we want to test different ideas related to this issue: -

- -
    -
  • Set a limit to the number of peers sent by the tracker
  • -
  • Set a limit on the request frequency received by the tracker (being tested)
  • -
  • Ring a bell if there are unusual requests (being tested)
  • -
  • Disable P2P from the administration interface
  • -
  • An automatic video redundancy program: we wouldn't know if the IP downloaded the video on purpose or if it was the automatized program
  • -
+
+ +
+
+
+ Use PeerTube + documentation +
+ +
+ Discover how to setup your account, what is a channel, how to create a playlist and more! +
+
+
+ +
+
+
+ PeerTube + Applications +
+ +
+ Discover unofficial Android applications or browser addons! +
+
+
+ +
+
+
+ Contribute on + PeerTube +
+ +
+ Want to help to improve PeerTube? You can translate the web interface, give your feedback or directly contribute to the code! +
+
+
+
+ +
+ + +
+

P2P & Privacy

+ +

+ PeerTube uses the BitTorrent protocol to share bandwidth between users. + This implies that your IP address is stored in the instance's BitTorrent tracker as long as you download or watch the video. +

+ +
What are the consequences?
+ +

+ 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: +

+ +
    +
  • + 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) +
  • + +
  • + 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 peers in the swarm +
  • + +
  • + Those requests have to be sent regularly to know who starts/stops watching a video. It is easy to detect that kind of behaviour +
  • + +
  • + 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 +
  • + +
  • + The IP address is a vague information: usually, it regularly changes and can represent many persons or entities +
  • + +
  • + 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 +
  • +
+ +

+ 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. +

+ +
How does PeerTube compare with YouTube?
+ +

+ The threats to privacy in 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). +

+ +
What can I do to limit the exposure of my IP address?
+ +

+ 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. +

+ +
What will be done to mitigate this problem?
+ +

+ PeerTube is in its early stages, and want to deliver the best countermeasures possible by the time the stable is released. + In the meantime, we want to test different ideas related to this issue: +

+ +
    +
  • Set a limit to the number of peers sent by the tracker
  • +
  • Set a limit on the request frequency received by the tracker (being tested)
  • +
  • Ring a bell if there are unusual requests (being tested)
  • +
  • Disable P2P from the administration interface
  • +
  • An automatic video redundancy program: we wouldn't know if the IP downloaded the video on purpose or if it was the + automatized program +
  • +
+
+ +
diff --git a/client/src/app/+about/about-peertube/about-peertube.component.scss b/client/src/app/+about/about-peertube/about-peertube.component.scss index cd1364c14..a43eb6fe1 100644 --- a/client/src/app/+about/about-peertube/about-peertube.component.scss +++ b/client/src/app/+about/about-peertube/about-peertube.component.scss @@ -1,6 +1,11 @@ @import '_variables'; @import '_mixins'; +.root { + max-width: 1200px; + margin: auto; +} + .about-peertube-title { font-size: 25px; text-align: center; @@ -20,10 +25,22 @@ } .description { - margin-bottom: 100px; text-align: center; } +.documentation { + display: flex; + flex-wrap: wrap; + margin: 50px 0; + justify-content: center; + + .card { + margin: 30px; + flex-basis: 300px; + font-size: 15px; + } +} + .description, .p2p-privacy, my-about-peertube-contributors { @@ -34,31 +51,19 @@ my-about-peertube-contributors { } } -.p2p-privacy-title { - margin-top: 15px; -} - .privacy-contributors { display: flex; - flex-direction: row; - - > div, - > my-about-peertube-contributors { - flex-basis: 100%; - display: block; - } + flex-direction: column; .p2p-privacy { + .section-title { + margin: 50px 0 20px; + text-align: center; + } + h6 { font-size: 20px; + margin-top: 15px; } } - - my-about-peertube-contributors { - margin: 0 40px 40px 0; - } - - @media screen and (max-width: $small-view) { - flex-direction: column; - } }