Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ustulation/p2p
NAT Traversal techniques for p2p communication
https://github.com/ustulation/p2p
Last synced: 11 days ago
JSON representation
NAT Traversal techniques for p2p communication
- Host: GitHub
- URL: https://github.com/ustulation/p2p
- Owner: ustulation
- License: bsd-3-clause
- Created: 2017-02-19T20:04:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T15:20:58.000Z (almost 6 years ago)
- Last Synced: 2024-07-12T22:53:38.406Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 556 KB
- Stars: 134
- Watchers: 8
- Forks: 28
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE-BSD
Awesome Lists containing this project
- awesome-blockchain-rust - P2P NAT-Traversal
README
# P2P NAT-Traversal
|Crate|Documentation|Linux/OSX/Windows|
|:---:|:-----------:|:----------------:|
| [![](http://meritbadge.herokuapp.com/p2p)](https://crates.io/crates/p2p) | [![Documentation](https://docs.rs/p2p/badge.svg)](https://docs.rs/p2p) | [![Build Status](https://travis-ci.org/ustulation/p2p.svg?branch=master)](https://travis-ci.org/ustulation/p2p)The goal of this crate is to provide a robust and crypto-secure NAT traversal for peer to peer connection. It assumes publicly reachable rendezvous servers are provided. The server code itself is in the crate too, so the crate can either be used to deploy a server or used for peer to peer client communication or both simultaneously - for e.g. if you run the server on a port forwarded endpoint, it will be publicly available for others to rendezvous while you could choose normal NAT traversal mechanisms to communicate with other peers.
Please refer to the documentation above for detailed explanation. The examples and the integration tests show how the crate can be used.