Sign inSign up

mysteriumnetwork/rgap-watchdog-agent

By mysteriumnetwork

Updated 8 days ago

Image
0

4.7K

mysteriumnetwork/rgap-watchdog-agent repository overview

SuperNode

POC and research for HTTP proxy which proxies HTTP traffic through Mysterium Network nodes

Quickstart

Create local environment file .env by copying .env.dist

Build and tun the service via mage build run

Woolia! Go to http://localhost:8000/

Swagger docs

To (re)generate API documentation run:

mage swag

Also Swagger docs are automatically generated by the given annotations and available at the root of the service. For an example annotation, see in api package.

MQTT connection events

Configure the event broker with --mqtt-addr, --mqtt-username, and --mqtt-password. Connection messages published under mysterium-vpn/connection/<connection-id> include ip, country, city, and node_type in the location object.

Each process instance generates an MQTT client ID in the form supervpn-<8 hex characters>. Clean sessions remain disabled, so automatic reconnects within the same process can resume its persistent session. A restarted process gets a different client ID and therefore does not resume the previous process's persistent session.

Tag summary

Content type

Image

Digest

sha256:408e8b53e

Size

5.1 MB

Last updated

8 days ago

docker pull mysteriumnetwork/rgap-watchdog-agent