Handshake timing
Is the secure handshake slower than the network path can explain?
When you open a secure connection, one step of the handshake has to travel all the way to your device and back. This test compares how long that step takes with the raw network round trip, which shows whether the machine we talk to is also the machine that does the encryption.
It takes about 10 seconds and makes a few connections to our test server. Nothing is stored on our servers.
Is the secure handshake slower than the network path can explain?
One test is not a verdict. The full test combines all of them with the browser checks, and its scores only make sense together. Run the full test
A secure connection starts with two stages. First your device and the server open a plain network connection. Then they agree on encryption in a short exchange called the TLS handshake. On a direct connection both stages end at the same place, so the time the encryption exchange needs is about the time the network needs to carry a packet there and back.
A relay breaks that match. A proxy can finish the first stage close to the server, while the encryption is still negotiated with your device, further away. The network connection looks fast, but the handshake step that needs an answer from your device takes noticeably longer. Websites use this gap as one of the strongest signs that a connection is relayed, because it is measured by the server and the visitor cannot easily change it.
Your browser opens several fresh secure connections to our test server. Each one starts from scratch, with no saved session, so the full handshake happens every time. On each connection our server records two numbers. One is the kernel's own measurement of the network round trip to the machine that holds the connection. The other is the time from the moment the server sends its first block of handshake data to the moment your side answers that it has finished the handshake. That answer cannot come before the data has travelled to your device and back, and it includes a few milliseconds of your device's processing time.
We keep the fastest sample of each number, which removes moments when your connection was busy, and compare them. Samples that would be unfair, such as connections with retransmitted packets or very large first blocks, are left out. At least three good samples are needed. The chart shows the two round trips as bars and the ratio between them on a scale with two marks, at 1.4 times and at 1.8 times. Results below the first mark look direct, results between the marks are borderline, and results above the second mark look relayed.
The handshake step took about as long as the network path. Both ends of the connection sit at the same place.
The step took longer than usual but not clearly. Busy Wi-Fi, mobile radio scheduling or a carrier that speeds up web traffic with its own equipment can all produce this. The result may also be marked as a carrier or shared-relay case, which is treated as information only.
The handshake travels much further than the network connection. The most common cause is a proxy that ends the network connection near our server while your device ends the encryption.
The test needs our test server on its own port. Strict office networks, many HTTP proxies and some mobile networks only allow ports 80 and 443, and then no measurement is possible. Too few usable samples also end the test.
Mobile carriers frequently run transparent optimisers that answer early on the network side, so a phone with no proxy at all can show a gap. Satellite links, shared gateways of privacy relay services and corporate inspection gateways behave similarly. For this reason the page separates a gap that looks like a deliberate relay from a gap on a network where such equipment is common. Wi-Fi power saving can add delay to single packets, which is why the fastest samples are used.
The test also cannot see through a full-tunnel VPN, where the tunnel ends at the VPN server and the whole handshake travels the same path. That case is covered by other tests, such as the exit address test.
If you want a proxied connection to look direct, the proxy should sit close to your device on the network, or forward packets rather than terminating the connection. If you did not expect a relay, check for traffic-inspecting software, a company gateway or a router that filters connections, and repeat the test from a different network.