On Tue, Feb 25, 2003 at 03:12:30PM -0500, Matt Bing wrote:
> rmkml said:
> > Why gzip is not included in tcpdump ?
>
> gzcat works like a charm:
>
> $ gzcat mypcap.gz | tcpdump -nr -
> 16:00:30.403793 10.2.2.240.21 > 172.16.2.130.33560: . ack 1238 win 31740
> <nop,nop,timestamp 285487358 52170951> (DF) [tos 0x10]
...but not on output:
tcpdump -w - | gzcat
hostname$ tcpdump -w - | gzcat
tcpdump: listening on XXX
gzcat: stdin: not in gzip format
I don't know whether the person asking the question wanted to have
tcpdump capable of *reading* gzipped files (in which case gzcat piped to
tcpdump works just fine) or have it capable of *writing* gzipped files.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]