pipedump
Proxies data from stdin/stdout/stderr and logs it in pcap files.
...Data received from STDOUT and STDERR are recorded as a IPv6 UDP packets traversing from :: to ::1. STDIN is recorded as port 19840, STDOUT as port 19841, STDERR as port 19842 and debug information as port 65535. The captured data is recorded in a file which can be read by network analyzing tools capable of parsing PCAP files.