Rendezvous Service

Rendezvous Service

Remote Access to Your Taps and Serial Ports — From Anywhere

Our Hardware Client arleady lets you attach a tap to a remote Raspberry Pi and capture data from it over SSH. That works great — as long as you can actually reach that Raspberry Pi. In the real world, however, NATs and firewalls get in a way, so you end up fiddling with port forwarding, VPNs of sorts, or 3rd party connectivity solutions.

The new IO Ninja Rendezvous Service makes all of that unnecessary. The remote device host and your IO Ninja simply meet at our rendezvous server, which introduces them to each other and facilitates establishing of a safe and secure virtual peer-to-peer connection — just as if the two could reach each other directly (as a matter of fact, when they can, that's what will be used!). Neither side needs a public IP address or a single open inbound port.

Rendezvous comes with five new over RDV plugins:

PluginDescription
Serial over RDVAccess to remote serial (COM) ports
Serial Tap over RDVAccess to remote Serial Tap sniffers
Serial Tap Pro over RDVAccess to remote Serial Tap Pro sniffers
Ethernet Tap over RDVAccess to remote Ethernet Tap sniffers
I2C/SPI Tap over RDVAccess to remote I2C/SPI Tap sniffers

How Does It Work?

Our Rendezvous service is built on WebRTC — the same technology that powers video calls in your web browser:

IO Ninja Rendezvous: signaling via the rendezvous server, direct peer-to-peer connection through NAT routers, TURN relay as a fallback
  1. On the remote machine, ioninja-hwc connects to the rendezvous server (wss://rendezvous.ioninja.com) and waits for incoming sessions. It also reports which taps and serial ports are attached — and keeps that list up-to-date as devices get plugged in and out.
  2. When you start an "over RDV" plugin, IO Ninja connects to the same server and asks for the device you selected. The server checks that your key has been granted access to this device.
  3. The server then helps both peers discover how to reach each other (the WebRTC signaling: a few kilobytes of connection offers and network route candidates).
  4. The peers establish a direct connection, punching through NAT routers whenever possible. Only if a direct path is impossible (e.g., both sides are behind particularly strict firewalls) does the traffic go through our TURN relay.

No matter what route data takes eventually, it never passes through the rendezvous server itself!. All peer-to-peer traffic is encrypted with DTLS, so even the TURN relay (if used at all) only ever sees encrypted packets.

Access is key-based: every peer is identified by its own key. You decide which keys may connect to which devices — and the private keys never leave their machines.

One ioninja-hwc serves any number of simultaneous IO Ninja sessions — say, a Serial Tap and an Ethernet Tap on the same remote machine. It also automatically reconnects to the rendezvous server after network outages.

Each RDV session writes the full connection story into the log: which ICE candidates were found, which connection method was chosen (direct, direct with NAT traversal, or relayed), the TLS/DTLS details, and the round-trip time. If something doesn't connect, you'll know why. FPGA-based taps even get their firmware updated over RDV, just like locally.

Device Discovery

No need to remember device names or addresses: the "Device" drop-down in each "over RDV" plugin lists all the remote taps and serial ports you have access to — across all the remote hosts that granted access to your key. The list is live: plug a tap into a remote Raspberry Pi, and it shows up in the drop-down right away; unplug it, and it's gone.

Serial over RDV: serial ports of a remote Raspberry Pi in the drop-down
Serial over RDV: serial ports of a remote Raspberry Pi in the drop-down

Setting It Up

1. Install ioninja-hwc on the remote machine

Any Linux machine with USB ports will do — a Raspberry Pi is the perfect choice. Follow the installation steps on the Hardware Client page: install the package and configure the USB permissions for IO Ninja taps (the SSH-related steps aren't needed for Rendezvous).

2. Generate a key for the device

The device identifies itself with a private key in the PEM format (not passphrase-protected). The easiest way is to generate an RSA key with OpenSSL:

$ openssl genrsa -out device-key.pem 2048

Then print the corresponding public key — you'll need it in the next step:

$ openssl pkey -in device-key.pem -pubout

Alternatively, use ssh-keygen — just make sure to pass -m PEM (the default OpenSSH format of private keys is not supported) and an empty passphrase:

$ ssh-keygen -t rsa -m PEM -N "" -f device-key.pem

This writes the public key to device-key.pem.pub — you can paste it as is. Either way, keep device-key.pem private: anyone holding it can impersonate your device.

You can also use EC keys instead of RSA:

$ openssl ecparam -name prime256v1 -genkey -noout -out device-key.pem

# ...or...

$ ssh-keygen -t ecdsa -m PEM -N "" -f device-key.pem

3. Register the device

Sign in to your IO Ninja account, go to Devices, and click "Add". Give it a name (e.g., lab-rpi) and paste the public key from the previous step.

Registering a new device
Registering a new device

4. Start the rendezvous listener

$ ioninja-hwc --rdv device-key.pem

The device should now show up as ONLINE on its page in your account, together with the peripherals it reports. Leave ioninja-hwc running (e.g., as a systemd service); it reconnects automatically if the network goes down.

The device is online and reports its peripherals
The device is online and reports its peripherals

5. Grant access to your IO Ninja

The IO Ninja on your PC needs a key of its own — generate one exactly as in step 2. Then open the device page in your account and add its public key under "Permissions". You can grant access to as many keys as you like (e.g., one per colleague) and revoke them at any time. The connecting side doesn't even need an IO Ninja account.

Keys allowed to connect to the device
Keys allowed to connect to the device

6. Connect!

Start one of the "over RDV" plugins, choose your private key in the "Rendezvous connection" settings, and pick the remote tap or serial port from the "Device" drop-down. That's it — capture away, as if the tap were plugged directly into your PC!

Pricing

Access to the Rendezvous Service is included in all IO Ninja subscriptions and perpetual licenses.

Note that only the device owner needs a subscription (or a perpetual license). The people the owner grants access to connect with their own keys — they don't need a subscription or any paid capabilities (they don't even need an IO Ninja account: signing in as GUEST works just as well).

To let everyone try it out, Rendezvous is free during the introductory promotion period.