List services as a configuration file.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 11 Oct 2008 11:40:13 +0000 (11:40 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 11 Oct 2008 11:40:13 +0000 (11:40 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26412 f5534014-38df-0310-8fa8-9805f1628bb7

docbook/wsug_src/WSUG_app_files.xml

index 1762fc9cb39ce05c4ad66e740dc6d6c532a13a96..77caee5d939ef9b7c45ad6633dabcbf06dbf8a43 100644 (file)
                <entry>/etc/hosts, $HOME/.wireshark/hosts</entry>
                <entry>%WIRESHARK%\hosts, %APPDATA%\Wireshark\hosts</entry>
              </row>
+             <row>
+               <entry><command>services</command></entry>
+               <entry>Network services.</entry>
+               <entry>/etc/services, $HOME/.wireshark/services</entry>
+               <entry>%WIRESHARK%\services, %APPDATA%\Wireshark\services</entry>
+             </row>
              <row>
                <entry><command>subnets</command></entry>
                <entry>IPv4 subnet name resolution.</entry>
@@ -325,8 +331,7 @@ variable: value
              defined and saved. It consists of one or more lines, 
              where each line has the following format:
              <programlisting>
-@&lt;filter name>@&lt;filter string>
-@[&lt;bg RGB(16-bit)>][&lt;fg RGB(16-bit)>]
+@&lt;filter name>@&lt;filter string>@[&lt;bg RGB(16-bit)>][&lt;fg RGB(16-bit)>]
              </programlisting>
            </para>
                <para>
@@ -345,7 +350,7 @@ variable: value
              <programlisting>
 tcp
 udp
-                 </programlisting>
+             </programlisting>
            </para>
                <para>
                The settings from this file are read in at program start and written 
@@ -425,6 +430,26 @@ c0-00-ff-ff-ff-ff    TR_broadcast
                </para>
          </listitem>
        </varlistentry>
+       <varlistentry>
+         <term><command>services</command></term>
+         <listitem>
+           <para>
+             Wireshark uses the files listed in <xref linkend="AppFilesTabFolders"/>
+             to translate port numbers into names.
+           </para>
+           <para>
+             An example is:
+             <programlisting>
+mydns       5045/udp     # My own Domain Name Server
+mydns       5045/tcp     # My own Domain Name Server
+             </programlisting>
+           </para>
+           <para>
+             The settings from this file are read in at program start and never 
+             written by Wireshark.
+           </para>
+         </listitem>
+       </varlistentry>
        <varlistentry>
          <term><command>subnets</command></term>
          <listitem>
@@ -457,7 +482,8 @@ c0-00-ff-ff-ff-ff    TR_broadcast
                written by Wireshark.
                </para>
          </listitem>
-       </varlistentry> <varlistentry>
+       </varlistentry>
+       <varlistentry>
          <term><command>ipxnets</command></term>
          <listitem>
            <para>