This is our old Q&A Site. Please post any new questions and answers at


I received a capture from a client for analyze. Unfortunately if i can open the individual splitted files in Wireshark (tried with 1.10.6 x64 & x32), I cannot merge the files. I tried to do it from Wireshark itself and using mergecap but each time I receive the same error :

shark10380_00001_20140320094921  shark10380_00002_20140320095016

D:\tmp\capture\data>mergecap -v -w ..\merged.pcapng shark*.*
mergecap: shark10380_00001_20140320094921 is type Wireshark/... - pcapng.
mergecap: shark10380_00002_20140320095016 is type Wireshark/... - pcapng.
mergecap: selected frame_type Ethernet (ether)
Record: 1
mergecap: Error writing to outfile: Error -23

Of course I have space left on the disk and the directories are writable. I have no idea on what the problem is. I did exactly the same for another analysis received also yesterday from the same client that I could merge successfully.

Thanks if someone can help.

asked 21 Mar '14, 00:47

McFoggy's gravatar image

accept rate: 0%

Can you check if there are more than one interface captured in the files? Mergecap does not work with those kind of files, it can only merge files captured on a single interface at this time. It is a known bug.

Easiest way to check is to open the Summary in the Statistics menu.

permanent link

answered 21 Mar '14, 05:02

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%

You got it right, there are 4 interfaces on this capture while the one that worked previously had only one interface captured. Thanks a lot.

(21 Mar '14, 05:22) McFoggy

We should add a error code string for that, as "-23" isn't too helpful. ;)

(21 Mar '14, 07:09) Hadriel

Actually forget that - it would be almost as much work as just fixing it to handle multiple interfaces. (it's bug 8795, BTW)

(21 Mar '14, 07:17) Hadriel
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 21 Mar '14, 00:47

question was seen: 2,443 times

last updated: 21 Mar '14, 07:17

p​o​w​e​r​e​d by O​S​Q​A