-
Notifications
You must be signed in to change notification settings - Fork 12
Broker Discovery
In order for DSA to be seamless, there has to be a way to discover brokers. The Broker Discover Protocol is a very simple solution to this problem.
All communications use IP address 239.255.255.230
and port 1900
.
All packets are just a textual message. There is no need for a special packet structure. Discovering brokers is a very simple and quick process.
The message format is TYPE [ARGUMENT]
, where type is required and argument is optional.
To discover brokers on the local network, the DISCOVER message is used.
DISCOVER
For a broker to announce itself, it sends a BROKER message with the connection URL as the argument. It should send it in a unicast message to the address of the issuer of the DISCOVER message. Multiple brokers on a given IP address with a different port are fine.
BROKER http://192.168.2.53:8080/conn
Links should connect to every broker it has discovered. This makes it easy for users to whitelist links once they are connected.
Protocol
◌ Design
◌ Initializing Connection
◌ Node API
◌ Methods
◌ Broker
◌ Broker Discovery
◌ Configs
◌ Value Types
◌ Tokens
◌ Quality of Service
DSLink Manager
◌ dslink.json
◌ Startup Command
SDK Development
◌ Implementation Guide
DSA Server
◌ Installation
◌ Update Server
◌ Server Configuration
◌ CLI Tools
◌ DSA Permission Basics
◌ DSA Permission Model
◌ Permission List for the Root
◌ Authentication
◌ OpenID Connect
◌ Password Hasher
◌ DGLux Server SSL (HTTPS)
◌ Docker
◌ Audit
◌ Data Node
◌ Install NGINX with DSA Server
◌ Configure Ubuntu Linux to auto start DSA server
◌ Troubleshooting