← Lab /Systems

Commodity hardware and open-source tools can build reliable one-way data diodes

Data diodes can be assembled from off-the-shelf fiber-optic equipment and made reliable with custom software configurations

Systems arXiv 28 Sep 2026 Method Prototype evidence

Published as “Implementing Data Diodes Using Commodity Hardware and Open Source Software”

Why it matters

Low-cost, open-source data diodes become practical for labs, education, and small-scale security deployments without expensive proprietary hardware.

Summary

Commodity fiber-optic hardware combined with open-source software can provide reliable one-way data transfers (data diodes) at low cost. The authors measured packet loss causes, found that 99.99% of loss is due to receive-buffer overflows, and identified non-superuser configurations that achieve near-perfect reliability; their pydiode tool attains 100% success with redundancy. Evidence is strong, based on thousands of trials (10,000 per configuration) on two real platforms.

What they found 4

  1. 99.99% of packet loss on Linux is caused by receive-buffer (RcvbufError) overflows.

    “Considering all trials, 99.99% of packet loss was due to RcvbufErrors, confirming that most packet loss is due minimal on Linux”

  2. netcat succeeded in 93.89% of 10,000 one-way transfer trials.

    “93.89% of trials completed successfully, in an average of 2.07 seconds.”

  3. UDPcast with 8x32/128 FEC at 500 Mbit/s achieved 100.00% success.

    “500 Mbit/s 8x32/128 100.00% 5.09 s”

  4. pydiode achieved 100.00% success with redundancy at 500 Mbit/s on Linux.

    “500 Mbit/s 100.00% 2.54 s”

Caveats 6

  • Thus, lower-bitrate transfers are not necessarily more reliable than higher-bitrate transfers.
  • Second, we found that although sending larger packets increased reliability on Linux, sending larger packets on macOS could decrease reliability.
  • When we encountered a kernel panic, we restarted the experiment we were running from the beginning.
  • First, when testing netcat, UDPcast, lidi, and pydiode, we only tested configurations which did not require superuser privileges.
  • Second, we only tested using two platforms: Intel NUC 12 mini PCs running Ubuntu Desktop 24.04.3 LTS, and M1 Mac minis running macOS Sequoia 15.7.4.
  • During our testing, we discovered rare but persistent reliability issues with the underlying platforms.

What’s new here 4

  • Systematic measurement of packet loss causes in data diodes using a minimal program.
  • Identification of reliable, non-superuser configurations for Linux and macOS.
  • Development of pydiode, a cross-platform tool that uses redundancy to achieve 100% success without FEC.
  • Comprehensive evaluation and configuration guidance for existing open-source tools (netcat, UDPcast, lidi).