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

SCTP invalid stream identifier on response #23

Open
richard-strate opened this issue Mar 15, 2019 · 3 comments
Open

SCTP invalid stream identifier on response #23

richard-strate opened this issue Mar 15, 2019 · 3 comments

Comments

@richard-strate
Copy link

Environment
SCTP 2.0.18

Scenario
The stack is used to serve a diameter "server" stack (jDiameter). The remote node is requesting following stream setup during INIT:
Number of outbound streams: 17 Number of inbound streams: 17
Our response in the INIT_ACK:
Number of outbound streams: 10 Number of inbound streams: 17
Diameter CER/CEA is exchanged successfully and association/peer is considered open.

Expected result
Association should be remain available.

Actual result
After 10 (remote originated) messages the remote stack drops the association (SCTP ABORT). The reason is that our application stops responding to diameter the keep-alive request (Device-Watchdog-Request) because the SCTP stack refuses to send out a packet using stream ID 10.

It seems that the remote node considers SID 10 to be valid but our SCTP doesn't? The check in question is found in org.mobicents.protocols.sctp.AssociationImpl.java:625.

@richard-strate
Copy link
Author

I've verified that (at least) the check still exists in master, but on row AssociationImpl.java:650.

@nhanth87
Copy link

Hi @richard-strate ,
it's the bug in jDiameter, not SCTP
RestComm/jdiameter#131

Can you please rebuild jdiamter stack with indea in the issue and try again

Br,
TN

@richard-strate
Copy link
Author

Ok. Then it was as I suspected. I'll see what I can do about the fix. Right now I workaround this by applying same max to in- and outbound streams.

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