How FerryBeam works

You never have to think about any of this. But if you’re curious what happens between pressing send and seeing “Delivered”, here it is.

Your devices know each other

When FerryBeam starts for the first time, the device creates its own key: a secret that never leaves it, and a public part that works as the device’s ID. There’s no account behind it. Your devices recognise each other by these keys, and every connection between them proves on both ends that each device is who it says it is.

Pairing is how a device joins. One device shows a code, as a QR code or as text to copy, and the other uses it. The code contains a one-time secret and expires within minutes. Once two devices have paired, they share a signed list of all your devices and keep it in step whenever they meet. Pair a new device with any one you already have, and the others learn about it on their own.

Peer-to-peer, wherever your devices are

InternetHome Wi-FiOffice networkRelayMailboxiPhoneMacBookWindows PCOffSlides.pdf

Same Wi-Fi: straight from the iPhone to the MacBook, no internet needed

End-to-end encrypted

FerryBeam is peer-to-peer: your devices talk to each other, not to a cloud service that stores your data in between. To reach another device, FerryBeam tries every way it knows at the same time and keeps whichever answers first:

  • On the same network, devices find each other and connect directly at full speed, without the internet.
  • On different networks, each device sits behind a router that normally refuses connections from outside. FerryBeam uses hole punching: both devices learn their public address and reach out to each other at the same moment, so each router sees the other device’s connection as an answer and lets it through. The result is a direct connection across the internet.
  • When a network blocks every direct path, as some office and mobile networks do, the data goes through a relay: a server that passes encrypted packets along without being able to read them. FerryBeam keeps trying, and moves to a direct path as soon as one opens.
  • With no network at all, two devices close together connect over Bluetooth LE.

All of this happens inside a single encrypted connection (QUIC with TLS 1.3), so when the path changes, for example you get home and both devices are on the same Wi-Fi again, the connection moves over in the middle of a transfer without starting again. Devices dial each other by their keys, not by addresses, so it doesn’t matter which network a device is on today.

Sending text

Every item you send is signed by the device that wrote it and addressed to the devices you chose: one, or all of them. It goes straight to each of those devices and nowhere else. Each one confirms when it has stored the item, which is what “Delivered” means.

If a device is switched off, the text is sealed so that only that device can open it and left in a small mailbox on our server. The device picks it up as soon as it’s back online, and on iPhone a notification can show it even when FerryBeam is closed.

Sending files

A file is announced like a text, with its name, size and a fingerprint of its contents. Each receiving device then fetches the file itself, from the device that sent it or from another of your devices that already has a copy. If the transfer is interrupted, it continues from where it stopped. When the file is complete, the device checks it against the fingerprint, so what you receive is exactly what was sent.

Received files are kept inside FerryBeam until you save them where you want them.

What our servers do

FerryBeam’s servers are deliberately small. One is the relay, which helps devices learn their public addresses for hole punching and passes encrypted packets along when no direct path exists; the other keeps the text mailbox and sends notifications. Neither can read your content, and files never pass through the mailbox or stay on our servers: they always travel between your own devices.

On a local network or over Bluetooth, FerryBeam works without our servers at all.

Read more in Security and the privacy policy.