this post was submitted on 10 Jun 2025
65 points (73.4% liked)
Piracy: ๊ฑแดษชส แดสแด สษชษขส ๊ฑแดแด๊ฑ
61959 readers
329 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):
๐ดโโ ๏ธ Other communities
FUCK ADOBE!
Torrenting/P2P:
- !seedboxes@lemmy.dbzer0.com
- !trackers@lemmy.dbzer0.com
- !qbittorrent@lemmy.dbzer0.com
- !libretorrent@lemmy.dbzer0.com
- !soulseek@lemmy.dbzer0.com
Gaming:
- !steamdeckpirates@lemmy.dbzer0.com
- !newyuzupiracy@lemmy.dbzer0.com
- !switchpirates@lemmy.dbzer0.com
- !3dspiracy@lemmy.dbzer0.com
- !retropirates@lemmy.dbzer0.com
๐ฐ Please help cover server costs.
![]() |
![]() |
---|---|
Ko-fi | Liberapay |
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hole punching is how torrenting is possible at all without port forwarding. But it still relies on the other person having an open port, because hole punching only works to initiate things on your end.
Decided to do some more reading on this topic. TIL:
TCP, the more common protocol; requires at least one side to have a port forwarded through their NAT to the client, so the other side can make a connection to that open port.
uTP on the other hand, can 'holepunch' by sending a packet to a known IP, which opens a port through the sending clients NAT, specifically for that IP. That port can then be used to send and receive by either side until it closes due to inactivity.
So, torrent clients can use uTP holepunching to open a port without requiring manual forwarding, then advertise that open port to public trackers. Client 'A' will try to connect to an IP+port it got from the tracker and get ignored (because the recipient NAT isn't expecting data from that IP and drops the packets). Then when client 'B' decides to connect to client 'A', 'A's port will now be open and allowing data from 'B's IP, thus establishing a connection.
This is slower than a direct connection because both clients need to be made aware of each other and decide to attempt to connect at reasonably similar times. It also requires public trackers with peerexchange enabled and the torrents cannot be flagged as private.
Bullshit, Trackers and DHT hold IP and port of peers, hole-punching technique allows to open both sides.
The only difference is the speed to establish connection:
Now, the reason why it seems hard to seed torrents on private tracker, that disable DHT, is because seeders with closed port will only fetch leechers IP from tacker 1 to 4 times per hour, so by the time the hole-punched connection is established, leecher has already sucked up all the data from peers with open ports.
It's fine to keep port closed if you avoid private tracker and DHT disabled torrents. If you want to build up ratio on a crappy private tracker, seeding a piece of a fat 100Gb+ torrent will do.