What's QUIC?

Published Aug 25 2021 06:58 AM 5,230 Views
Microsoft

James Kehr here with the Windows Networking Escalation Engineering team. Today’s topic is the newly published QUIC protocol. This is a quick discussion, all puns intended, about why QUIC is important to the modern internet.

 

Back in my day…

 

Back in the old days, about the mid-1990’s, when the Internet was new and the Wild Wild Web was a better fit for WWW than the World Wide Web, Internet connections were really slow. Youngsters can’t appreciate just how amazingly slow the Internet was back then.

 

A simple web page could take upwards of 1-2 minutes to load. Good video streaming, forget about it! High resolution video was originally 640x480, what we now call 480p or SD video, but most early video was 320x240. Even at the lower resolution you’d start the video, then immediately pause it so the video could buffer. Go refill your beverage, talk with friends, read a book, and about 5-10 minutes later you could start the video. And, if you were lucky, it wouldn’t pause to buffer before the video was done.

 

JamesKehr_0-1629897112807.png

 

This is normally the part when us old timers do the traditional joke of “And we liked it! We loved it!” but that would be a lie. We hated it. It was horrible. We were Internet addicts and we wanted to surf the net and not have to wait.

 

Students of computer history will note that around this time a huge surge in computer advancements began. Processor and network speeds improved dramatically. Displays got larger with higher resolutions. New Internet connection technologies sprung up everywhere. Then the smartphone happened, and a second wave of innovation hit. To put this in perspective, the current flagship smartphones are about ten times (10x) more powerful than the fastest super computer of 1995.

 

The driving force behind most of this innovation was, you guessed it, a fast and stable Internet experience. People today want to open a site and have the page loaded by the time their thumb clears the smartphone screen or the cursor clears the browser window. Our video needs to stream immediately in 4K with no buffering and no pixelation.

 

Despite the massive leaps in technologies that have enabled the modern Internet experience, we have been using the same major Internet protocol since the beginning, our tried-and-true friend, TCP.

 

The Old Guard and the New Guard

 

Let me start by saying that TCP, or Transmission Control Protocol, isn’t go anywhere any time soon. It is, and will be, the dominant network protocol in the world for years to come. Which begs the question, why replace it?

 

TCP was first developed in 1974 for the precursor to the Internet, ARPAnet. A little math will reveal that TCP will have its 50th birthday soon. ARPAnet was mainly used by military and educational institutions across closed circuits until ARPAnet became the commercial Internet in the early 1990’s. The TCP/IP suite of protocols used by ARPAnet were carried over to the Internet. TCP, as the resilient transport protocol, became the de facto standard for most Internet activities. Without TCP the Internet would not have worked quite right.

 

This is normally where I say something like TCP is bad and needs to be replaced, but there isn’t anything necessarily bad about TCP because it’s a great protocol. The problem is that we can’t change TCP to make it better and meet the needs of modern Internet services that need to be crazy fast. The TCP protocol is simply too embedded to make any significant changes to it without the risk of breaking millions of devices.

 

A lot of ideas have been thrown around to improve the Internet experience over the years but none of them stuck until QUIC, the Quick UDP Internet Connection protocol, was developed at Google using a unique concept. Rather than developing a completely new protocol that would require a massive upgrade to the Internet backbone the QUIC protocol extends an existing protocol, UDP. I say extend because QUIC is a transport layer protocol, not an application protocol, even though QUIC is transmitted inside the UDP segment. Think of it like this:

 

UDP + QUIC = the transport layer

 

QUIC uses UDP for ports and connectionless transport, then adds the resiliency of TCP, the security of TLS 1.3, sprinkles in a dash of commands and version control from protocols like SMB, and then mixes in a set of new protocol concepts and efficiencies to create something entirely unique in the protocol world.

 

Why Should I Care?

 

Big tech companies are excited about QUIC because it adds several changes that will help make Internet services better, especially edge services where every millisecond matters. By extension, this makes the Internet experience better for everyone. Here are some of the improvements in QUIC:

 

Encryption

 

QUIC 1.0 requires TLS 1.3 based encryption for all data. This makes data over QUIC inherently secure regardless of service.

 

Lower Connection Latency

 

QUIC doesn’t change the laws of physics, but it doesn’t have to wait for two handshakes (TCP then TLS) to complete a secure network connection. Connection setup takes fewer packets to complete than TCP + TLS and can be resilient after close. This means you start getting data faster the first time you connect to a service, and potentially faster the second time.

 

Connection Reuse

 

QUIC can reuse a session in two ways: streams and session tickets. A single QUIC session can have multiple simultaneous data streams. A server can also grant clients a session ticket that can be used to reconnect to a server without going through a full handshake. This reduces the number of client-server connects and allows fast, secure reconnections.

 

Connection Migration

 

This is one of the coolest features, in my opinion, as it allows a QUIC connection to survive an IP change. Let’s say you have a laptop with WiFi and LAN, and switch from a wired LAN connection to WiFi. With TCP the connections must be closed, and new connections opened using the WiFi IP address. With QUIC, the client can provide evidence to the server to prove who they are and continue with the existing connection on the new IP as if nothing changed. Making the mobile user experience more seamless.

 

Security

 

In addition to encryption, QUIC is built to prevent or lessen the impact of things like Denial of Service (DoS), replay, reflection, spoofing, and other types of attacks. QUIC can’t eliminate all attacks, but it does try to make it harder to successfully attack.

 

Version Control

 

QUIC can change and be adapted to meet new Internet needs because it has version control. QUIC 1.0 was published in May 2021 via RFC 9000, plus RFCs 8999, 9001, and 9002. Future versions of QUIC are free to change the protocol as needed. Computers can support multiple simultaneous versions of QUIC. This allows new version to fix and improve the QUIC protocol while supporting older implementations during a transition period. Over time the old versions can be dropped to keep QUIC secure and up to date for decades to come.

 

Extension Frames

 

People and companies can extend QUIC to meet their own needs. This is handled via QUIC extension frames, which can be public and potentially be added to a future version of QUIC, or private and used only for internal services. There are few rules that must be followed, but otherwise people are free to extend QUIC via custom frames as they see fit.

 

The All-Important Caveats…

 

Not everything is sunshine and flowers in QUIC land. QUIC 1.0 is brand spanking new, less than 4 months old at the time of writing. It’s going to take time for most devices to support QUIC. Modern browsers already support QUIC. The newest versions of Windows, Window 10 21Hx, Windows 11, and Windows Server 2022, have native QUIC support. Some older versions of Windows should see MsQuic support in early 2022. Apple has native QUIC support starting with Big Sur. Linux and FreeBSD currently need a QUIC driver installed or implemented in the user application, but future versions may have native support.

 

Older OS builds are the problem here and may not have any QUIC capabilities outside the browser. And if there’s one thing that IT has taught me, many people are generally slow to upgrade.

 

Then there’s the learning curve when developing for QUIC. The QUIC protocol does things a bit differently than TCP and plain UDP. Learning the best way to leverage QUIC streams to your advantage will take some time and effort.

 

Finally, there’s the traffic shaping problem. Some networks and ISPs will prefer TCP traffic over UDP, and rightly so. TCP is currently the de facto transport protocol on the Internet. This can, however, cause problems with QUIC performance in the short term when certain network congestion conditions are reached. A heavily congested network may drop UDP traffic to pass TCP traffic. This will change as backbone networks become more aware of QUIC. In the short term, there might be performance issues during peak hours.

 

Does this give you license to ignore QUIC? It shouldn’t. Microsoft, Apple, Google, Amazon, Facebook, Cloudflare, and other big tech companies are already using QUIC because of its advantages over TCP. The tech world is ready for a QUIC switch, so you should be thinking about it, too.

 

MsQuic

 

No article would be complete without a small plug for your own product. Microsoft’s implementation of QUIC is called MsQuic. It is an open source, cross platform project available to the world. Windows and Linux are fully supported as of version 1.5.0, with MacOS currently in the alpha stage. There is support in MsQuic for the UDP offloading features announced for Windows Server 2022, which will be available in Windows 11, as well. The UDP features do require a compatible network adapter. MsQuic performance is pretty impressive, too.

 

I hope that helps you understand some of the pros and cons of QUIC, and why people are so excited about it. Keep an eye on the Networking and Storage at Microsoft Tech Communities for more content about QUIC and SMB over QUIC in the future.

2 Comments
New Contributor

I worry about troubleshooting, a simple packet capture is out of the question. 

Microsoft

@Teus Renes Yes and no. This wasn't meant to be a troubleshooting article so I didn't touch on that question, but it's a good one to ask.

 

Your concern has been voiced by just about everyone who troubleshoots network connections. There are projects underway to allow QUIC decryption on the client and server. Such as this one by Wireshark, which can decrypt QUIC on Chrome 89+ when an SSLKEYLOGFILE is setup on the OS and key logging is enabled in Chrome. This should carry over to other Chromium-based browsers.

 

https://gitlab.com/wireshark/wireshark/-/issues/17111

 

Firefox may support it, the SSLKEYLOGFILE file format is a Mozilla creation. I haven't seen documentation one way or the other involving QUIC, however.

 

MsQuic has SSLKEYLOGFILE support, as of v1.1, but, as I understand it, MsQuic requires the driver or application to enable and use it. Support for decryption is disabled by default.

 

https://github.com/microsoft/msquic/blob/1fccd8e51cf28f450c64137feca43a98973d7f02/docs/Release.md

 

  • Added (off by default) SSLKEYLOGFILE support.

MsQuic logging is an okay substitute when decryption is not an option.

 

https://github.com/microsoft/msquic/blob/main/docs/Diagnostics.md

 

The "no" involves data on the wire, which cannot be decrypted. You must make a concerted effort on OS and application to enable QUIC TLS decryption.

%3CLINGO-SUB%20id%3D%22lingo-sub-2683367%22%20slang%3D%22en-US%22%3EWhat's%20QUIC%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2683367%22%20slang%3D%22en-US%22%3E%3CP%3EJames%20Kehr%20here%20with%20the%20Windows%20Networking%20Escalation%20Engineering%20team.%20Today%E2%80%99s%20topic%20is%20the%20newly%20published%20QUIC%20protocol.%20This%20is%20a%20quick%20discussion%2C%20all%20puns%20intended%2C%20about%20why%20QUIC%20is%20important%20to%20the%20modern%20internet.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1418615028%22%20id%3D%22toc-hId-1418616764%22%20id%3D%22toc-hId-1418616764%22%20id%3D%22toc-hId-1418616764%22%20id%3D%22toc-hId-1418616764%22%20id%3D%22toc-hId-1418616764%22%3EBack%20in%20my%20day%E2%80%A6%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBack%20in%20the%20old%20days%2C%20about%20the%20mid-1990%E2%80%99s%2C%20when%20the%20Internet%20was%20new%20and%20the%20Wild%20Wild%20Web%20was%20a%20better%20fit%20for%20WWW%20than%20the%20World%20Wide%20Web%2C%20Internet%20connections%20were%20really%20slow.%20Youngsters%20can%E2%80%99t%20appreciate%20just%20how%20amazingly%20slow%20the%20Internet%20was%20back%20then.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20simple%20web%20page%20could%20take%20upwards%20of%201-2%20minutes%20to%20load.%20Good%20video%20streaming%2C%20forget%20about%20it!%20High%20resolution%20video%20was%20originally%20640x480%2C%20what%20we%20now%20call%20480p%20or%20SD%20video%2C%20but%20most%20early%20video%20was%20320x240.%20Even%20at%20the%20lower%20resolution%20you%E2%80%99d%20start%20the%20video%2C%20then%20immediately%20pause%20it%20so%20the%20video%20could%20buffer.%20Go%20refill%20your%20beverage%2C%20talk%20with%20friends%2C%20read%20a%20book%2C%20and%20about%205-10%20minutes%20later%20you%20could%20start%20the%20video.%20And%2C%20if%20you%20were%20lucky%2C%20it%20wouldn%E2%80%99t%20pause%20to%20buffer%20before%20the%20video%20was%20done.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JamesKehr_0-1629897112807.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F305641i8BF914054F99E121%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22JamesKehr_0-1629897112807.png%22%20alt%3D%22JamesKehr_0-1629897112807.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20normally%20the%20part%20when%20us%20old%20timers%20do%20the%20traditional%20joke%20of%20%E2%80%9CAnd%20we%20liked%20it!%20We%20loved%20it!%E2%80%9D%20but%20that%20would%20be%20a%20lie.%20We%20hated%20it.%20It%20was%20horrible.%20We%20were%20Internet%20addicts%20and%20we%20wanted%20to%20surf%20the%20net%20and%20not%20have%20to%20wait.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStudents%20of%20computer%20history%20will%20note%20that%20around%20this%20time%20a%20huge%20surge%20in%20computer%20advancements%20began.%20Processor%20and%20network%20speeds%20improved%20dramatically.%20Displays%20got%20larger%20with%20higher%20resolutions.%20New%20Internet%20connection%20technologies%20sprung%20up%20everywhere.%20Then%20the%20smartphone%20happened%2C%20and%20a%20second%20wave%20of%20innovation%20hit.%20To%20put%20this%20in%20perspective%2C%20the%20current%26nbsp%3B%3CA%20title%3D%22CPU%20Benchmark%20-%20Qualcomm%20Snapdragon%20888%22%20href%3D%22https%3A%2F%2Fcpu-benchmark.org%2Fcpu%2Fqualcomm-snapdragon-888%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eflagship%3C%2FA%3E%20%3CA%20title%3D%22CPU%20Benchmark%20-%20Apple%20A14%20Bionc%22%20href%3D%22https%3A%2F%2Fcpu-benchmark.org%2Fcpu%2Fapple-a14-bionic%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Esmartphones%3C%2FA%3E%26nbsp%3Bare%20about%20ten%20time%20(10x)%20more%20powerful%20than%20the%20%3CA%20title%3D%22Pingdom%20-%20The%20incredible%20growth%20of%20supercomputing%20performance%2C%201995%20%E2%80%93%202010%22%20href%3D%22https%3A%2F%2Fwww.pingdom.com%2Fblog%2Fincredible-growth-supercomputing-performance-1995-2010%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Efastest%20super%20computer%20of%201995%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20driving%20force%20behind%20most%20of%20this%20innovation%20was%2C%20you%20guessed%20it%2C%20a%20fast%20and%20stable%20Internet%20experience.%26nbsp%3BPeople%20today%20want%20to%20open%20a%20site%20and%20have%20the%20page%20loaded%20by%20the%20time%20their%20thumb%20clears%20the%20smartphone%20screen%20or%20the%20cursor%20clears%20the%20browser%20window.%20Our%20video%20needs%20to%20stream%20immediately%20in%204K%20with%20no%20buffering%20and%20no%20pixelation.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDespite%20the%20massive%20leaps%20in%20technologies%20that%20have%20enabled%20the%20modern%20Internet%20experience%2C%20we%20have%20been%20using%20the%20same%20major%20Internet%20protocol%20since%20the%20beginning%2C%20our%20tried-and-true%20friend%2C%20TCP.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--388839435%22%20id%3D%22toc-hId--388837699%22%20id%3D%22toc-hId--388837699%22%20id%3D%22toc-hId--388837699%22%20id%3D%22toc-hId--388837699%22%20id%3D%22toc-hId--388837699%22%3EThe%20Old%20Guard%20and%20the%20New%20Guard%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20start%20by%20saying%20that%20TCP%2C%20or%20Transmission%20Control%20Protocol%2C%20isn%E2%80%99t%20go%20anywhere%20any%20time%20soon.%20It%20is%2C%20and%20will%20be%2C%20the%20dominant%20network%20protocol%20in%20the%20world%20for%20years%20to%20come.%20Which%20begs%20the%20question%2C%20why%20replace%20it%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETCP%20was%20first%20developed%20in%201974%20for%20the%20precursor%20to%20the%20Internet%2C%20ARPAnet.%20A%20little%20math%20will%20reveal%20that%20TCP%20will%20have%20its%2050%3CSUP%3Eth%3C%2FSUP%3E%20birthday%20soon.%20ARPAnet%20was%20mainly%20used%20by%20military%20and%20educational%20institutions%20across%20closed%20circuits%20until%20ARPAnet%20became%20the%20commercial%20Internet%20in%20the%20early%201990%E2%80%99s.%20The%20TCP%2FIP%20suite%20of%20protocols%20used%20by%20ARPAnet%20were%20carried%20over%20to%20the%20Internet.%20TCP%2C%20as%20the%20resilient%20transport%20protocol%2C%20became%20the%20de%20facto%20standard%20for%20most%20Internet%20activities.%20Without%20TCP%20the%20Internet%20would%20not%20have%20worked%20quite%20right.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20normally%20where%20I%20say%20something%20like%20TCP%20is%20bad%20and%20needs%20to%20be%20replaced%2C%20but%20there%20isn%E2%80%99t%20anything%20necessarily%20bad%20about%20TCP%20because%20it%E2%80%99s%20a%20great%20protocol.%20The%20problem%20is%20that%20we%20can%E2%80%99t%20change%20TCP%20to%20make%20it%20better%20and%20meet%20the%20needs%20of%20modern%20Internet%20services%20that%20need%20to%20be%20crazy%20fast.%20The%20TCP%20protocol%20is%20simply%20too%20embedded%20to%20make%20any%20significant%20changes%20to%20it%20without%20the%20risk%20of%20breaking%20millions%20of%20devices.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20lot%20of%20ideas%20have%20been%20thrown%20around%20to%20improve%20the%20Internet%20experience%20over%20the%20years%20but%20none%20of%20them%20stuck%20until%20QUIC%2C%20the%20Quick%20UDP%20Internet%20Connection%20protocol%2C%20was%20developed%20at%20Google%20using%20a%20unique%20concept.%20Rather%20than%20developing%20a%20completely%20new%20protocol%20that%20would%20require%20a%20massive%20upgrade%20to%20the%20Internet%20backbone%20the%20QUIC%20protocol%20extends%20an%20existing%20protocol%2C%20UDP.%20I%20say%20extend%20because%20QUIC%20is%20a%20transport%20layer%20protocol%2C%20not%20an%20application%20protocol%2C%20even%20though%20QUIC%20is%20transmitted%20inside%20the%20UDP%20segment.%20Think%20of%20it%20like%20this%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUDP%20%2B%20QUIC%20%3D%20the%20transport%20layer%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EQUIC%20uses%20UDP%20for%20ports%20and%20connectionless%20transport%2C%20then%20adds%20the%20resiliency%20of%20TCP%2C%20the%20security%20of%20TLS%201.3%2C%20sprinkles%20in%20a%20dash%20of%20commands%20and%20version%20control%20from%20protocols%20like%20SMB%2C%20and%20then%20mixes%20in%20a%20set%20of%20new%20protocol%20concepts%20and%20efficiencies%20to%20create%20something%20entirely%20unique%20in%20the%20protocol%20world.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-2098673398%22%20id%3D%22toc-hId-2098675134%22%20id%3D%22toc-hId-2098675134%22%20id%3D%22toc-hId-2098675134%22%20id%3D%22toc-hId-2098675134%22%20id%3D%22toc-hId-2098675134%22%3EWhy%20Should%20I%20Care%3F%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBig%20tech%20companies%20are%20excited%20about%20QUIC%20because%20it%20adds%20several%20changes%20that%20will%20help%20make%20Internet%20services%20better%2C%20especially%20edge%20services%20where%20every%20millisecond%20matters.%20By%20extension%2C%20this%20makes%20the%20Internet%20experience%20better%20for%20everyone.%20Here%20are%20some%20of%20the%20improvements%20in%20QUIC%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1505732424%22%20id%3D%22toc-hId--1505730688%22%20id%3D%22toc-hId--1505730688%22%20id%3D%22toc-hId--1505730688%22%20id%3D%22toc-hId--1505730688%22%20id%3D%22toc-hId--1505730688%22%3EEncryption%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EQUIC%201.0%20requires%20TLS%201.3%20based%20encryption%20for%20all%20data.%20This%20makes%20data%20over%20QUIC%20inherently%20secure%20regardless%20of%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-981780409%22%20id%3D%22toc-hId-981782145%22%20id%3D%22toc-hId-981782145%22%20id%3D%22toc-hId-981782145%22%20id%3D%22toc-hId-981782145%22%20id%3D%22toc-hId-981782145%22%3ELower%20Connection%20Latency%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EQUIC%20doesn%E2%80%99t%20change%20the%20laws%20of%20physics%2C%20but%20it%20doesn%E2%80%99t%20have%20to%20wait%20for%20two%20handshakes%20(TCP%20then%20TLS)%20to%20complete%20a%20secure%20network%20connection.%20Connection%20setup%20takes%20fewer%20packets%20to%20complete%20than%20TCP%20%2B%20TLS%20and%20can%20be%20resilient%20after%20close.%20This%20means%20you%20start%20getting%20data%20faster%20the%20first%20time%20you%20connect%20to%20a%20service%2C%20and%20potentially%20faster%20the%20second%20time.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--825674054%22%20id%3D%22toc-hId--825672318%22%20id%3D%22toc-hId--825672318%22%20id%3D%22toc-hId--825672318%22%20id%3D%22toc-hId--825672318%22%20id%3D%22toc-hId--825672318%22%3EConnection%20Reuse%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EQUIC%20can%20reuse%20a%20session%20in%20two%20ways%3A%20streams%20and%20session%20tickets.%20A%20single%20QUIC%20session%20can%20have%20multiple%20simultaneous%20data%20streams.%20A%20server%20can%20also%20grant%20clients%20a%20session%20ticket%20that%20can%20be%20used%20to%20reconnect%20to%20a%20server%20without%20going%20through%20a%20full%20handshake.%20This%20reduces%20the%20number%20of%20client-server%20connects%20and%20allows%20fast%2C%20secure%20reconnections.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1661838779%22%20id%3D%22toc-hId-1661840515%22%20id%3D%22toc-hId-1661840515%22%20id%3D%22toc-hId-1661840515%22%20id%3D%22toc-hId-1661840515%22%20id%3D%22toc-hId-1661840515%22%3EConnection%20Migration%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20one%20of%20the%20coolest%20features%2C%20in%20my%20opinion%2C%20as%20it%20allows%20a%20QUIC%20connection%20to%20survive%20an%20IP%20change.%20Let%E2%80%99s%20say%20you%20have%20a%20laptop%20with%20WiFi%20and%20LAN%2C%20and%20switch%20from%20a%20wired%20LAN%20connection%20to%20WiFi.%20With%20TCP%20the%20connections%20must%20be%20closed%2C%20and%20new%20connections%20opened%20using%20the%20WiFi%20IP%20address.%20With%20QUIC%2C%20the%20client%20can%20provide%20evidence%20to%20the%20server%20to%20prove%20who%20they%20are%20and%20continue%20with%20the%20existing%20connection%20on%20the%20new%20IP%20as%20if%20nothing%20changed.%20Making%20the%20mobile%20user%20experience%20more%20seamless.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--145615684%22%20id%3D%22toc-hId--145613948%22%20id%3D%22toc-hId--145613948%22%20id%3D%22toc-hId--145613948%22%20id%3D%22toc-hId--145613948%22%20id%3D%22toc-hId--145613948%22%3ESecurity%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20addition%20to%20encryption%2C%20QUIC%20is%20built%20to%20prevent%20or%20lessen%20the%20impact%20of%20things%20like%20Denial%20of%20Service%20(DoS)%2C%20replay%2C%20reflection%2C%20spoofing%2C%20and%20other%20types%20of%20attacks.%20QUIC%20can%E2%80%99t%20eliminate%20all%20attacks%2C%20but%20it%20does%20try%20to%20make%20it%20harder%20to%20successfully%20attack.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1953070147%22%20id%3D%22toc-hId--1953068411%22%20id%3D%22toc-hId--1953068411%22%20id%3D%22toc-hId--1953068411%22%20id%3D%22toc-hId--1953068411%22%20id%3D%22toc-hId--1953068411%22%3EVersion%20Control%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EQUIC%20can%20change%20and%20be%20adapted%20to%20meet%20new%20Internet%20needs%20because%20it%20has%20version%20control.%20QUIC%201.0%20was%20published%20in%20May%202021%20via%20RFC%209000%2C%20plus%20RFCs%208999%2C%209001%2C%20and%209002.%20Future%20versions%20of%20QUIC%20are%20free%20to%20change%20the%20protocol%20as%20needed.%20Computers%20can%20support%20multiple%20simultaneous%20versions%20of%20QUIC.%20This%20allows%20new%20version%20to%20fix%20and%20improve%20the%20QUIC%20protocol%20while%20supporting%20older%20implementations%20during%20a%20transition%20period.%20Over%20time%20the%20old%20versions%20can%20be%20dropped%20to%20keep%20QUIC%20secure%20and%20up%20to%20date%20for%20decades%20to%20come.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-534442686%22%20id%3D%22toc-hId-534444422%22%20id%3D%22toc-hId-534444422%22%20id%3D%22toc-hId-534444422%22%20id%3D%22toc-hId-534444422%22%20id%3D%22toc-hId-534444422%22%3EExtension%20Frames%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPeople%20and%20companies%20can%20extend%20QUIC%20to%20meet%20their%20own%20needs.%20This%20is%20handled%20via%20QUIC%20extension%20frames%2C%20which%20can%20be%20public%20and%20potentially%20be%20added%20to%20a%20future%20version%20of%20QUIC%2C%20or%20private%20and%20used%20only%20for%20internal%20services.%20There%20are%20few%20rules%20that%20must%20be%20followed%2C%20but%20otherwise%20people%20are%20free%20to%20extend%20QUIC%20via%20custom%20frames%20as%20they%20see%20fit.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-271675243%22%20id%3D%22toc-hId-271676979%22%20id%3D%22toc-hId-271676979%22%20id%3D%22toc-hId-271676979%22%20id%3D%22toc-hId-271676979%22%20id%3D%22toc-hId-271676979%22%3EThe%20All-Important%20Caveats%E2%80%A6%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENot%20everything%20is%20sunshine%20and%20flowers%20in%20QUIC%20land.%20QUIC%201.0%20is%20brand%20spanking%20new%2C%20less%20than%204%20months%20old%20at%20the%20time%20of%20writing.%20It%E2%80%99s%20going%20to%20take%20time%20for%20most%20devices%20to%20support%20QUIC.%20Modern%20browsers%20already%20support%20QUIC.%20The%20newest%20versions%20of%20Windows%2C%20Window%2010%2021Hx%2C%20Windows%2011%2C%20and%20Windows%20Server%202022%2C%20have%20native%20QUIC%20support.%20Some%20older%20versions%20of%20Windows%20should%20see%20MsQuic%20support%20in%20early%202022.%20Apple%20has%20native%20QUIC%20support%20starting%20with%20Big%20Sur.%20Linux%20and%20FreeBSD%20currently%20need%20a%20QUIC%20driver%20installed%20or%20implemented%20in%20the%20user%20application%2C%20but%20future%20versions%20may%20have%20native%20support.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOlder%20OS%20builds%20are%20the%20problem%20here%20and%20may%20not%20have%20any%20QUIC%20capabilities%20outside%20the%20browser.%20And%20if%20there%E2%80%99s%20one%20thing%20that%20IT%20has%20taught%20me%2C%20many%20people%20are%20generally%20%3CA%20title%3D%22StatCounter%20-%20Desktop%20Windows%20Version%20Market%20Share%20Worldwide%22%20href%3D%22https%3A%2F%2Fgs.sdf.com%2Fos-version-market-share%2Fwindows%2Fdesktop%2Fworldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eslow%20to%20upgrade%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20there%E2%80%99s%20the%20learning%20curve%20when%20developing%20for%20QUIC.%20The%20QUIC%20protocol%20does%20things%20a%20bit%20differently%20than%20TCP%20and%20plain%20UDP.%20Learning%20the%20best%20way%20to%20leverage%20QUIC%20streams%20to%20your%20advantage%20will%20take%20some%20time%20and%20effort.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFinally%2C%20there%E2%80%99s%20the%20traffic%20shaping%20problem.%20Some%20networks%20and%20ISPs%20will%20prefer%20TCP%20traffic%20over%20UDP%2C%20and%20rightly%20so.%20TCP%20is%20currently%20the%20de%20facto%20transport%20protocol%20on%20the%20Internet.%20This%20can%2C%20however%2C%20cause%20problems%20with%20QUIC%20performance%20in%20the%20short%20term%20when%20certain%20network%20congestion%20conditions%20are%20reached.%20A%20heavily%20congested%20network%20may%20drop%20UDP%20traffic%20to%20pass%20TCP%20traffic.%20This%20will%20change%20as%20backbone%20networks%20become%20more%20aware%20of%20QUIC.%20In%20the%20short%20term%2C%20there%20might%20be%20performance%20issues%20during%20peak%20hours.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDoes%20this%20give%20you%20license%20to%20ignore%20QUIC%3F%20It%20shouldn%E2%80%99t.%20Microsoft%2C%20Apple%2C%20Google%2C%20Amazon%2C%20Facebook%2C%20Cloudflare%2C%20and%20%3CA%20title%3D%22IETF%20-%20QUIC%20in%20the%20Internet%20industry%22%20href%3D%22https%3A%2F%2Fwww.ietf.org%2Fblog%2Fquic-industry%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eother%20big%20tech%20companies%3C%2FA%3E%20are%20already%20using%20QUIC%20because%20of%20its%20advantages%20over%20TCP.%20The%20tech%20world%20is%20ready%20for%20a%20QUIC%20switch%2C%20so%20you%20should%20be%20thinking%20about%20it%2C%20too.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1535779220%22%20id%3D%22toc-hId--1535777484%22%20id%3D%22toc-hId--1535777484%22%20id%3D%22toc-hId--1535777484%22%20id%3D%22toc-hId--1535777484%22%20id%3D%22toc-hId--1535777484%22%3EMsQuic%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENo%20article%20would%20be%20complete%20without%20a%20small%20plug%20for%20your%20own%20product.%20Microsoft%E2%80%99s%20implementation%20of%20QUIC%20is%20called%20%3CA%20title%3D%22Github%20-%20MsQuic%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmsquic%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMsQuic%3C%2FA%3E.%20It%20is%20an%20open%20source%2C%20cross%20platform%20project%20available%20to%20the%20world.%20Windows%20and%20Linux%20are%20fully%20supported%20as%20of%20version%201.5.0%2C%20with%20MacOS%20currently%20in%20the%20alpha%20stage.%20There%20is%20support%20in%20MsQuic%20for%20the%20%3CA%20title%3D%22Windows%20Blog%20-%20Announcing%20Windows%20Server%20vNext%20Preview%20Build%2020201%22%20href%3D%22https%3A%2F%2Fblogs.windows.com%2Fwindows-insider%2F2020%2F08%2F26%2Fannouncing-windows-server-vnext-preview-build-20201%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EUDP%20offloading%20features%3C%2FA%3E%20announced%20for%20Windows%20Server%202022%2C%20which%20will%20be%20available%20in%20Windows%2011%2C%20as%20well.%20The%20UDP%20features%20do%20require%20a%20compatible%20network%20adapter.%20MsQuic%20%3CA%20title%3D%22Microsoft%20Networking%20Blog%20-%20Making%20MsQuic%20Blazing%20Fast%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fnetworking-blog%2Fmaking-msquic-blazing-fast%2Fba-p%2F2268963%22%20target%3D%22_blank%22%3Eperformance%3C%2FA%3E%20is%20pretty%20impressive%2C%20too.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20that%20helps%20you%20understand%20some%20of%20the%20pros%20and%20cons%20of%20QUIC%2C%20and%20why%20people%20are%20so%20excited%20about%20it.%20Keep%20an%20eye%20on%20the%20%3CA%20title%3D%22Microsoft%20Networking%20Blog%20on%20Tech%20Communities%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fnetworking-blog%2Fbg-p%2FNetworkingBlog%22%20target%3D%22_blank%22%3ENetworking%3C%2FA%3E%20and%20%3CA%20title%3D%22Storage%20at%20Microsoft%20Blog%20on%20Tech%20Communities%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fstorage-at-microsoft%2Fbg-p%2FFileCAB%22%20target%3D%22_blank%22%3EStorage%20at%20Microsoft%3C%2FA%3E%20Tech%20Communities%20for%20more%20content%20about%20QUIC%20and%20SMB%20over%20QUIC%20in%20the%20future.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2683367%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20a%20quick%20discussion%2C%20all%20puns%20intended%2C%20about%20why%20QUIC%20is%20important%20to%20the%20modern%20internet.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2684768%22%20slang%3D%22en-US%22%3ERe%3A%20What's%20QUIC%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2684768%22%20slang%3D%22en-US%22%3E%3CP%3EI%20worry%20about%20troubleshooting%2C%20a%20simple%20packet%20capture%20is%20out%20of%20the%20question.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2684903%22%20slang%3D%22en-US%22%3ERe%3A%20What's%20QUIC%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2684903%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F69480%22%20target%3D%22_blank%22%3E%40Teus%20Renes%3C%2FA%3E%26nbsp%3BYes%20and%20no.%20This%20wasn't%20meant%20to%20be%20a%20troubleshooting%20article%20so%20I%20didn't%20touch%20on%20that%20question%2C%20but%20it's%20a%20good%20one%20to%20ask.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYour%20concern%20has%20been%20voiced%20by%20just%20about%20everyone%20who%20troubleshoots%20network%20connections.%20There%20are%20projects%20underway%20to%20allow%20QUIC%20decryption%20on%20the%20client%20and%20server.%20Such%20as%20this%20one%20by%20Wireshark%2C%20which%20can%20decrypt%20QUIC%20on%20Chrome%2089%2B%20when%20an%20SSLKEYLOGFILE%20is%20setup%20on%20the%20OS%20and%20key%20logging%20is%20enabled%20in%20Chrome.%20This%20should%20carry%20over%20to%20other%20Chromium-based%20browsers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgitlab.com%2Fwireshark%2Fwireshark%2F-%2Fissues%2F17111%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgitlab.com%2Fwireshark%2Fwireshark%2F-%2Fissues%2F17111%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFirefox%20may%20support%20it%2C%20the%20SSLKEYLOGFILE%20file%20format%20is%20a%20Mozilla%20creation.%20I%20haven't%20seen%20documentation%20one%20way%20or%20the%20other%20involving%20QUIC%2C%20however.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMsQuic%20has%20SSLKEYLOGFILE%20support%2C%20as%20of%20v1.1%2C%20but%2C%20as%20I%20understand%20it%2C%20MsQuic%20requires%20the%20driver%20or%20application%20to%20enable%20and%20use%20it.%20Support%20for%20decryption%20is%20disabled%20by%20default.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmsquic%2Fblob%2F1fccd8e51cf28f450c64137feca43a98973d7f02%2Fdocs%2FRelease.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmsquic%2Fblob%2F1fccd8e51cf28f450c64137feca43a98973d7f02%2Fdocs%2FRelease.md%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdded%20(off%20by%20default)%20SSLKEYLOGFILE%20support.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EMsQuic%20logging%20is%20an%20okay%20substitute%20when%20decryption%20is%20not%20an%20option.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmsquic%2Fblob%2Fmain%2Fdocs%2FDiagnostics.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmsquic%2Fblob%2Fmain%2Fdocs%2FDiagnostics.md%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20%22no%22%20involves%20data%20on%20the%20wire%2C%20which%20cannot%20be%20decrypted.%20You%20must%20make%20a%20concerted%20effort%20on%20OS%20and%20application%20to%20enable%20QUIC%20TLS%20decryption.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Aug 25 2021 11:30 AM
Updated by:
www.000webhost.com