aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-mime-package.xml
blob: 3ef5099798f2a218bbe0e026b258d9950f83f809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->

<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/vnd.tcpdump.pcap">
    <comment>Packet Capture (PCAP)</comment>
    <generic-icon name="application-wireshark-doc"/>
    <alias type="application/x-pcap"/>
    <alias type="application/pcap"/>
    <magic>
      <!-- standard PCAP file -->
      <match type="big32"    offset="0" value="0xa1b2c3d4"/>
      <match type="little32" offset="0" value="0xa1b2c3d4"/>
      <!-- extended (Alexey-Kuznetsov's-patches) PCAP file -->
      <match type="big32"    offset="0" value="0xa1b2cd34"/>
      <match type="little32" offset="0" value="0xa1b2cd34"/>
    </magic>
    <glob pattern="*.pcap"/>
  </mime-type>

  <mime-type type="application/x-pcapng">
    <comment>Packet Capture (PCAPNG)</comment>
    <generic-icon name="application-wireshark-doc"/>
    <magic>
      <match type="big32"      offset="0" value="0x0a0d0d0a">
	<match type="big32"    offset="8" value="0x1a2b3c4d"/>
      </match>
      <match type="little32"   offset="0" value="0x0a0d0d0a">
	<match type="little32" offset="8" value="0x1a2b3c4d"/>
      </match>
    </magic>
    <glob pattern="*.pcapng"/>
    <glob pattern="*.ntar"/>
  </mime-type>

  <mime-type type="application/x-snoop">
    <comment>Packet Capture (Snoop)</comment>
    <generic-icon name="application-wireshark-doc"/>
    <magic>
      <match type="string" offset="0" value="snoop"/>
    </magic>
    <glob pattern="*.snoop"/>
  </mime-type>

  <mime-type type="application/x-iptrace">
    <comment>Packet Capture (AIX iptrace)</comment>
    <generic-icon name="application-wireshark-doc"/>
    <magic>
      <match type="string" offset="0" value="iptrace 1.0"/>
      <match type="string" offset="0" value="iptrace 2.0"/>
    </magic>
  </mime-type>

  <mime-type type="application/x-lanalyzer">
    <comment>Packet Capture (Novell LANalyzer)</comment>
    <generic-icon name="application-wireshark-doc"/>
    <magic>
      <match type="little16" offset="0" value="0x1001"/>
      <match type="little16" offset="0" value="0x1007"/>
    </magic>
    <glob pattern="*.tr1"/>
  </mime-type>

  <mime-type type="application/x-nettl">
    <comment>Packet Capture (HP-UX nettl)</comment>
    <generic-icon name="application-wireshark-doc"/>
    <magic>
      <match type="string" offset="0" value="\x54\x52\x00\x64\x00"/>
    </magic>
    <glob pattern="*.trc0"/>
    <glob pattern="*.trc1"/>
  </mime-type>
</mime-info>