#p2p #kademlia #server-ip #userspace #protocols #networking #early-stage

bin+lib samurai

Very early stage user-space P2P network protocol

6 releases

0.1.5 Mar 6, 2020
0.1.4 Jan 31, 2020

#4 in #early-stage

Custom license

41KB
1K SLoC

What is this?

The intention of this piece of code is to create a p2p protocol on top of TCP.

Warning

This project is still in a very early stage. It cannot be used for anything yet.

Remote testing with docker

  1. Get docker on a remote server with ssh.
  2. Get docker on your local machine.
  3. Create a ssh key with ssh-keygen and copy it to the server (/home/username/.ssh/authorized_keys).
(Linux)> ssh-keygen
(Windows)> ssh-keygen
  1. Add server as remote host on your local machine.
(Linux)> export DOCKER_HOST=ssh://usernam@your_server_ip
(Windows)> $env:DOCKER_HOST="ssh://username@your_server_ip"
  1. Run the script on the docker folder.
(Linux)> ./run.sh
(Windows)> .\run.ps1

Contribute

If you want to contribute to this project, either take a look at the issues or send me an email (solanav at qq.com) if you want to collaborate more deeply.

Goals

  1. End to end encryption
  2. Decentralized bootstraping
  3. Trust system

Resources I'm using

Dependencies

~6.5MB
~157K SLoC