From 9ae16423c8935aa1108fad9889e6f97b53fab37d Mon Sep 17 00:00:00 2001 From: Eric Rosenberg Date: Fri, 10 Mar 2023 18:44:44 +0000 Subject: [PATCH 1/4] add forwarded mode packets to example --- draft-pauly-masque-quic-proxy.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/draft-pauly-masque-quic-proxy.md b/draft-pauly-masque-quic-proxy.md index 0fb25e3..1d2188a 100644 --- a/draft-pauly-masque-quic-proxy.md +++ b/draft-pauly-masque-quic-proxy.md @@ -782,6 +782,19 @@ DATAGRAM --------> Quarter Stream ID = 11 Context ID = 0 Payload = Encapsulated QUIC initial + +/* Forwarded mode packets possible in Target -> Client direction */ + + <-------- UDP DATAGRAM + Payload = QUIC SH packet + +/* All Client -> Target QUIC packets must still be encapsulated */ + +DATAGRAM --------> + Quarter Stream ID = 11 + Context ID = 0 + Payload = Encapsulated QUIC packet + ~~~ Immediately after sending the REGISTER_CLIENT_CID capsule, the client may @@ -806,6 +819,12 @@ STREAM(44): DATA --------> Connection ID = 0x61626364 Virtual Target Connection ID = 0x123412341234 Stateless Reset Token = Token + +/* Client -> Target QUIC short header packets may use forwarding mode */ + +UDP DATAGRAM --------> + Payload = QUIC SH packet + ~~~ Upon receiving an ACK_TARGET_CID capsule, the client starts sending Short Header From a67f608d2a81633291e80379e624ec32c5c600f0 Mon Sep 17 00:00:00 2001 From: Eric Rosenberg Date: Fri, 10 Mar 2023 10:52:27 -0800 Subject: [PATCH 2/4] Update draft-pauly-masque-quic-proxy.md Co-authored-by: Tommy Pauly --- draft-pauly-masque-quic-proxy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/draft-pauly-masque-quic-proxy.md b/draft-pauly-masque-quic-proxy.md index 1d2188a..97fe35e 100644 --- a/draft-pauly-masque-quic-proxy.md +++ b/draft-pauly-masque-quic-proxy.md @@ -785,8 +785,8 @@ DATAGRAM --------> /* Forwarded mode packets possible in Target -> Client direction */ - <-------- UDP DATAGRAM - Payload = QUIC SH packet + <-------- UDP Datagram + Payload = Forwarded QUIC SH packet /* All Client -> Target QUIC packets must still be encapsulated */ From 37c1bbebf3498f26734cc6cd7f584401ba4e9d4e Mon Sep 17 00:00:00 2001 From: Eric Rosenberg Date: Fri, 10 Mar 2023 10:52:33 -0800 Subject: [PATCH 3/4] Update draft-pauly-masque-quic-proxy.md Co-authored-by: Tommy Pauly --- draft-pauly-masque-quic-proxy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/draft-pauly-masque-quic-proxy.md b/draft-pauly-masque-quic-proxy.md index 97fe35e..e0fecaf 100644 --- a/draft-pauly-masque-quic-proxy.md +++ b/draft-pauly-masque-quic-proxy.md @@ -822,8 +822,8 @@ STREAM(44): DATA --------> /* Client -> Target QUIC short header packets may use forwarding mode */ -UDP DATAGRAM --------> - Payload = QUIC SH packet +UDP Datagram --------> + Payload = Forwarded QUIC SH packet ~~~ From 100ddf3f240b63c23e8d31f818d0f0c77e2d44e8 Mon Sep 17 00:00:00 2001 From: Eric Rosenberg Date: Fri, 10 Mar 2023 18:54:36 +0000 Subject: [PATCH 4/4] reorder datagrams in client target exchange --- draft-pauly-masque-quic-proxy.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/draft-pauly-masque-quic-proxy.md b/draft-pauly-masque-quic-proxy.md index e0fecaf..022b336 100644 --- a/draft-pauly-masque-quic-proxy.md +++ b/draft-pauly-masque-quic-proxy.md @@ -783,11 +783,6 @@ DATAGRAM --------> Context ID = 0 Payload = Encapsulated QUIC initial -/* Forwarded mode packets possible in Target -> Client direction */ - - <-------- UDP Datagram - Payload = Forwarded QUIC SH packet - /* All Client -> Target QUIC packets must still be encapsulated */ DATAGRAM --------> @@ -795,6 +790,11 @@ DATAGRAM --------> Context ID = 0 Payload = Encapsulated QUIC packet +/* Forwarded mode packets possible in Target -> Client direction */ + + <-------- UDP Datagram + Payload = Forwarded QUIC SH packet + ~~~ Immediately after sending the REGISTER_CLIENT_CID capsule, the client may