Closed Bug 841126 Opened 11 years ago Closed 11 years ago

Patch to overcome the limitation that you can't bind an SCTP port number specific to an DTLS connection

Categories

(Core :: WebRTC: Networking, defect)

21 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: tuexen, Assigned: jesup)

References

Details

(Whiteboard: [WebRTC] [blocking-webrtc-] [qa-])

Attachments

(1 file, 1 obsolete file)

The attached patch allows SCTP sockets to be bound to specific connections when
using AF_CONN. This allows to use the same SCTP port number on both sides of
an association even when used in different tabs of the same browser.
While there, fix the bug the ECN support was announced in the SCTP handshake
even the Firefox infrastructure doesn't support it.

Please note that an update of SCTP sources is required to support the required
functionality.

Please note that the local patches applied in
https://bugzilla.mozilla.org/show_bug.cgi?id=828154
need the following change:
* No change required to usrsctp.h, the patch was incorrect.
* No change required anymore to user_recv_thread.c, since the patch has been
  included upstream.
Whiteboard: [WebRTC] [blocking-webrtc-]
Attachment #713568 - Flags: review?(rjesup)
Attachment #713568 - Attachment is obsolete: true
Attachment #713568 - Flags: review?(rjesup)
Comment on attachment 730566 [details] [diff] [review]
Update DataChannels to use new stack option to ignore port numbers over DTLS links

Un-bitrotted patch; r+

Works when combined with bug 855623 (one-way-open protocol change) and bug 855620 (sctp lib update)
Attachment #730566 - Flags: review+
Depends on: 855620
Assignee: nobody → rjesup
Status: UNCONFIRMED → NEW
Ever confirmed: true
https://hg.mozilla.org/mozilla-central/rev/c3bfbdf4db3e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
Whiteboard: [WebRTC] [blocking-webrtc-] → [WebRTC] [blocking-webrtc-] [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: