You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
torch-agent/example
B.J. Dweck 7197e9aa92
Updated example and sample config to run mosquitto on 2 ports: 1883 and 8883
2 years ago
..
agent-config Example should use mqtt.example.com instead of my unique Tor hidden service address :-) (which I will now change) 2 years ago
broker-config Updated example and sample config to run mosquitto on 2 ports: 1883 and 8883 2 years ago
pki Reorganized and regenerated example PKI 2 years ago
subscriber-config Reorganized and regenerated example PKI 2 years ago
README.md Revised README.md files to take Rudefox repo into account 2 years ago
Vagrantfile Can provision from the online Rudefox Debian repo 2 years ago
run-broker.sh Updated example and sample config to run mosquitto on 2 ports: 1883 and 8883 2 years ago
run-subscriber.sh Updated example and sample config to run mosquitto on 2 ports: 1883 and 8883 2 years ago

README.md

TORch Agent Example

The example creates a Vagrant machine configured with TORch Agent

Running the Example

Install dependencies

Run the Broker

Add the following line to your /etc/hosts file:

127.0.0.1    mqtt.example.com

Run the broker in a terminal window:

./run-broker.sh

Run the Subscriber

In a separate terminal window, run the subscriber:

./run-subscriber.sh

Run TORch Agent in Vagrant

Run the Vagrant box in a third terminal window:

vagrant up

You should see that the broker received a connection from the Vagrant box at boot up and the subscriber received the onion hostname. You can use a local tor proxy to connect to the vagrant box using SSH and the onion hostname.