CS Paper Radar

Implementing Data Diodes Using Commodity Hardware and Open Source Software

Peter Story, Gert-Jan den Besten

cs.CR cs.NI ·submitted 2026-09-28 14:19 UTC · v1
code/dataunusual

Abstract

One-way network devices, known as data diodes, are used to defend against sophisticated cyberattacks. Partly due to their high cost, data diodes are mostly deployed in nuclear power plants and within the government for handling classified information. Although commercially available data diodes are expensive, a data diode's hardware can assembled from commodity fiber-optic network equipment. However, specialized software is needed to send data through a data diode reliably: the receiving program cannot request retransmission of dropped packets, so packet loss must be minimized and mitigated. First, we developed a minimal program to measure packet loss. We found that most packet loss was caused by the receiving program processing incoming packets too slowly, and that packet loss often occurs in clusters. Also, we discovered ways to minimize packet loss on Linux and macOS without using superuser privileges. Next, we tested three existing open source programs for one-way data transfers: netcat, UDPcast, and lidi. Although these programs were unreliable in their default configurations, we identified reliable configurations for UDPcast and lidi. Finally, we incorporated our findings into pydiode, our cross-platform program for reliable one-way data transfers.

Comment
19 pages, 8 figures

Closest papers

Nearest neighbours by meaning across the whole index.

Performance Evaluation of RED-ONION: A High-Speed Disk-to-Disk Transfer System

cs.DC cs.NI ·2026-08-29 ·Keichi Takahashi, Hiroaki Kataoka, Takeo Hosomi, Ayahiro Takaki, Yasunori Kakizawa +3 more
similarity 0.56
Abstract · 11 pages, 8 figures, 3 tables. Submitted to IEEE Access

Modern experimental instruments produce data faster than general-purpose file transfer interfaces can move it, so delivery to the computing infrastructure has become a bottleneck in the research process. At many universities and research institutes, moreover, the instruments that generate research data and the high-performance computing systems that analyze it are separated both geographically and organizationally, because each demands its own expertise and installation environment. Connecting the two seamlessly is a pressing challenge for data-driven science. This article presents RED-ONION, a high-speed disk-to-disk transfer system that connects research facilities, on campus and beyond, to a computing center. The system combines data transfer nodes, a dedicated high-bandwidth network, an all-flash parallel file system, and multi-threaded transfer software that parallelizes network transmission and storage access. The design targets the wire rate both along the entire path, from the read on the sender storage to the write on the receiver storage, and for a single file between one pair of nodes rather than only in aggregate over many files or nodes. We describe the end-to-end optimizations across the transfer software, the operating system, and the storage that this requires. We evaluate a prototype deployed over a 100 Gbps transpacific path between Atlanta and Tokyo with a 150 ms round-trip time, on which a single 1 TB file transfer reached 90 Gbps, delivering a terabyte in approximately 95 s. Moving a dataset of this size therefore becomes a routine step, and the computing center serves an instrument as if the two were co-located.

0.33

XNET: Intelligent Dynamic Sampling for High-Speed Network Security Monitoring

cs.CR cs.NI ·2026-08-18 ·Thomas Papastergiou, Karthika Subramani, Joseph Reilly, Boladji Vinny Adjibi, Pierros-Christos Skafidas +2 more
similarity 0.56
Abstract · 18 pages, 10 figures and 4 tables

Growing network speeds, with 100GbE line rates becoming common in modern enterprise networks, pose challenges to operators and security applications, as they struggle to scale their operational efficiency accordingly, without relying on costly hardware, excessive sampling, or complex distributed deployments. Unintentional loss due to stochastic packet sampling often produces low-quality traffic, further risking missed detection of critical security incidents, particularly those hidden in typically low-rate traffic, such as APT/malware command-and-control communications. In this paper, we introduce XNET, a system that monitors traffic at line rate using commodity hardware and applies dynamic sampling to amplify the visibility of high security value traffic. XNET leverages Linux's XDP technology to process packets efficiently, classify them based on their security value, and sample them as per configured policies. The outcome is a reduced packet stream in which the security-relevant portion of the traffic is amplified at the expense of less interesting traffic segments. XNET is a highly flexible, scalable and dynamic system that can be adapted based on a network's needs. We deployed XNET in a large real-world network using only commodity hardware, where our results show that XNET can achieve up to 84% traffic reduction with no packet loss while increasing the visibility of otherwise negligible traffic fivefold. With controlled stress tests, we further demonstrate XNET's scalability up to 100Gbps. Additionally, we show that XNET sampling led to a detection rate of 99.6% in an IDS application.

0.31

Packet iSlip

cs.NI ·2026-09-25 ·Marc Mosko
similarity 0.56
Abstract

This paper examines input/output buffered crossbar switches under combined packet and cell data. Our switch architecture uses input buffering with Virtual Output Queues to avoid Head of Line Blocking. The switch fabric is a crossbar with no speedup. We use a modified iSlip [McKeown] crossbar scheduler geared towards packet data, called piSlip. Cell ports are largely unmodified from standard iSlip behavior. For packet output ports, we introduce changes to the grant pointer which minimizes output latency caused by packet reassembly. Our model uses several output states, including packet cut-through. From simulation results, we show that piSlip with virtual cut-through offers latency characteristics significantly better than unmodified iSlip with similar packet port interfaces. Simulation further shows that piSlip and iSlip have similar maximum and average buffering requirements.

0.26

Netkit: Specializing Linux Packet Delivery for Container Networks

cs.OS cs.NI ·2026-09-16 ·Daniel Borkmann, Paul Chaignon
top venue similarity 0.55
Abstract · Accepted for publication at eBPF'26

Cloud-native microservices architectures rely on network namespaces for isolation, with the overhead of container communications remaining a critical performance bottleneck. While colocating containers on the same host mitigates some of this overhead, it cannot match the performance of communication within a single network namespace. Existing solutions either require application rewrites or fail to support the full Linux network stack expected by containerized applications. In this paper, we present netkit, an eBPF-based datapath that specializes the Linux networking stack to eliminate redundant backlog queue traversals during network namespace transitions. netkit leverages eBPF to transparently redirect packets between namespaces, bypassing unnecessary buffering while preserving compatibility with existing container applications. Our implementation in the Linux kernel, integrated with minimal changes to the Cilium network plugin for Kubernetes, improves throughput by up to 37\% and achieves parity between container-to-container and process-to-process communications, effectively closing the performance gap introduced by namespace isolation.

0.54

A DIY DPDK Software Router for Networking Education

cs.NI ·2026-10-21 ·Sebastian Gallenmüller, Stefan Lachnit, Manuel Simon
similarity 0.54
Abstract

High-performance packet processing frameworks, such as the Data Plane Development Kit (DPDK), are widely used in modern network systems, yet they are rarely integrated into networking curricula. As a result, students often lack exposure to the performance considerations and low-level design choices that shape real-world packet processing systems. We describe a semester-long course project in which students implement a do-it-yourself (DIY) software router using DPDK in a master-level computer networking course. The project guides students through the design and implementation of a multithreaded router, the development of a routing table data structure, and the evaluation of forwarding performance using standard benchmarking tools. We present the project structure and the virtualized infrastructure used to support classes of realistic size. Based on several iterations of the course and survey feedback from participating students, we discuss the observed workload, learning outcomes, and challenges of teaching high-performance packet processing. We release the project material and scripts to recreate the infrastructure, enabling reuse and further refinement by the community.

0.28

Scalable Packet Tracking on FPGAs for Erasure-Coded RDMA over Lossy WANs

cs.AR ·2026-09-18 ·Yicheng Qian, Konstantin Taranov, Yevgeny Yankilevich, Assaf Shacham, Mahmoud Elhaddad +3 more
published similarity 0.54
Abstract · This paper appeared in the 36th International Conference on Field-Programmable Logic and Applications https://2026.fpl.org/

Modern AI workloads increasingly rely on scale across architectures that interconnect multiple datacenters to form a single "AI factory", overcoming the power and cooling constraints of individual sites. However, extending Remote Direct Memory Access (RDMA) across wide area networks (WANs) introduces fundamental challenges: multi-path packet reordering, high latency, and packet loss that severely degrade performance. While erasure coding (EC) has emerged as a promising mechanism for loss recovery, its effectiveness critically depends on efficient packet arrival tracking implemented in hardware. We present COmpact Multi-path Erasure-coded Tracking (COMET), the first fully hardware-offloaded packet-arrival tracking design implemented on an FPGA-based network interface card (NIC) for multi-path RDMA over lossy WANs. COMET employs a scalable cache-based architecture that supports operation at high link rates. Our evaluation shows that COMET sustains line rate operation at 400 Gbps and beyond. Critically, COMET decouples on-chip memory footprint from link Bandwidth-Delay Product (BDP), and its cache-based architecture (COMET Cache) enables supporting 6 times more concurrent connections than state-of-the-art (SOTA) SoC-based designs. These results demonstrate that scalable, fully hardware-offloaded packet-arrival tracking is practical on FPGA-based NICs at current data rates, and its architectural scalability extends to emerging 1.6 Tbps NICs and beyond.

0.40

USB Differentiated Service for Networked Cyber-Physical Systems

cs.OS ·2026-10-27 ·Anton Njavro, Rafiuddin Syed, Shriram Raja, Zhiyuan Ruan, Richard West
similarity 0.53
Abstract

Cyber-physical systems are increasingly complex, requiring high throughput, low-latency data processing across multiple cores and compute devices. Additional functional safety challenges dictate the need for high system availability in the presence of failures. Together, these requirements are addressed using a network of compute nodes across which data processing, control and functional safety tasks are distributed. A key challenge is how to address the service requirements of independent data flows, spanning a set of hosts and I/O devices. In this paper, we show how to develop connectivity between hosts using a custom xDCI gadget driver that uses USB interrupters to differentiate the processing of separate data flows. Our solution is the first to handle both isochronous and bulk communication at USB 3.0 transfer rates, with predictable bus latencies down to the granularity of a 125 microsecond microframe, which is sufficient for many CPS control operations. We present an end-to-end solution that couples the predictable execution of user-level tasks with interrupt processing and data communication, so that multiple virtual connections are able to share a common bus. This work is not only applicable to host networking but also device I/O, which makes it arguably desirable for CPS scenarios requiring short-range communication, such as in vehicle control area networks or robotics.

0.24

Beyond UDP: RDMA as the Missing Link for Gigasample Software-Defined Radio

eess.SP ·2026-09-04 ·Carsten Andrich, Sebastian Giehl, Michael Schubert
similarity 0.52
Abstract

Software-defined radio (SDR) front ends have gained an order of magnitude in sample rate within a single product generation, while the transport that carries their output has not changed: samples are packed into Ethernet datagrams and reassembled by the host processor. At gigasample rates this fails on two counts at once, exhausting the time the host has per packet and the memory bandwidth it has for copying, and no amount of tuning or kernel bypass recovers both. The burden has instead been passed to the user, who must supply operating system expertise that has nothing to do with radio. We show that remote direct memory access removes the problem rather than relocating it. The SDR places received samples directly into memory the host has registered, and fetches samples for transmission from that memory when its converters require them. The processor leaves the data path in both directions, each sample byte crosses the memory bus once, and the transmit path loses the hard real-time pacing problem that has always accompanied it. What remains for the user application is the signal processing itself, which should be all an SDR requires, even at gigasample rates.

0.23