Ask Your Question
0

Compress capture file creates issues?

asked 2020-10-20 16:45:04 +0000

jmof217@gmail.com gravatar image

Is there issues related to using zip to compress a capture file? Is it a normal practice and is there any data loss when done from windows zip?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2020-10-20 21:00:49 +0000

Jaap gravatar image

First of all ZIP is a lossless data compression format, so no, there is no data loss compressing a capture file.

For archiving purposes it may be beneficial to compress a capture file, so that it takes less space in storage, obviously.

Wireshark can read compressed capture files straight from disk. It uses ZLib for this, so unless the Windows ZIP implementation does something non-standard that should be fine.

edit flag offensive delete link more

Comments

There's Zip format and there's gzip format. Wireshark can read gzip format, using zlib; it can't read Zip format.

Guy Harris gravatar imageGuy Harris ( 2020-10-26 22:40:20 +0000 )edit
0

answered 2020-10-26 22:06:59 +0000

André gravatar image

If you use gzip compression, instead of zip, Wireshark is able to read the compressed file directly. Both gzip and zip uses lossless data compression, thus no data loss.

You may use a tool like 7zip to create gzip compressed files on Windows.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-10-20 16:45:04 +0000

Seen: 930 times

Last updated: Oct 26 '20