1 | initial version |
Is there a way to build a Windows Wireshark that would install my custom scripts/profile/rules automatically?
Wireshark installation packages (Windows installers, macOS drag-and-drop application bundles, Linux/*BSD/Solaris/etc. packages for various package managers) include "system" settings files:
C:\Program Files\Wireshark
(or wherever Wireshark is installed);/Applications/Wireshark.app/Contents/Resources/share/wireshark
(or whoever Wireshark is installed);/usr/share/wireshark
or /usr/local/share/wireshark
or whatever the share
directory corresponding to where Wireshark is installed is;and "system" plugins:
C:\Program Files\Wireshark\plugins
(or wherever Wireshark is installed);/Applications/Wireshark.app/Contents/PlugIns/wireshark
(or whoever Wireshark is installed);/usr/lib/wireshark/plugins
or /usr/local/lib/share/wireshark
(possibly with some instruction set-specific directory inserted under lib
) or whatever the share
directory corresponding to where Wireshark is installed is;If you were to build a Wireshark installation that:
coloringrules
file in the "system" settings files directory;profiles
directory in the "system" settings files directory;that would be an installer that would install your add-ons.
Unfortunately, we don't have a simple process for doing that; building an installer is done from Wireshark source, including building Wireshark itself from source.
2 | No.2 Revision |
Is there a way to build a Windows Wireshark that would install my custom scripts/profile/rules automatically?
Wireshark installation packages (Windows installers, macOS drag-and-drop application bundles, Linux/*BSD/Solaris/etc. packages for various package managers) include "system" settings files:
C:\Program Files\Wireshark
(or wherever Wireshark is installed);/Applications/Wireshark.app/Contents/Resources/share/wireshark
(or whoever Wireshark is installed);/usr/share/wireshark
or /usr/local/share/wireshark
or whatever the share
directory corresponding to where Wireshark is installed is;and "system" plugins:
C:\Program Files\Wireshark\plugins
(or wherever Wireshark is installed);/Applications/Wireshark.app/Contents/PlugIns/wireshark
(or whoever Wireshark is installed);/usr/lib/wireshark/plugins
or /usr/local/lib/share/wireshark
(possibly with some instruction set-specific directory inserted under lib
) or whatever the share
directory corresponding to where Wireshark is installed is;If you were to build a Wireshark installation that:
coloringrules
file in the "system" settings files directory;profiles
directory in the "system" settings files directory;that would be an installer that would install your add-ons.
Unfortunately, we don't have a simple process for doing that; building an installer is done from Wireshark source, including building Wireshark itself from source.
EDIT: there's also a dfilters
system settings file to which you could add your display filter(s). There is, however, no mechanism to automatically apply that filter when a capture file is first opened (or a capture is started), but adding a button in the dfilter_buttons
file, as Chuckc suggested, would make it easier to apply quickly.