Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] File size limits on Linux and building for large file suppor

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Tue, 26 Jun 2007 17:06:31 -0700
On Tue, Jun 26, 2007 at 08:27:03AM +0200, Ulf Lamping wrote:

> You'll need to compile without libz, as libz is (optionally?) used to 
> work with capture files and it will by default use 32 bit file offsets 
> on machines which uses 32 bits for long values. So you can compile 
> Wireshark/Tshark without libz (configure option?) or use a 64 bit 
> machine that uses 64bits for "long" integers.

Would it be worth the effort to put some code in that would use the zlib 
reading and writing functions for uncompressed/compressed use < 2GB vs. 
normal reading and writing functions for non-compressed files of any 
size based on a user preference?

> However, I don't know the configure settings for this as I'm working 
> on Win32 most of the time.

--without-zlib :)


Steve