Wireshark mailing list archives
Re: Qt: Convert ProtoTree from QTreeWidget to Model/View
From: Peter Wu <peter () lekensteyn nl>
Date: Tue, 10 Mar 2015 00:31:52 +0100
On Mon, Mar 09, 2015 at 02:39:20PM -0700, Guy Harris wrote:
On Mar 9, 2015, at 1:32 PM, Peter Wu <peter () lekensteyn nl> wrote:As far as I know, you can only have one open capture file. Correct me if I am wrong.That's currently the case, but let's not wire that assumption in; a "proper" OS X app would use one UI process for all open files.
Yes, this is the status quo but it would indeed nice to let one process load many files to reduce startup time and memory footprint.
(We might implement that by moving packet dissection to separate processes, one process for each open file, so that we don't have to make per-file private data; we might also, at least on some platforms, be able to sandbox the dissection processes, so that, for example, any file opening they do must be done for them by the main process, which would only allow opening selected files, such as files in the preferences directory.)
Coincidentally I have been thinking about using seccomp on Linux (after reading comments on this LWN page[1]). There are problematic dissectors such as SSL which may have to read key log files, dissectors needing name resolution and others, but it is an interesting idea to explore. Oh, and plugins / statistics will also be more difficult, but it has to start somewhere. A file dissector (PNG?) or the logcat format are probably candidates to start testing as there are no other layers. -- Kind regards, Peter Wu https://lekensteyn.nl [1]: https://lwn.net/Vulnerabilities/630471/ ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Qt: Convert ProtoTree from QTreeWidget to Model/View Peter Wu (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Gerald Combs (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Peter Wu (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Gerald Combs (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Peter Wu (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Gerald Combs (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Guy Harris (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Peter Wu (Mar 10)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Peter Wu (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Gerald Combs (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Guy Harris (Mar 09)
- Re: Qt: Convert ProtoTree from QTreeWidget to Model/View Peter Wu (Mar 09)