What is Soar?
Soar is an open-source DNS tunnel from Lantern for networks that censor everything except DNS. It carries TCP connections as DNS queries and answers through ordinary recursive resolvers (the ISP's, public ones, and in-country ones it discovers) to a server that is the authoritative name server for a zone delegated to it.
How does a DNS tunnel get past censorship?
A censor can block an IP address, a TLS fingerprint or a whole protocol, but blocking the resolvers that every phone, bank and government site depends on is much harder. Soar's client seals data into the names it looks up under its zone, resolvers pass those queries on to Soar's server, and the server's answers carry data back. See how it works.
How is Soar different from dnstt and VayDNS?
dnstt and VayDNS are simple, but they use a single resolver and recover slowly from loss. Soar sends on every working resolver at once, weighted by how each one is performing, and drops a dead one without the user noticing. Retransmissions are re-cut to fit whichever resolver they go out on, and the server resends exactly what the client reports lost instead of waiting out a timer.
How is Soar different from slipstream and MasterDnsVPN?
slipstream runs QUIC over DNS and copes with loss, but in Soar's benchmarks it can't connect when a resolver truncates answers, when some resolvers are dead, or when UDP is blocked, and its Rust implementation is archived. MasterDnsVPN and its forks, StormDNS and CottenDNS, handle resolvers well but share one static key among all clients, and on impaired networks can take tens of seconds to connect. Soar connected in 0.3 to 1.4 seconds in every benchmark network, and each session starts with its own key exchange.
How fast is Soar?
In an emulator that puts eight tunnels behind the same impaired resolvers, Soar fetched 100 KB at 476 KB/s through clean resolvers, 124 KB/s on a realistic mobile network and 130 KB/s in a Russia-like network, and had the highest throughput in 7 of 9 networks. These are emulator results; field measurements from inside Iran, Russia and China come next. See the benchmarks.
Does Soar work in Iran, Russia and China?
It is built for how each one breaks DNS: AAAA answers where resolvers filter TXT and short names where they drop long ones, as in Iran; DNS over TCP port 53 with RFC 7766 pipelining where UDP to public resolvers is intercepted, as in Russia; and authenticated answers, so forged ones are ignored, as in China. It bundles in-country resolver lists for all three. So far it has been measured in an emulator that reproduces each network, not yet in the field.
Can a censor read or forge Soar's traffic?
Every session starts with an ephemeral X25519 key exchange that the server signs with its Ed25519 key, and each direction is sealed with ChaCha20-Poly1305 under its own key, so recorded traffic stays sealed even if the server's long-term key leaks later. A forged answer can't authenticate, so the client drops it and waits for the real one. Clients ship only the server's public key, so there's no shared secret to pull out of an app.
How do I run a Soar server?
Delegate a zone, such as t.example.com, to your host with an NS record, generate a key pair with soar-server keygen, and run soar-server for that zone on port 53. Clients need the zone, the server's public key and some resolvers. By default the server dials only public addresses on ports 80 and 443. See Get started.
Is there a Rust implementation?
Yes. soar-rs is a wire-compatible Rust client and server, still early work. Both implementations pass the same byte-exact test vectors from the spec, CI runs each language's client against the other's server, and the Go and Rust servers take the same flags and key files.
How does Lantern use Soar?
Soar is the last-resort transport in kindling, Lantern's open-source library for getting an app's first requests through a censored network. Kindling dials it only when every faster transport, such as domain fronting, has failed. Any Go app can do the same with kindling.WithDNSTunnel.
Is Soar open source?
Yes, under the Apache License 2.0. The reference implementation, in Go, and the protocol spec are at github.com/getlantern/soar. Its bundled Iran resolver and range lists come from KevinNet DNS, under the MIT license.
Is Soar ready for production?
Not yet. Soar is pre-release: the protocol may still change and has no compatibility promise.
Who makes Soar?
The Lantern team, who make Lantern, a free app for getting past internet censorship. You can download Lantern from lantern.io.
Why is it called Soar?
Every DNS zone begins with an SOA record, its start of authority. Soar's server is the authority for its zone, where every query ends up, whichever resolver it passed through. Add an r and the authority soars over the wall.