ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] Disabling "File Preview"

Date: Mon, 08 Feb 2010 06:38:15 -0500
So I went through the excruciating exercise of installing the latest Wireshark on my Ubuntu 9.04 system. Very minor improvement, but it still tries to 'preview' everything in the directory. IMHO, this is totally broken concept, to say nothing of it's implementation. Unless I'm missing it, even if I know the name of the file I want to load, there is no way to type it in until the complete directory scan completes. Try that over NFS on a VPN with 200-400ms latency -- argh!!

As for installation procedures... double argh!! If the software wasn't otherwise so essential for what I do, and in fact rather wonderful, I would never have made it through.

Anyway, if there's magic to disable the 'stat' operation, like a pointer to a file I can hack, please let me know.

Regards,
Jim

Jaap Keuter wrote:
Hi,

Abhijit Bare wrote:
For me, wireshark tries to show a preview, only when I click on a file in the displayed list. It does not try to read in all the files by just opening the "File Open" dialog. ....

That is both true, but it does try to stat all the files in the directory.

.... If I click on a large file, it times out in 3 seconds. The File Open dialog does pause, however, if there are a lot of files in the directory.

That timeout is the preview. That pause are the stats at work, see https://bugzilla.gnome.org/show_bug.cgi?id=310642

That may be a reason why preview==0 hasn't been given a specific meaning, yet.

Thanks,
Jaap

- Abhijit

On Tue, Feb 2, 2010 at 9:31 AM, Jaap Keuter <jaap.keuter@xxxxxxxxx <mailto:jaap.keuter@xxxxxxxxx>> wrote:

    Hi,

    Should '0' be interpreted as disable file preview? That would worth an
    enhancement bug.

    Thanks,
    Jaap

    On Mon, 01 Feb 2010 14:45:21 -0500, Jim <jak@xxxxxxxxxxxxxxxxxxx
    <mailto:jak@xxxxxxxxxxxxxxxxxxx>> wrote:
     > I need to disable 'file preview' feature completely.  I've tried
     > unsuccessfully to set time-out to 0.   I also searched some of the
    archive
     > and
     > most of the online documentation without finding any clues.
     >
     > The traces I am looking at are on an NFS mount over a relatively slow
    VPN
     > and
     > Wireshark can stall for a minute or more as it tries to read
    every file
    in
     > the
     > directory.
     >
     > Thanks in advance.
     >
     > Jim
     >

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Confidentiality Notice:  The information in this E-mail message, and
any files transmitted with it, is confidential and may be legally
privileged. It is intended only for the use of the individual(s) named
above. If you are the intended recipient, be aware that your use of any
confidential or personal information may be restricted by state and
federal privacy laws. If you, the reader of this message, are not the
intended recipient, you are hereby notified that you should not further
disseminate, distribute, or forward this E-mail message. If you have
received this E-mail in error, please notify the sender and delete
the material from any computer.