HTTPS SSH

py-p2pinet

run

  1. rabbitmq_create.py
    -> this creates necessary queues on the broker -> You need to edit this file to create a queue, and a bind for each client -> use script rabbitmq_destroy.py to delete all queues-exchanges in your server
  2. edit settings.conf

You can use script start_p2p.sh to bootstrap the system Don't forget to edit your http client to use the proxy

  1. client.py
    -> this creates file settings.conf
  2. scheduler.py
    -> this creates file decision.txt
  3. ping_server.py
    -> place info on rabbitmq of your line metric
  4. proxy.py
    -> this reads file decision.txt

Dependencies

amqplib