Hello, I have included PCapNg files support to my program, so it can open, read and write such files. It works fine when it writes enhanced blocks to the output file, they are seen and interpreted in WireShark correctly. Though when it writes simple blocks the output file starts looking for WireShark as corrupted and it issues an error "pcapng: interface index 3111035224 is not less than interface count 1". I don't know where it takes such wierd index cause there is no Interface id link in simple blocks as it was clearly mentioned in PCapNg specification. asked 27 Sep '13, 08:25 Ravil edited 27 Sep '13, 08:29 |
One Answer:
I verified this by creating a PCAPng file with frames in Simple Packet Blocks and opening them in Wireshark. In an older version I had the same interface index message; with the latest developer build it says that the file seems to be "cut short in the middle of a packet". So I opened a bug report. answered 28 Sep '13, 09:29 Jasper ♦♦ 1 Several things were wrong with the code to read SPBs. Fixes have been checked into the trunk and the 1.10 and 1.8 branches. (28 Sep '13, 15:07) Guy Harris ♦♦ Thanks a lot, Guy, awesome work! (29 Sep '13, 01:13) Jasper ♦♦ |
Can you put a sample file somewhere so that I can take a look?