B.3. Configuration Files

Wireshark 2.1

B.3. Configuration Files

  • The personal configuration folder for Wireshark is the sub-folder of that folder, i.e. APPDATA.
  • The global configuration folder for Wireshark is the Wireshark program folder and is also used as the system configuration folder.
  • The personal configuration folder is XDG_CONFIG_HOME. For backwards compatibility with Wireshark before 2.2, if XDG_CONFIG_HOME does not exist and $HOME is present, then the latter will be used.
  • If you are using macOS and you are running a copy of Wireshark installed as an application bundle, the global configuration folder is APPDIR. Otherwise, the global configuration folder is INSTALLDIR.
  • The folder is the system configuration folder. The folder actually used on your system may vary, maybe something like: .
File/Folder Description
File contents

B.3.1. Protocol help configuration

# Wikipedia (en) protocol help file.

# Help file initialization
# source: The source of the help information, e.g. ``Inacon'' or ``Wikipedia"
# version: Currently unused. Must be ``1''.
# url_template: Template for generated URLs. See ``URL Data'' below.
[database]
source=Wikipedia
version=1
url_template=https://${language}.wikipedia.org/wiki/${PATH}

# Substitution data for the location template.
# Each occurrence of the keys below in the location template will be
# substituted with their corresponding values. For example, ``${license}"
# in the URL template above will be replaced with the value of ``license"
# below.
#
# PATH is reserved for the help paths below; do not specify it here.
[location data]
language = en

# Maps Wireshark protocol names to section names below. Each key MUST match
# a valid protocol name. Each value MUST have a matching section below.
[map]
tcp=TCP

# Mapped protocol sections.
# Keys must match protocol detail items descriptions.
[TCP]
_OVERVIEW=Transmission_Control_Protocol
Destination port=Transmission_Control_Protocol#TCP_ports
Source port=Transmission_Control_Protocol#TCP_ports
[database]
source=Wikipedia
version=1
location=https://en.wikipedia.org/wiki/

[map]
tcp=TCP

[TCP]
_OVERVIEW=Transmission_Control_Protocol
Destination port=Transmission_Control_Protocol#TCP_ports
Source port=Transmission_Control_Protocol#TCP_ports