#!/usr/bin/env python3 """Run on the sensor as root: offline packet/rule proof with isolated outputs.""" import json,subprocess,tempfile from pathlib import Path import yaml from syn_packets import packet import struct,time def main(): root=Path(tempfile.mkdtemp(prefix='leaf-replay-')) pcap=root/'fixture.pcap' with pcap.open('wb') as out: out.write(struct.pack('