Serval Project, September 2012
Based on design discussions between Andrew Bettison and Jeremy Lakeman.
In practice, these three services are built into a single daemon that can be deployed into a mesh at many points.
SDS is a registry that associates subscriber names and phone numbers (DID) with subscriber identities (SID). Any subscriber may potentially register its details with an SDS, and an SDS may also have its own source of registry entries, such as an associated Asterisk exchange. SDS allows the decentralised DNA Lookup architecture to be supplemented with infrastructure, ie, mesh nodes offering persistent services or bridges out of the mesh.
- Maps DID or Name → SID
- Responds to DNA Lookup requests
- Keeps registry of DNA entries (SID-DID-name)
- Accepts registrations and renewals of DNA entries
- Collects and caches DNA responses from local networks
- Maps SID → IP address + port number (
sockaddr_in
) - Keeps a SIR (Subscriber Internet Registry)
- Accepts registrations (signed)
- Responds to location requests
- Forwards MDP packets to MDP nodes listening on IP addresses/ports
- Uses SILS to resolve destination IP addresses/ports
Copyright 2014 Serval Project Inc.
Available under the Creative Commons Attribution 4.0 International licence.