]> granicus.if.org Git - file/commitdiff
Add mime types for tcpdump, from Guy Harris
authorChristos Zoulas <christos@zoulas.com>
Fri, 13 May 2011 12:05:56 +0000 (12:05 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 13 May 2011 12:05:56 +0000 (12:05 +0000)
magic/Magdir/sniffer

index 7982e901c701e7c2c85c7eef2f6a618c542805f9..34150472d4e21dd9a7744d28ddd0a02c8c8309db 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File$
+# $File: sniffer,v 1.14 2009/09/19 16:28:12 christos Exp $
 # sniffer:  file(1) magic for packet capture files
 #
 # From: guy@alum.mit.edu (Guy Harris)
@@ -74,6 +74,7 @@
 # that use "libpcap", or that use the same capture file format.)
 #
 0      ubelong         0xa1b2c3d4      tcpdump capture file (big-endian)
+!:mime application/vnd.tcpdump.pcap
 >4     beshort         x               - version %d
 >6     beshort         x               \b.%d
 >20    belong          0               (No link-layer encapsulation
 >20    belong          163             (802.11 with AVS header
 >16    belong          x               \b, capture length %d)
 0      ulelong         0xa1b2c3d4      tcpdump capture file (little-endian)
+!:mime application/vnd.tcpdump.pcap
 >4     leshort         x               - version %d
 >6     leshort         x               \b.%d
 >20    lelong          0               (No link-layer encapsulation