I am using pcapplusplus library for tcp packet processing in c++. When i am receiving packets greater than MTU size, which is 1500 bytes
, my program stops further processing as TcpReassembly
is not processing that packet. Due to this onMessageReadyCallback
is not calling for that packet.
And more serious, as that packet is being ignored by tcpReassembly, the corresponding sequence no, lets say x
, of that packet is being ignored too. So my program is not able to process any other incoming packet as it expects a sequence no of x
but tcpReassmbly had already ignored that packet so it is not going to receive packet of sequence no x
and the program execution stops.
So my question is do we have a way to direct tcpReassembly
do not ignore packets greater than MTU size. Just forward it to respective function callback?