Add MIME types for more capture file formats Wireshark understands:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 9 Feb 2013 02:44:11 +0000 (02:44 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 9 Feb 2013 02:44:11 +0000 (02:44 +0000)
 - Radcom WAN/LAN Analyzer
 - Wildpackets/Etherpeek/Airopeek tagged/v9
 - Visual Networks
 - Network Instruments Observer
 - Accellent/InfoVista 5view

The magic matching comes from Fedora's magic file, the file extensions from
wiretap.

(Yes, I just made the application/x-* MIME types up.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@47578 f5534014-38df-0310-8fa8-9805f1628bb7

wireshark-mime-package.xml
wireshark.desktop

index 3ef5099798f2a218bbe0e026b258d9950f83f809..ff6f7b34bdc4a196b7bbf39633d85a93d23da46f 100644 (file)
     <glob pattern="*.trc0"/>
     <glob pattern="*.trc1"/>
   </mime-type>
+
+  <mime-type type="application/x-radcom">
+    <comment>Packet Capture (Radcom WAN/LAN Analyzer)</comment>
+    <generic-icon name="application-wireshark-doc"/>
+    <magic>
+      <match type="string" offset="0" value="\x42\xd2\x00\x34\x12\x66\x22\x88"/>
+    </magic>
+  </mime-type>
+
+  <mime-type type="application/x-etherpeek">
+    <comment>Packet Capture (Wildpackets/Etherpeek/Airopeek tagged/v9)</comment>
+    <generic-icon name="application-wireshark-doc"/>
+    <magic>
+      <match type="string" offset="0" value="\177ver"/>
+    </magic>
+    <glob pattern="*.tpc"/>
+    <glob pattern="*.apc"/>
+    <glob pattern="*.wpz"/>
+  </mime-type>
+
+  <mime-type type="application/x-visualnetworks">
+    <comment>Packet Capture (Visual Networks)</comment>
+    <generic-icon name="application-wireshark-doc"/>
+    <magic>
+      <match type="string" offset="0" value="\x05VNF"/>
+    </magic>
+  </mime-type>
+
+  <mime-type type="application/x-netinstobserver">
+    <comment>Packet Capture (Network Instruments Observer)</comment>
+    <generic-icon name="application-wireshark-doc"/>
+    <magic>
+      <match type="string" offset="0" value="ObserverPktBuffe"/>
+    </magic>
+    <glob pattern="*.bfr"/>
+  </mime-type>
+
+  <mime-type type="application/x-5view">
+    <comment>Packet Capture (Accellent/InfoVista 5view)</comment>
+    <generic-icon name="application-wireshark-doc"/>
+    <magic>
+      <match type="string" offset="0" value="\xaa\xaa\xaa\xaa"/>
+    </magic>
+    <glob pattern="*.5vw"/>
+  </mime-type>
 </mime-info>
index 0cd280dc1d2b7a2c728f642a5fa875890476855a..95fdeebaf8babd6e573ff01eb1f7a3a89708b1ed 100644 (file)
@@ -72,7 +72,7 @@ Icon=wireshark.png
 TryExec=wireshark
 Exec=wireshark %f
 Terminal=false
-MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl
+MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view
 # Categorie entry according to version 1.0 of
 # http://www.freedesktop.org/wiki/Specifications/menu-spec
 Categories=System;Monitor;GTK;