This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 1 and 2
Revision 1 as of 2014-03-19 06:06:16
Size: 257
Comment:
Revision 2 as of 2014-03-20 16:13:19
Size: 1280
Comment: added some questions about pcap-ng file preference handling
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:

== Open Issues / Questions ==

 * What should happen if the user opens a pcap-ng file with such preferences, and then the user selects Edit->Preferences? Should it show the user's *real* preferences, or the file ones? Or should there be a File->Preferences window pane for the file ones?

 * If the user changes her normal preferences after opening a pcap-ng file with file preferences, should the GUI change to her preferences, or keep to the file's?

 * How would version differences of file preferences be handled? Currently if you start a new version of Wireshark, which doesn't understand some preference because it got removed (or vice-versa you open a older version of Wireshark which doesn't understand some new preference), then you get a error message in the console, and if you save your preferences again it removes unknown ones. (right?) So what happens if you open a file with file preferences that are not understood, and you save the file again, for example to a new name or to remove some frames?

PCAP-NG Wireshark preferences block

Define a pcap-ng block to store Wireshark preferences used to view the file. The content could be read to a file profile which would then be made the active profile. Opening a new file would overwrite this profile.

Open Issues / Questions

  • What should happen if the user opens a pcap-ng file with such preferences, and then the user selects Edit->Preferences? Should it show the user's *real* preferences, or the file ones? Or should there be a File->Preferences window pane for the file ones?

  • If the user changes her normal preferences after opening a pcap-ng file with file preferences, should the GUI change to her preferences, or keep to the file's?
  • How would version differences of file preferences be handled? Currently if you start a new version of Wireshark, which doesn't understand some preference because it got removed (or vice-versa you open a older version of Wireshark which doesn't understand some new preference), then you get a error message in the console, and if you save your preferences again it removes unknown ones. (right?) So what happens if you open a file with file preferences that are not understood, and you save the file again, for example to a new name or to remove some frames?

PrefBlock (last edited 2018-09-28 18:30:42 by GuyHarris)