You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the old code here would read :
uint16_t ip_payload_len = ip_len - ip_header_len;
it was changed to:
uint16_t ip_payload_len = pi.ip_datalen - ip_header_len;
but the new codes just ignores the header information.
In our use case, there are 2 to 6 paddings bytes at the end of the IP data packet, introduce by some hardware device.
Please revert the code.
Regards
The text was updated successfully, but these errors were encountered:
Thanks for the patch. I'll do something better. Can you share with me some packets for testing?
I've added a lot of unit tests to bulk_extractor. For tcpflow I should do the same. I should also upgrade it to use the be20_api rather than the be16_api.
Hello
tcpflow/src/tcpdemux.cpp
Line 748 in 6fd956d
the old code here would read :
uint16_t ip_payload_len = ip_len - ip_header_len;
it was changed to:
uint16_t ip_payload_len = pi.ip_datalen - ip_header_len;
but the new codes just ignores the header information.
In our use case, there are 2 to 6 paddings bytes at the end of the IP data packet, introduce by some hardware device.
Please revert the code.
Regards
The text was updated successfully, but these errors were encountered: