diy p2p runtime

  • this is a work in progress

tracker is a Reactive System that is designed to be simple enough for a motivated individual to implement in a relatively short time-frame. using this guide together with small number of supporting tools and libraries you will be able to construct, and fully understand, your own standards-conforming peer to peer application runtime. a handful of demo applications and conformance validators are available to assist this process.

tracker apps are small software components that serve 9p filesystems. using standardized interfaces makes it possible to replace any component with a new implementation. we will focus on the core filesystem interfaces that are needed to communicate with other tracker clients. the complete runtime is very minimal, but well suited for hosting advanced p2p systems and user friendly graphical applications.

  1. Tools

  2. DHT Client

  3. Sigchain Client


p9p > p2p

https://9fans.github.io/plan9port/

dht client

a tracker dht client must implement the core bit torrent protocol and several extensions in order to participate in the network.

http://www.bittorrent.org/beps/bep_0003.html http://bittorrent.org/beps/bep_0032.html http://bittorrent.org/beps/bep_0035.html http://bittorrent.org/beps/bep_0042.html http://bittorrent.org/beps/bep_0052.html http://bittorrent.org/beps/bep_0049.html http://bittorrent.org/beps/bep_0046.html http://bittorrent.org/beps/bep_0030.html

sigchain client

https://source.heropunch.io/mirror/wolfssl

https://dominictarr.github.io/secret-handshake-paper/shs.pdf

gopher client/server

https://tools.ietf.org/html/rfc1436

demo apps

gopher/web gateway
acme
gopher server/client
ap client
gopher client
webfs (9front)
acme

real apps

wiki
sigchain client
dht client
acme
ap server
sigchain client
dht client
ap server
recondb
sigchain client
dht client
shell
acme

see also

https://source.heropunch.io/tomo/c-dht

https://man.openbsd.org/style.9

https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Coding+Standard

http://www.c-faq.com/

https://github.com/cjdelisle/cjdns/

https://yggdrasil-network.github.io/


CategoryGuide

Tracker (last edited 2019-01-27 03:24:57 by xj9)