kunkka

command module
v0.0.0-...-9afca86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2025 License: MIT Imports: 27 Imported by: 0

README

kunkka

Quick and dirty implementation of the BitTorrent protocol.

I was able to download Debian ISO with this program, but I think that there are still some concurrency bugs that make the program hang forever once it finishes download. Bencode decoder could have an interface to encoding/json, but I was too lazy to implement the unmarshalling logic. Endgame mode is not implemented, and the program also assumes that at least 1 peer will have the wanted piece.

It's named after a Dota 2 hero.

BEPs

Implemented:

  • 03 - The BitTorrent Protocol Specification
  • 23 - Tracker Returns Compact Peer Lists

TODO:

  • 05 - DHT Protocol
  • 10 - Extension Protocol
  • 09 - Extension for Peers to Send Metadata Files
  • 15 - UDP Tracker Protocol

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL