Skip to content

Conversation

@afrind
Copy link
Collaborator

@afrind afrind commented Mar 30, 2025

This is more wire efficient and less ambiguous

Fixes: #804

This is more wire efficient and less ambiguous

Fixes: #804
@afrind afrind added Control Messages Related to control streams and general control message handling Design Issues or PRs that change how MoQ works including the wire format. labels Mar 30, 2025
Copy link
Collaborator

@ianswett ianswett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR doesn't add any limits on the control message ID, so there's no protection against rapid reset type attacks as you noted.

I think I'd be simpler to rename Subscribe ID to Control Message ID, and since Subscribe ID already has a MAX mechanism, we get limits on outstanding control messages for free.

responses. There are independent control message IDs for each endpoint. The
client's control message ID starts at 0 and the server's control message ID
starts at 1. The control message ID increments by 2 with ANNOUNCE,
SUBSCRIBE_ANNOUNCES or TRACK_STATUS.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we define a rule for computing the control message ID ?
I may be wrong, do we support server sending its own control message today ? It does respond to one, but will send its own though right ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, a relay sends ANNOUNCE and SUBSCRIBE today.

@afrind
Copy link
Collaborator Author

afrind commented Apr 2, 2025

#905 is my preferred alternate to this PR

@ianswett
Copy link
Collaborator

Based on feedback, let's proceed with #905

@ianswett ianswett closed this Apr 12, 2025
afrind added a commit that referenced this pull request Apr 19, 2025
This is an expansion/alternate to #898 that also addresses #903

Fixes: #804 
Fixes: #903 

Related to #350

---------

Co-authored-by: ianswett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Control Messages Related to control streams and general control message handling Design Issues or PRs that change how MoQ works including the wire format.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correlation of control messages

5 participants