Owner:  @Alexander Mozeika

Reviewer: 🟢@Marvin Jones 🟢@Álvaro Castro-Castilla

Introduction

We consider queuing system of a mix node where coin-flipping algorithm is used to remove messages. We show that the amount of time message spends in a queue is governed by the Geometric distribution. The consequence of the latter is memorylessness property, i.e. the amount of time a message will spend in the queue is independent on how long it is already been in the queue, which is important for anonymity of communication.

Overview

This document analyses how a mix node—a privacy tool that hides message origins—manages delays using randomised queues. Key points:

  1. Queue Design:
  2. Randomised Delays:
  3. Anonymity Guarantee:

Methods used:

Why It Matters:

Analysis

Assumptions

We assume that node $i$ has $c_i$ connections to other nodes, labelled by the set $[c_i]$, and two queues (”in-queue” and “out-queue”), associated with each connection (see Node internals). Messages which arrive via the connection $\ell\in [c_i]$ are stored in the in-queue $Q_\ell^{in}$. Messages which are sent via the connection $\ell\in [c_i]$ are stored in the out-queue $Q_\ell^{out}$. Messages are added to the back and removed from the front of $Q_\ell^{in}$, i.e. the latter is the FIFO queue

Representation of a FIFO (first in, first out) queue.

Representation of a FIFO (first in, first out) queue.