Suppose I am capturing packets on a remote host with
tcpdump (more precisely, I'm doing it with an Endace card, which exposes a
tcpdump-like utility called
What would be a fast way to stream the captured traffic in a lossless way onto my local host with inline compression?
The best naive approach I can think of is instead of writing to disk, have the remote host pipe the output to
lz4, then pipe the compressed output onto a TCP connection to the local host established with
Is there a faster approach?