algesten / str0m

A Sans I/O WebRTC implementation in Rust.
MIT License
333 stars 50 forks source link

SCTP parsing fails on unknown parameters #552

Closed algesten closed 3 months ago

algesten commented 3 months ago

When connecting libdatachannel with str0m, we get a problem. The issue was raised in Zulip:

https://str0m.zulipchat.com/#narrow/stream/377845-general/topic/libdatachannel.20compatibility/near/456257155

The error is:

17:22:12 [WARN] [Server] unable to parse SCTP packet unhandled ParamType

The problem is that sctp-proto doesn't handle unknown parameters gracefully. In this case the parameter is 32769 which is defined as: https://www.iana.org/assignments/sctp-parameters/sctp-parameters.xhtml – Zero Checksum Acceptable.

This PR in upstream fixes it: https://github.com/webrtc-rs/sctp-proto/pull/14

algesten commented 3 months ago

Fixed in main