Ask Your Question
0

Is it possible to use reassembly on non-split packets?

asked 2017-12-14 16:06:57 +0000

mest112 gravatar image

updated 2017-12-14 16:14:04 +0000

I need to dissect multiple packets, but they are not necessarily related (ie. non-split packets).

edit retag flag offensive close merge delete

Comments

Can you expand your question, over what protocol are these packets running, are they sequential, fragmented, anything else you can think of to explain the issue.

grahamb gravatar imagegrahamb ( 2017-12-14 16:38:59 +0000 )edit

These packets are running over UDP. I'm still fairly new to wireshark, so I'm still not familiar with some terms, like "sequential" or "fragmented". When I was reading the developer's guide section 9.4, I found that if a packet is too large, it can be split, and the data is spread between multiple packets. To do my dissection, I need to reassemble these split packets. What I want to know, is that is it possible to use the reassembly API to assemble packets that aren't split?

mest112 gravatar imagemest112 ( 2017-12-14 16:44:33 +0000 )edit

I'm missing something here, if you have the complete packet because it isn't split, why do you need to reassemble?

Note that this is quite an advanced topic for dissectors and there isn't much documentation apart from in the reassembly code itself, and the existing dissectors that use it.

grahamb gravatar imagegrahamb ( 2017-12-14 18:37:05 +0000 )edit

It's for a project, if it isn't possible to apply reassembly to packets that aren't split, then is there another way to dissect multiple packets in a single dissector?

mest112 gravatar imagemest112 ( 2017-12-14 19:37:47 +0000 )edit

So do you have multiple packets for your protocol inside a single link-layer frame, a single packet for your protocol that is made up from multiple link-layer frames, or both?

Guy Harris gravatar imageGuy Harris ( 2017-12-15 05:22:40 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-12-14 21:51:06 +0000