this post was submitted on 21 Oct 2023
616 points (97.5% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54758 readers
641 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
TCP is a protocol where all the data is verified when sent. There is extra back and forth communication along with the payload to check that the payload arrived safely. Its great for downloading files when you want to make sure nothing is missing or damaged. UDP is more like a constant data stream where the sender doesn't care if it all gets to you. The advantage is that you send less data overall, useful if you don't care if one frame of a video stream looks weird.
One protocol isn't safer than another, its all about how much bandwidth you have/need. Torrenting over TOR uses up way more bandwidth than needed. Depending on the implementation, TCP can use 50% more bandwidth.
and sometimes we do care about successful delivery but need to handle that ourselves so we use UDP to avoid layering delivery verification mechanisms.
https://openvpn.net/faq/what-is-tcp-meltdown
Am I right to assume this is generally carried out by the users' torrent client which is why we prefer UDP for torrenting?
I'm definitely not an expert on Bittorrent, but I believe the person above was incorrect - I think there are some extensions to the protocol that enable UDP transport, but typically Bittorrent traffic occurs primarily via TCP.
What you said makes perfect sense in that hypothetical context, though!
Torrents are literally built around file hashes so yes
thank you sir!
Just different. Torrent protocol UTP is based on UDP, it has some advantages, you couldn't get with Tor