# Writes a pcap: one TCP session 10.0.0.5:40000 -> 203.0.113.9:443 with a 600 s idle gap # (longer than Zeek's tcp_inactivity_timeout = 5 min), then a fresh connection from a new port. import struct, sys out = open(sys.argv[1], 'wb') out.write(struct.pack('