Wireshark-dev: [Wireshark-dev] Preferences needed during Wireshark startup

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Thu, 5 Jan 2017 10:39:52 +0000

Hi,

Looking into the time required to start Wireshark I came across a problem with the console on Windows where the preferences

    prefs.console_log_level

    prefs.gui_console_open

is needed for logging to work but preferences are set pretty late in the startup phases as dissectors etc need to have their preferences loaded first.

I’m also thinking about adding preferences for loading extcap plugins or not which would make it easier to “activate” them when needed and perhaps chose

Which ones one like to use. But those preferences would be needed before the preference file is loaded currently.

One possible solution could be to load and parse the file into a structure for later processing early in the startup and then “look” at the list of preferences

When needed during startup or create a new file with “basic preferences” loaded early or…

I’m not sure I’m up to taking on this task but at least we could discuss design ideas and if some one is willing to take it on I’d be grateful.

 

Best regards

Anders