samurai

Crates.iosamurai
lib.rssamurai
version0.1.5
sourcesrc
created_at2020-01-11 01:14:30.326703
updated_at2020-03-06 11:04:42.119155
descriptionVery early stage user-space P2P network protocol.
homepage
repositoryhttps://github.com/solanav/samurai
max_upload_size
id197380
size97,740
solanav (solanav)

documentation

README

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

Commit count: 144

cargo fmt