Add a #define for the wildcard pattern that matches all files.
[metze/wireshark/wip.git] / wireshark-mime-package.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
4   <mime-type type="application/vnd.tcpdump.pcap">
5     <comment>Packet Capture (PCAP)</comment>
6     <generic-icon name="application-wireshark-doc"/>
7     <alias type="application/x-pcap"/>
8     <alias type="application/pcap"/>
9     <magic>
10       <!-- standard PCAP file -->
11       <match type="big32"    offset="0" value="0xa1b2c3d4"/>
12       <match type="little32" offset="0" value="0xa1b2c3d4"/>
13       <!-- extended (Alexey-Kuznetsov's-patches) PCAP file -->
14       <match type="big32"    offset="0" value="0xa1b2cd34"/>
15       <match type="little32" offset="0" value="0xa1b2cd34"/>
16     </magic>
17     <glob pattern="*.pcap"/>
18     <glob pattern="*.pcap.gz"/>
19   </mime-type>
20
21   <mime-type type="application/x-pcapng">
22     <comment>Packet Capture (PCAPNG)</comment>
23     <generic-icon name="application-wireshark-doc"/>
24     <magic>
25       <match type="big32"      offset="0" value="0x0a0d0d0a">
26         <match type="big32"    offset="8" value="0x1a2b3c4d"/>
27       </match>
28       <match type="little32"   offset="0" value="0x0a0d0d0a">
29         <match type="little32" offset="8" value="0x1a2b3c4d"/>
30       </match>
31     </magic>
32     <glob pattern="*.pcapng"/>
33     <glob pattern="*.ntar"/>
34     <glob pattern="*.pcapng.gz"/>
35     <glob pattern="*.ntar.gz"/>
36   </mime-type>
37
38   <mime-type type="application/x-snoop">
39     <comment>Packet Capture (Snoop)</comment>
40     <generic-icon name="application-wireshark-doc"/>
41     <magic>
42       <match type="string" offset="0" value="snoop"/>
43     </magic>
44     <glob pattern="*.snoop"/>
45     <glob pattern="*.snoop.gz"/>
46   </mime-type>
47
48   <mime-type type="application/x-iptrace">
49     <comment>Packet Capture (AIX iptrace)</comment>
50     <generic-icon name="application-wireshark-doc"/>
51     <magic>
52       <match type="string" offset="0" value="iptrace 1.0"/>
53       <match type="string" offset="0" value="iptrace 2.0"/>
54     </magic>
55   </mime-type>
56
57   <mime-type type="application/x-lanalyzer">
58     <comment>Packet Capture (Novell LANalyzer)</comment>
59     <generic-icon name="application-wireshark-doc"/>
60     <magic>
61       <match type="little16" offset="0" value="0x1001"/>
62       <match type="little16" offset="0" value="0x1007"/>
63     </magic>
64     <glob pattern="*.tr1"/>
65     <glob pattern="*.tr1.gz"/>
66   </mime-type>
67
68   <mime-type type="application/x-nettl">
69     <comment>Packet Capture (HP-UX nettl)</comment>
70     <generic-icon name="application-wireshark-doc"/>
71     <magic>
72       <match type="string" offset="0" value="\x54\x52\x00\x64\x00"/>
73     </magic>
74     <glob pattern="*.trc0"/>
75     <glob pattern="*.trc1"/>
76     <glob pattern="*.trc0.gz"/>
77     <glob pattern="*.trc1.gz"/>
78   </mime-type>
79
80   <mime-type type="application/x-radcom">
81     <comment>Packet Capture (Radcom WAN/LAN Analyzer)</comment>
82     <generic-icon name="application-wireshark-doc"/>
83     <magic>
84       <match type="string" offset="0" value="\x42\xd2\x00\x34\x12\x66\x22\x88"/>
85     </magic>
86   </mime-type>
87
88   <mime-type type="application/x-etherpeek">
89     <comment>Packet Capture (Savvius/Etherpeek/Airopeek tagged/v9)</comment>
90     <generic-icon name="application-wireshark-doc"/>
91     <magic>
92       <match type="string" offset="0" value="\177ver"/>
93     </magic>
94     <glob pattern="*.tpc"/>
95     <glob pattern="*.apc"/>
96     <glob pattern="*.wpz"/>
97     <glob pattern="*.tpc.gz"/>
98     <glob pattern="*.apc.gz"/>
99     <glob pattern="*.wpz.gz"/>
100   </mime-type>
101
102   <mime-type type="application/x-visualnetworks">
103     <comment>Packet Capture (Visual Networks)</comment>
104     <generic-icon name="application-wireshark-doc"/>
105     <magic>
106       <match type="string" offset="0" value="\x05VNF"/>
107     </magic>
108   </mime-type>
109
110   <mime-type type="application/x-netinstobserver">
111     <comment>Packet Capture (Network Instruments Observer)</comment>
112     <generic-icon name="application-wireshark-doc"/>
113     <magic>
114       <match type="string" offset="0" value="ObserverPktBuffe"/>
115     </magic>
116     <glob pattern="*.bfr"/>
117     <glob pattern="*.bfr.gz"/>
118   </mime-type>
119
120   <mime-type type="application/x-5view">
121     <comment>Packet Capture (Accellent/InfoVista 5view)</comment>
122     <generic-icon name="application-wireshark-doc"/>
123     <magic>
124       <match type="string" offset="0" value="\xaa\xaa\xaa\xaa"/>
125     </magic>
126     <glob pattern="*.5vw"/>
127     <glob pattern="*.5vw.gz"/>
128   </mime-type>
129
130   <mime-type type="application/x-tektronix-rf5">
131     <comment>Packet Capture (Tektronix rf5)</comment>
132     <generic-icon name="application-wireshark-doc"/>
133     <magic>
134       <match type="string" offset="0" value="\x00\x00\x02\x00\x12\x05\x00\x10"/>
135     </magic>
136     <glob pattern="*.rf5"/>
137     <glob pattern="*.rf5.gz"/>
138   </mime-type>
139 </mime-info>