Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems reassembling TCP packets #302

Open
maltris opened this issue Sep 6, 2024 · 3 comments
Open

Problems reassembling TCP packets #302

maltris opened this issue Sep 6, 2024 · 3 comments

Comments

@maltris
Copy link

maltris commented Sep 6, 2024

Hello dear community,

I have noticed problems with heplify when reassembling TCP packets, for example with Skype for Business or Lync traffic. Somehow the contents get scrambled in a strange way. Today I tried the same with captagent, which worked perfectly fine.

Somehow the packets dont get reassembled in the right way which leads to strange conversations like

screenshot-1

Here is the call flow with heplify (wrong):

Clipboard - September 6, 2024 11_03

And from captagent (right):

Clipboard - September 6, 2024 11_04

Im no expert in this specific topic, so if my assumptions are wrong, please point that out. I am willing to provide any information that is beneficial to solve this, since from an operative side I prefer heplify over the other agent.

Thanks in advance

@lmangani
Copy link
Member

lmangani commented Sep 6, 2024

Thanks for the report. First of all we need to know what type of socket was used in heplify (socket_pcap or af_socket) if the tcpassembly flag was enabled in heplify at the time of testing. If that was the case, then we need a anonymized example of the signaling and/or at the very least the packet size - we can't work much with images.

@maltris
Copy link
Author

maltris commented Sep 7, 2024

The tcpassembly setting was enabled. I will try to collect a sample, but it can be tricky, because as you said, I must anonymize it. I will come back at you once I collected the required data.

@kYroL01
Copy link
Contributor

kYroL01 commented Sep 9, 2024

Hi @maltris heplify also have the option -sipassembly. Sometimes, the problem is on the application layer after the TCP defragmentation.
I suggest you add this option to see if your messages will be split correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants