tcpdump mailing list archives

Re: When was '-z' added to tcpdump?


From: kielaka <kielaka () vp pl>
Date: Tue, 22 May 2012 22:27:12 +0200

Hello there,

I would like to use the -z (*postrotate-command*) flag to easily gzip a
pcap after a file rotation but it appears my current version (tcpdump 3.9.4
/ libpcap 0.9.4) does not support this. I was wondering what version first
incorporated this flag? The official tcpdump changelog (
http://www.tcpdump.org/tcpdump-changes.txt) doesn't appear to have any note
on this feature's introduction either. I would gladly appreciate it if
somebody could provide details on when exactly this feature was added.

Thank you.

Regards,
Osman Surkatty
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Tcpdump version 4.1.1 manual :
 -z     Used  in  conjunction  with  the -C or -G options, this will make tcpdump run " command file " where file is 
the savefile being
              closed after each rotation. For example, specifying -z gzip or -z bzip2 will compress each savefile using 
gzip or bzip2.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: