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

SIPp unable to parse/frame ACK and BYE in same frame received in TCP segment #675

Open
TheQue42 opened this issue Dec 15, 2023 · 1 comment

Comments

@TheQue42
Copy link

TheQue42 commented Dec 15, 2023

I've got a failure testcase with an UAS that receives a call via REFER, and returns bad SDP in the 2xx.

It works fine in UDP, and intermittently fine over TCP, because when the preceeding system receives the 2xx, it responds with ACK and BYE really fast, which sometimes ends up in the same TCP segment/ethernet frame.

In those cases, SIPp will fail to properly parse both the ACK and the BYE, so the BYE never gets a 200 OK.

SippFailsTcpSipParsing.pcapng.gz

And yes, I am aware that there are 2 BYEs being sent by the preceeding hop, caused by my PjSIP stacl behaving (imho) a bit strange on SDP errors, but since this testcase works fine on UDP, the error is still in the TCP framer/parser I feel.

@IvanRibakov
Copy link
Contributor

We've been struggling with reliability of our TCP SIPp tests for exactly this reason for a few years now. It seems that SIPp is able to assemble the SIP message from 2 TCP frames but is unable to handle a frame with more than one SIP message.

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

2 participants