Weird pcap header of byte sequence 0a 0d 0d 0a created on Mac?
问题 I have a PCAP file that was created on a Mac with mergecap that can be parsed on a Mac with Apple's libpcap but cannot be parsed on a Linux system. combined file has an extra 16-byte header that contains 0a 0d 0d 0a 78 00 00 00 before the 4d 3c 2b 1a intro that's common in pcap files. Here is a hex dump: 0000000: 0a0d 0d0a 7800 0000 4d3c 2b1a 0100 0000 ....x...M<+..... 0000010: ffff ffff ffff ffff 0100 4700 4669 6c65 ..........G.File 0000020: 2063 7265 6174 6564 2062 7920 6d65 7267 created by