Endpoint initialization
Steps
- Load
config.json. - Create TUN device.
- Create route for 100.64.0.0 network to TUN.
- Initialize DNS service.
- Load identity.
- Initialize logging.
- Connect to controller.
- Download network configuration.
- Initialize channels to edge routers.
- Initialize services.
- Insert DNS names.
- Create routes for IPs to 100.64.0.0 block.
- Collect latency information for edge router selection.
- Complete DNS initialization with service names.
- Periodically check for updates to services or other network config. Polling is controlled by the app (including desktop edge clients and tunnelers) at an interval of 10 or 15 seconds in OpenZiti released software.
- Update services, add or delete edge routers, and so on, as necessary.