Giter Site home page Giter Site logo

rex's Introduction

Dependencies:
 * Python 2.6+
 * PyCrypto
 * BottlePy
 * Gevent

Client dependencies:
 * Python 2.6+
 * Gevent
 
Rex is an experimental protocol for simplifying a few under-the-hood steps of P2P
hole punching. It works by providing a service to maintain a TCP socket to the
server on port 7653 which the server keeps alive for you (as long as your TCP stack
keeps responding with ACK packets, which you don't have to worry about at the
application level except that the server will drop you if the connection is lost).
Then, you can use the HTTP hosting part of the service to host a URL that contains
your public and local IP addresses (and optionally, an RSA signature of them) to
pass around to friends who want to connect to you.

The simultaneous connection code is still up to you. The Rex server provides only
the "REndezvous Exchange" part of the stuff; you still have to let the other person
know by some means to try to connect to you while you try to connect to him. Client
code for this is coming soon as a reference that will demonstrate connecting to
a remote computer by a URL.

Documentation of the Rex protocol, in both its components, is available here:
https://docs.google.com/document/pub?id=14Us-En_y8-MPRDgja5Obq7XoLBYCyaziPQaW-1vleg0

rex's People

Contributors

maddiem4 avatar

Stargazers

 avatar  avatar Yuri Z. avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.