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

Fix ALPN ID for CoAP over TLS #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all 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
4 changes: 2 additions & 2 deletions draft-ietf-core-coap-dtls-alpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ An ALPN ID for CoAP service secured by TLS has already been specified in {{-coap

# Application-Layer Protocol Negotiation (ALPN) IDs

For CoAP over TLS an ALPN ID was defined as "coaps" in {{-coap-tcp}}.
For CoAP over TLS an ALPN ID was defined as "coap" in {{-coap-tcp}}.
As it is not advisable to re-use the same ALPN ID for a different transport layer, an ALPN for
CoAP over DTLS is registered in {{iana}}.

ALPN ID values have variable length.
Here, a short value ("co") is allocated for CoAP over DTLS, as this can avoid fragmentation of Client Hello and Server Hello messages in constrained networks with link-layer fragmentation, such as 6LoWPAN {{-6lo}}.

To discover CoAP services that secure their messages with TLS or DTLS, ALPN IDs "coaps" and "co" can be used respectively in
To discover CoAP services that secure their messages with TLS or DTLS, ALPN IDs "coap" and "co" can be used respectively in
the same manner as for any other service secured with transport layer security, as
described in {{-svcb}}.
Other authentication mechanisms are currently out of scope.
Expand Down
Loading