(Ab)using the NixOS Test framework for clean room PCAP generation

Generating clean room PCAP files can be a difficult orchestration problem. The NixOS Test framework makes this easy. The Problem I work with Zeek and Suricata which process live network traffic. When a performance or correctness issue arises on a customer network, a PCAP file is required to reproduce and resolve the issue. Unfortunately, capturing a live PCAP from a customer network is typically…