What is PeerTube?
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.
Who made this software?
Developed with ❤ by Framasoft
Code contributors
- Chocobozzz
- rigelk
- Nutomic
- gegeweb
- joshmorel
- Jorropo
- frankstrater
- buoyantair
- fflorent
- bnjbvr
- alcalyn
- jankeromnes
- lucas-dclrcq
- JohnXLivingston
- DavidLibeau
- kaiyou
- ldidry
- McFlat
- DimitriGilbert
- floSoX
- Green-Star
- NassimBounouas
- thomaskuntzz
- rezonant
- Wirebrass
- clementbrizard
- LecygneNoir
- angristan
- okhin
- daftaupe
- tcitworld
- dedesite
- Nautigsam
- scanlime
- am97
- dadall
- jonathanraes
- yohanboniface
- anoadragon453
- auberanger
- darnuria
- rhaamo
- mrflos
- Yetangitu
- jocelynj
- lucaspontoexe
- Findus23
- flyingrub
- valvin1
- taziden
- AutomCoding
- sticmac
- barbeque
- luzpaz
- acid-chicken
- louistio
- qsypoq
- daker
- xyproto
- NaPs
- Anton-Latukha
- noplanman
- austinheap
- BO41
- benabbottnz
- ewft
- bradsk88
- trosel
- Ealhad
- claudehohl
- DeeJayBro
- dirkkelly
- Edznux
- ebrehault
- DatBewar
- ReK2Fernandez
- grizio
- Glandos
- lanodan
- HesioZ
- jacen92
- realityfabric
- jlebras
- Knackie
- mkody
- pichouk
- LeoMouyna
- Leopere
- LiPeK
- radiantly
- LoveIsGrief
- zapashcanon
- mart-e
- 0mp
- magopian
- mkoppmann
- 1000i100
- roipoussiere
- zallek
- zeograd
- pjoubert-
- gbip
- PhieF
- pdurbin
- quentinDupont
- Quenty31
- sundowndev
- robinkooli
- sesn
- ALSai
- Simounet
- sschueller
- TrashMacNugget
- FrozenDroid
- fallen
- melongbob
- anmol26s
- imbsky
- ctlaltdefeat
- jomo
- libertysoft3
- lsde
- brain-zhang
- norrist
- osauzet
- SansPseudoFix
- tomamplius
- tuxayo
- victor-long
- zacharystenger
- ewasion
Translation contributors
- abdhessuk
- abidin24
- aditoo
- alice
- anastasia
- autom
- balaji
- bristow
- butterflyoffire
- chocobozzz
- claichou
- degrange
- dibek
- edu
- ehsaan
- esoforte
- fkohrt
- giqtaqisi
- goofy
- gorkaazk
- gwendald
- h3zjp
- jfblanc
- jhertel
- jmf
- jorropo
- kairozen
- kedemferre
- kousha
- krkk
- landrok
- leeroyepold48
- m4sk1n
- matograine
- medow
- mhu
- midgard
- nbrucy
- nitai
- noncommutativegeo
- nopsidy
- nvivant
- osoitz
- outloudvi
- quentin
- quentind
- rafaelff
- rigelk
- s8321414
- sato_ss
- sercom_kc
- severo
- silkevicious
- sosha
- spla
- strubbl
- swedneck
- tagomago
- talone
- thibaultmartin
- tirifto
- tuxayo
- unextro
- unzarida
- vincent
- wanhua
- xinayder
- xosem
- zveryok
- 6543
- aasami
- alidemirtas
- alpha
- ariasuni
- bfonton
- c0dr
- canony
- cat
- clerie
- curupira
- dhsets
- digitalkiller
- dwsage
- flauta
- frankstrater
- gillux
- gunchleoc
- jaidedtd
- joss2lyon
- kekkotranslates
- kingu
- kittybecca
- knuxify
- lapor
- laufor
- lstamellos
- lw1
- mablr
- marcinmalecki
- mayana
- mikeorlov
- nin
- norbipeti
- ppnplus
- predatorix
- robin
- rond
- secreet
- sftblw
- sporiff
- tekuteku
- thecatjustmeow
- tmota
- uranix
- wakutiteo
- wonderingdane
- zeynepeliacik
Design
Icons
- Robbie Pearce
- Fork-Awesome
- playlist add by Google
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