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

Invalid Track Alias/Subscribe ID are a protocol violation #616

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions draft-ietf-moq-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -2156,6 +2156,10 @@ OBJECT_DATAGRAM Message {
~~~
{: #object-datagram-format title="MOQT OBJECT_DATAGRAM Message"}

If an endpoint receives an OBJECT_DATAGRAM with a Track Alias that does not
correspond to an active or recently closed subscription, it closes the session
with a protocol violation.

## Streams

When objects are sent on streams, the stream begins with a stream header
Expand Down Expand Up @@ -2196,6 +2200,11 @@ following fields.

The Object Status field is only sent if the Object Payload Length is zero.

If an endpoint receives a STREAM_HEADER_SUBGROUP with a Track Alias that does
not correspond to an active or recently closed subscription, it closes the
session with a protocol violation.


~~~
{
Object ID (i),
Expand All @@ -2209,6 +2218,7 @@ The Object Status field is only sent if the Object Payload Length is zero.
A publisher MUST NOT send an Object on a stream if its Object ID is less than a
previously sent Object ID within a given group in that stream.


ianswett marked this conversation as resolved.
Show resolved Hide resolved
### Closing Subgroup Streams

Subscribers will often need to know if they have received all objects in a
Expand Down Expand Up @@ -2287,6 +2297,9 @@ FETCH_HEADER Message {
~~~
{: #fetch-header-format title="MOQT FETCH_HEADER Message"}

If an endpoint receives a FETCH_HEADER that references a subscription ID that does
not refer to an active or recently closed FETCH, it closes the connection with a
Protocol Violation.

Each object sent on a fetch stream after the FETCH_HEADER has the following format:

Expand Down
Loading