Session Date/Time: 18 Nov 2026 22:00
[00:00:07] Pratik: Oh, well.
[00:00:51] Dirk Kutscher: Okay. We are about to start in two minutes. Find your seats. Okay. Welcome. This is the open meeting of the Internet Research Task Force, IRTF Open. I'm Dirk Kutscher. I'm the IRTF chair. It's great to have you. Before we start, let me just remind you of our policies, so... Especially especially IPR policies. So we are largely following the rules of the ITF. So let us know in a short time if you contribute anything or you see anything IPR related. This meeting is recorded. Please be aware of it. And it's also live streamed. We have a couple of policies regarding code of conduct. So the ITF... ITF has code of conduct and anti harassment procedures. And here in the IRTF, we have our additional code of conduct that relates more to ethics and research. If you're not familiar with those, please look them up. And... Yeah. So we are using the usual MeetEcho queue management system here. That means if you're in the room, please join the meeting with with the on-site tool. And if you wanna ask questions, please also use the the queue system. And then finally, yeah, just a quick reminder because sometimes that leads to some confusion. So here in the IRTF, we are not setting standards for the Internet. We are doing research. So we are analyzing things. We may develop experiment... Experimental specifications, for example, or also enable experiments. But it's a different organization from from the ITF. We have 17 groups at the moment. So it's quite a large number. And 12 of those are meeting this week. And I'd just like to draw your attention to the newly proposed group on NMRG. So they had a meeting on Monday already. So the idea is to, you know, bring people, like, from that, you know, AI infrastructure committee to the the ITF, investigate Internet technology related research questions. And on Monday, so we're, like, three interesting talks. So just to get you an idea of the possible direction of that group. So on a collective communication library, an idea of Internet of k v caches, and then considerations about Internet of agents. So if you're interested in the... In that topic, please, know, find that group, join the mailing list, and also make proposals as to future topics and make contributions. So these new groups, they, of course, they are kind of dependent on good input from the community. So we want to do something useful. We want to engage, you know, the right people. So if you're working in this field, please consider contributing. As a heads up, we have a site meeting tomorrow at nine. So we have... So I've been discussing with, like, various people, academics, but not only about, you know, a new type of activity for the ITF on, let's say, education, training. So the idea is to find out what we can do better to bring next, you know, knowledge of, like, state of the art technologies. So in the ITF, but also in in research in the ITF to young researchers, students, you know, maybe hold something like workshops, summer schools, and so on, but also to produce, like, catalogs of useful material or experimentation facilities that could be useful to work with ITF technologies or Internet analysis better. So if you're interested in that or have any thought, yeah, please come tomorrow to the... To that meeting, Brian, and I will be sharing that. Yeah. Quick heads up. We we have generous support by Akamai, Comcast, Ethnic, and Netflix on a travel grant system. So the idea of that is that we bring people from underrepresented communities to our meetings.
[00:06:52] Dirk Kutscher: And so we we are doing this, like,
[00:06:56] Dirk Kutscher: at every meeting, and so it's can see people from different regions on the world, different gender distribution. So it's typically quite successful. There's a current call for applications for the spring ITF, ITF 120 in Kuala Lumpur. So if you're interested in that, please observe the deadline. So it's it's really soon. And as you might also know, we have a yearly workshop on applied networking research, a and w. So it typically takes place at the summer ETF. That would be ITF twenty... Hundred twenty nine in Berlin. The chairs this time will be Andra Lutu and Nitinder Mohan. Expect the corporate papers to come out in in January next year. Okay. And so one
[00:08:01] Dirk Kutscher: of
[00:08:01] Dirk Kutscher: the reasons we we are here is that we have the applied networking research price, ANRP, where we recognize the best recent results in applied networking. So it it works like... So people have published papers in, like, good venues that, you know, advance knowledge about, you know, the Internet, Internet technologies, new ideas that are relevant to our work here. And then you can nominate those papers for the ANRP. And so then at each meeting, we have, like, two prize winners that present their work. And so the deadline for next year is also coming up pretty soon. I just sent a reminder. I think it's in a couple of days. So if you still have good ideas for papers that should be considered for next year's I... ANRP, please do submit nominations very soon. So, yeah, this week, we made we made six awards from 70 nominations. We have a very helpful selection committee. Thank you very much. And, yeah, I'm really happy that today we have two really exciting talks. So I'm gonna introduce this because in a bit. So just as an overview, we have Mona Wang who will talk about measuring the security of proprietary network encryption in Android. And we have a project who works on reliable and decentralized certificate verification via DNS. Yeah. So that that time is November 23 for for next year. And in addition to these two talks, we also have an invited talk by Mark Handley, professor at UCL and at OpenAI. So he will talk about some recent ideas for network AI systems. And so with that, I'd like to introduce Mona Wang to you. So she is an incoming assistant professor of information security at Toronto beginning January next year at the Munk School of Global Affairs and Public Policy. And so she has a PhD in computer science from Princeton, where she worked at the Center for IT Policy, and she was also previously working with EFF, so the Electronic Frontier Foundation. And, well, if you want, you can come up. I bring up your slides. Just give me a second. And you can use this. Okay. The talk is about WireWatch.
[00:11:11] Mona Wang: Hello? Sorry. I'm short. Okay. Hi, everyone. I'm here to talk to you about before I talk to you about WireWatch, I just want to set the stage a little bit. I work a lot in network surveillance, network censorship, and so that's why I have this slide. This talk is not just about surveillance in China, just to get yourself out of that. You know, I'm Chinese. I know. But, like, it's not just about surveillance in China. And in fact, you know, this slide may have been very influential for a lot of you. This was from the. Right? And it's... It just kinda says it. It says, oh, the NSA has led an aggressive multipronged effort to break widely used Internet encryption technologies. And, you know, because of this slide... Okay. So sorry. Adversaries, anyone on your network, the guy who looks like this. So... But because of that slide, you know, TLS, this is why the IETF works so hard on encrypting the Internet, making sure the protocols that encrypt the Internet work, and are strong. Oh, yeah. Sorry. If you get nothing else from this talk, of course, it would be use TLS. Don't roll your own crypto, but I'm getting a little bit ahead of myself. Thanks to the work of lots of people here in this room and the broader security community, we we have HTTPS basically everywhere. You know, in 2015, it's maybe, what percent? I can't... Like, 30, 25% of page loads, and now we're up to 80, 90, or in the long tail, essentially. So, that's wonderful. But this project, this... The work that I've been taking a look at, what about mobile? Right? So mobile traffic surpasses web network traffic by something like two times globally. Don't quote me on that. There's a widespread assumption in the security community that the TLS trends on web do transfer to mobile, but this is precisely the research question I wanted to analyze. And so I would like to start you guys on this iceberg journey with me. So the first thing I realized is that, oh, this extremely popular application with over 1,500,000,000 monthly active users is not using TLS. Can anybody guess which application this is? This is gonna be, like, one of the most popular applications in the world. No. It's it's a it's a phone application. No. No. It doesn't use TLS like it uses something else. No. Think think China this time, actually. Sorry. WeChat. There we go. It's WeChat. Okay. Yeah. WeChat is not using TLS. And so this was the origin of this journey. I'm not gonna talk about this that much, but one day... I use WeChat. One day, I looked at my own network traffic, and I was like, what what is this? And I I trembled in fear. Yeah. I won't get too much into this. I did do some research on this, but this isn't the primary purpose of this talk. It's like a custom network encryption protocol, and they actually cite the TLS 1.3 spec extensively in this public documentation they have about this protocol. You know, it's responsible for encrypting over 1,000,000,000 users' network traffic. People are sending payments. They're doing, like, ad impressions, social networking over MMTLS. And, yeah, there was, like, only one document published by Tencent about it. Okay. So that's that's a little bit weird. I'm gonna skip through the next few slides in the interest of time. Yeah. This is about WeChat's network encryption. Okay. So that was weird. And then we thought, oh, I wonder if any of these other extremely popular applications are not using TLS. And so the next thing we looked at was Chinese keyboards. So let me tell you a little bit about Chinese keyboards. Third party keyboards on Chinese mobile devices are extremely popular. These are called IMEs or input method editors. This is, these are numbers that are a little bit outdated, but I'm sure they're similar. Essentially, they have hundreds of millions of monthly active users. And when you buy a phone in China, often they have these third party keyboards preinstalled on them. So, that's why we also have a market share of phone manufacturers. What... Just a quick update on why, you know, there are so many third party Chinese keyboards. Of course, this is what typing Chinese looks like. It... No. It doesn't look like that. Instead, we actually need to fit all of those characters of Chinese on a, you know, a normal QWERTY keyboard. If you've used one of these, which I I actually have... I don't know. I know I don't look at. If you use use one of these, it's kind of the equivalent of an input, like a software keyboard. Right? You have to somehow map 26 alphabetical letters onto this, you know, 12 button screen. So there's, like, some algorithms for it. Similarly, when you map, like, thousands of Chinese characters onto a smaller keyboard, you need some software that does this. In order to do this, cloud based prediction has been a large thing in the Chinese software keyboard marketplace for a very long time. Right? So we want algorithms on the keyboards that can predict what we want to type, you know, etcetera, etcetera. These algorithms for predicting what you want to type were so valuable that actually Google was sued in, like, 2000... I don't remember, 2007, for stealing Sogou's proprietary dictionary and prediction algorithm. So these prediction algorithms are really important to typing Chinese very quickly, and now they're all over the cloud. I'm to skip the next two slides, I think. Yeah. Okay. So Mona, you ask, oh, if these keyboards are just sending my keystrokes to the cloud for prediction, doesn't that make them keyloggers? And, yes, they are keyloggers. I'm not talking about how these are keyloggers. Actually, it's about something way worse, which is not only are they sending your keystrokes over the Internet, but they're also doing so insecurely. So when we took a look at the protocols these keyboards were looking at, we took a look at the three most popular, keyboard manufacturers... Software keyboard developers, in China, we basically found some issue in, like, all of them on at least one platform. I'm gonna show you what some of these look like. I'm gonna skip this for now because it's big. So here is, you know, just like a Wireshark screenshot from Sogo IME. And so I don't... I can't really... Can I point? Oh, yeah. I can. Okay. So you can kinda see here, there's just, like, a bunch of base 64. It's an HTTP post request. You have all these form items. One is called p k. One is called v u g... Like, what what are these? And so let me tell you what they are. The k is an AES key, encrypted with a public RSA key. V is an IV encrypted with an RSA key, then all encoded in base 64. Ultimately, what they... We have here is just RSA bootstrapped AES, and it was susceptible to just a variant of a CBC padding oracle attack. It's just a classic cryptography attack you learn in cryptography 01/2001 from, like, the nineties. So that... That's not good. And here was, like, a decrypted payload. You can see, we typed Nihao. Nihao, can you read this? I'll give you another example of one of these protocols. So here, this time, it's not base 64 encoded. We just had a payload here. I think it was, like, 64 byte aligned or something like that. And it was just on... Just raw bytes in the... Also a post body. And the issue with this one was this is how they were generating the key... The encryption key. Yeah. So, yeah, get nanoseconds divided by, like, a million. So then that... I think that's, like, milliseconds. And then you... Key seed, and then you do some magic. I don't know. But, ultimately, all you need is the key seed. Yeah. So if you know what time it is, you can decrypt the text. I'm just gonna skip these. They're they're just bad. I don't wanna talk. This one was just, like, not encrypted. Sorry. Okay. Here's a summary summary table. We have all of these issues. They're all rolling their own cryptography. Some bespoke network protocol, often over HTTP posts, sometimes over UDP, all doing different crazy things. Also, some of them, like, added AES rounds. Some of them deleted AES rounds. I don't really know. Yeah. Custom counter modes. It's really like the wild, wild west. After our disclosures, we got a lot of them to fix the issues, but many of them did not. They were, like, not fixed or were not maintaining this software anymore, which is terrible because they were default keyboards that were installed on phone, like many, many phones. So this was terrifying. And... Okay. So now I'll get to the actual project that we worked on when we realized this was a larger prod... Like, larger issue than we had originally realized. Right? So if it's 27, like, of the most popular software keyboards in China, I wonder, you know, what about all the mobile apps in the world? Has anyone even looked at this? Why are we finding these kinds of bugs in, like, 2023? 2023 is when I did this research. And so we wanted to ask these research questions. Right? How common is proprietary encryption as compared to TLS? And, you know, how secure are these proprietary protocols? So, yeah, so we built a pipeline. We scraped a bunch of popular applications and essentially created a framework that would install the application, automatically interact with the app. When we did this project, you know, we just had it, like, Android monkey tap on the screen, and now we can do something fun with LLMs where they, like, try to explore different paths of the application. But the... Ultimately, the purpose is to generate network traffic. Then once we generate the network traffic, we can isolate all non TLS, nonstandard, encryption traffic, identify proprietary encryption, and cluster protocols that we see. So let's talk about these last two steps because I think they're more interesting. So how do we identify a proprietary encryption? So first, you know, it doesn't conform to existing standardized encryption like TLS, QuickTLS. Also, it looks like encryption or it looks like random data. So for instance, the encrypted data itself might differ, and then there might be... Oh, sorry. This is something different. Sorry. This is the next step, which is how do we cluster similar looking encryption? So the encrypted data on the wire might be different, but usually either... Like, the encoding of the data. You know, for instance, we saw protocols using base 64. Sometimes the protocols would use hex encoding, or it would just be raw bytes on the wire. The encoding of that data might differ, and there was often header or footer data and containing similar constants. And so we would extract essentially all this metadata for each of these protocols and use those as features in a very simple clustering algorithm. Yeah. And then we evaluated it manually, which by... What that means is I, like, looked at a 100 of these apps manually and basically looked at the accuracy of our pipeline in identifying proprietary encryption and also in protocol clustering. So it was good enough for this scale, so, like, you know, 95 ish percent. So we went ahead, with the results. So we took a look at two datasets. The first we looked at was the Google Play Store, which, you know, not amazing, but, you know, 12.9%, that's like 80 something percent of apps fully... Where we saw fully encrypted traffic that kind of tracks with the number on web. Right? And then we saw, like, a few apps also using proprietary cryptography. That's maybe to be expected. There's, like, lots of apps out there. But on the Xiaomi store, it was a completely different story. Also, these these results were from 2024, by the way. I have updated numbers later. So on the Xiaomi store, it was, like, something like twothree of the top 1,000 apps sending plain text traffic and then half of the top 1,000 apps using proprietary cryptography. Oh, the other thing I would note, this might be interesting to you all. Also, just like this is another paper that was concurrently published that I would highly recommend reading. TLS was not validated for half of these applications that were sending TLS requests. So essentially, you could man in the middle those TLS requests. On the Google Play Store, this number was only 2%. So that's another strange thing that's going on in the Chinese application ecosystem. Okay. So we've answered the first research question. Right? Proprietary encryption, surprisingly popular. Next, how secure are these protocols? Alright. So from the original results, we had a 177 protocol clusters. You know? Then we sorted them by popularity, essentially just some cumulative sum of downloads of all the apps using that protocol, and then reverse engineered the top 18 protocols. This was pre AI, I would just say. It took a lot of work. And then... Yeah. So in total, we manually reverse engineered nine of these protocol families. We grouped together protocols that seem to be, you know, different versions of each other or were using similar cryptographic constructions. Can you guess how many contained severe vulnerabilities where we broke the encryption?
[00:26:01] Dirk Kutscher: Eight. Eight.
[00:26:03] Mona Wang: I wish. Oh, it was only eight. Yeah. It's... The other one was was MMTLS, actually, which I talked about at the beginning. Yeah. I'm gonna... Just in the interest of time, I'll look at... Let's... I think we're gonna look at the two browsing data ones, because those are more interesting. So we... Two of those protocols were being used to protect browsing data. What does that mean? Well, they were used in browsers for analytics. And so these are the two affected browsers, and the data leaked from this insecure cryptography basically just includes the pages of every URL you visited in the browser. So... Okay. I won't get too much into this, but ultimately, one of these was just extremely, extremely obfuscated, using some proprietary, I don't know, obfuscation from Alibaba. But the result was like... Okay. Sorry. I thought we don't need to get into this. Okay. It loads static encryption keys from a file from a JPEG in in the APK. Yeah. It's like after all of that, that's what was happening. And, actually, I wish I had just, like, done a little bit more often or, like, googling beforehand because it's actually just in the documentation for this, proprietary encryption scheme. Right? It just says, it just doesn't. It would have saved you a lot of work. Anyways, so that's... That was that one. The other one was a little bit more sophisticated, and I can get into it if you're curious, but I think I will also just skip past this. Essentially, two vulnerabilities. One was just the standard CBC padding oracle, and then all... And the the other one was there was, like, a different mode of encryption it could sometimes use. And then, in that one, they didn't do padding for RSA, which, again, we've known since the nineties that you should do padding for RSA properly. Yeah. And so I'm gonna skip it, but it... It's fun. Okay. But, yeah, these are used by browsers. It's, like the full URL of each page visited in the browser, including device metadata, network metadata, just a bunch of telemetry that's highly sensitive. Overall, basic critical flaws, including, you know, static key use, symmetric cryptography was the most common one, honestly, relying entirely on code obfuscation. We have a bunch of other things using RSA without proper padding, padding oracles, not validating TLS certificates. Yeah. There was one where they ran ran untrusted code. None of these even tried to provide cryptographic integrity or authenticity except for MMTLS, which, you know, was kind of just forking TLS 1.3. So... Yeah. So for some reason, this message of not rolling your own crypto has somehow been lost in translation. This is still a systemic problem. This is a measurement from last year. I reran this measurement, I think, like, a few days ago as well, and it's still about... I think it's, like, 4530%. So it's getting better, but not at the rate I would have liked. Yeah. There's still hundreds of protocols in use. We still have, like, outstanding vulnerability disclosures with very popular applications that I can't tell you about. This is still a huge problem. And so often, the first question I get when I tell people about this is, like, are these back doors? And the answer, I think, is no because they're more like front doors. But to be to be completely clear, right, there's no selective access, which is what you would want from a backdoor. It should not be a front door. You know, the companies that did end up responding to us fixed things very, very quickly. They took these issues very seriously. CNCertTC, which is an org... The organization that actually runs the Great Firewall and does other national security things, is also actively interested in improving transport security. They write white papers on how banks aren't using enough TLS. Again, also, the data is within the Chinese jurisdiction already, so, you know, I don't know that it would make sense for them to open the door to everyone, just so that they can get data they cannot already have access to. And then finally, similar vulnerabilities were actively exploited by the five eyes to surveil Chinese users abroad. So this was, if you guys remember, XKeyscore, which is like the NSA database that Snowden... The Snowden leaks talked a lot about. And so there was explicitly an XKeyScore plug in exploiting one of those browsers I just talked about, you know, in order to, exploiting, like, privacy leaks in that browser in order to surveil, Chinese people, in their databases. So, yeah, if I were the Chinese government, I would not want to enable this kind of, mass surveillance. So if that... If it's not a backdoor, why is this happening? I actually think this is a good forum to talk about this, and I'm really glad that I I got to present this with the folks at the IETF. Many of these applications became massively popular around the twenty tens before TLS was the de facto standard. So maybe that plus inertia, question mark. There's also a culture of anti scraping and competition within the Chinese marketplace. You know? So maybe we're... What we're actually looking at is obfuscation and not security. So we're mistaking. We're like, oh, these things are insecure. But, actually, what we want, well, yeah, what the companies wanted is not security. They just wanted it so that someone else couldn't scrape, you know, their services or something. Finally, you know, from talking to engineers, they're like, oh, yeah. We know it's bad, but, like, I'm working nine nine six or zero zero seven, so I don't have time to care about this or, like, raise these issues with my boss. So, yeah, the working culture. And then question mark... I don't know if maybe you guys have ideas. So how do we fix it? This is just purely from my own perspective, and I... You know, this is what I've been doing. I've been trying to find the problem. So, it's kind of crazy that I was able to find these kinds of issues, you know, in the twenty twenties, honestly. I think security researchers should be paying a lot more attention to these massively popular but understudied applications. You know, I think the Google Play Store is a popular dataset for study... For academic study, but there's lots of other application stores that people use primarily because Google Play is blocked in lots of... In some jurisdictions. You know, any researcher that looked at their traffic in Wireshark would know that there's a problem. You know, I just happened to be looking at my own traffic when I saw the WeChat traffic. Of course, reporting the problems, many of these companies did, switch to TLS when we reported these vulnerabilities. Some did not. I think it's important to open up more channels of engagement with lots of companies across the world and put pressure on them to design better and more secure software. Prevent future problems. I don't know. Maybe this is also an ITF question. How do we spread the message of don't roll your own crypto? What what was lost, in sort of this transfer of knowledge of protocol... Secure protocol design from this, you know, this venue to, like, application developers in China? Okay. That's it. Thank you, everyone.
[00:34:04] Dirk Kutscher: Okay. Thank you, Muna. And we do have time for questions, so please use the queue system.
[00:34:18] Speaker 4: Hi. Yeah. Thank you. Great talk. I I seem to remember something like this being published prior to 2020, but, yeah, now that TLS is all out there. One thing to consider is for TLS connection to be able to trust the certificate. And in some cases, in China, you have to prove certain things about your business and, you know, show a physical card in order to get a certificate. So that might be one of the reasons. And TLS without, like, a publicly issued certificate, you need to set up your own PKI. Is that something that you you saw people do?
[00:34:53] Mona Wang: Yeah. So there is a push for sovereign CAs, I think, in China and also in other places where they're like, oh, we have CAs, but they're Chinese, etcetera. I think this was more of an issue possibly back in twenty tens... Early twenty tens before, you know, the CA ecosystem was what it is today and more standardized. Like, if I were a, a Chinese app developer and and I wanted to secure my traffic back then and I I looked at the sort of mess of what the CA ecosystem was in 2010, I'm like, oh, you mean, like, anybody anybody can be a CA? Or, like, how do we know who's trusting who, etcetera? I might have opted to, like, design... Yeah. Do my own PKI or... So the PKI here in these apps are mostly pinned public keys, pinned, pinned RSA keys. Even in the TLS cases, pinned certificates and things like that. But many of times, even if they pin the certificates, they don't validate. Yeah. I don't I don't know what's going on.
[00:35:58] Speaker 4: It's crazy.
[00:35:59] Mona Wang: Yeah. I just
[00:36:04] Dirk Kutscher: Yep. Usama?
[00:36:06] Usama: Yeah. Usama, do you trust him? Thanks. Do you hear me?
[00:36:11] Mona Wang: Yes.
[00:36:13] Usama: Okay. So did you did you get to know some details of the MMTLS? You mentioned that there was a... If I understand correctly, you mentioned that there was a mention of... Or a reference to the TLS 1.3 specs in the MMTLS, but I didn't really get that what was the, first of all, was there any specification that was available to you for MMTLS MMTLS? And secondly, did you actually figure out what were the differences between MMTLS and TLS, specifically talking about TLS? I don't think that. What I understood from you is that they are not validating the certificates. That in... That's that's insufficient to say that it's insecure. I mean, TLS 1.3 RFC nine eight four six allows you to do the PSK based handshakes. That's that's not validating the certificates. Right? So Yes. I mean, there are some possibilities within TLS 1.3 not to validate the certificates. So I was wondering what exactly was... Did you did you happen to figure out the tool that you mentioned, like, Wireshark or whatever? Like, did you actually get to explore the real problems in that MMTLS, or can you share a bit more about that?
[00:37:26] Mona Wang: Yeah. Actually, so I I have a link to a paper that we wrote about about this and also a a company blog post. But I can summarize here. It's like, TLS 1.3, but the transport, again, is HTTP post requests. And so then the body... It's like the body is like TLS 1.3. Like, they use a lot of the same terminology, like records, the different types of records, extensions, etcetera. But then they only enable... Like, because they're pinning certificates and they're pinning... Like, they control both the client and the server. They only allow, like, two different Cypher suites to be negotiated, and those were the two Cypher suites ever supported by WeChat. They they cut out a lot of the stuff that, you know, that TLS needs to be interoperable by, like, many thousands, millions of different types of server stacks, but otherwise, really keep all of the terminology, including, like like, handshake record... Records, etcetera. And on the wire, it's basically the same. The main difference is because because the transport is HTTP post requests, right, you can only have one. It's not like a long lived connection. A post request is a single request and a single response, which means that you have to use a TLS session resumption for every single message that you send over the MMTLS over post, if if that makes sense. Because, like, in order... Yeah. Because there's only one request response.
[00:39:05] Dirk Kutscher: Okay. Dave.
[00:39:06] Dave Blankenbeckler: Hi, Mona. I'm Dave Blankenbeckler. I I thought it was particularly interesting that you gave us an explanation, I think, that some of these proprietary protocols, you found that they might have been used because they were initiate... Or, introduced before TLS was standard or before the push to encrypt everything was standard. That seems compelling. Beef... Before you said that, I thought... I wanted to ask her, do you think this is a digital sovereignty issue? Did you find any evidence of talking with the Chinese developers that they were fond of having control with... Within their their nation's boundaries
[00:39:41] Mark Handley: Yeah.
[00:39:41] Dave Blankenbeckler: Especially when you found, for instance, that other nation states could compromise their protocols, and that compelled them to change. Yeah. Maybe the forward looking thing is do you see a concern, or is the IETF doing good about the digital sovereignty issue with the way we encrypt things?
[00:39:55] Mona Wang: Yeah. I think that's actually... That's a great question. So if you also rewind back to, you know, 2013, there's also, like, the dual e c I'm sorry. I forgot. The EC... Maybe someone... Yeah. Yeah. There we go. Yeah. Yeah. I need someone to know it. And, you know, if I was a Chinese, though, I'd be like, oh, I don't wanna use any of those standards that might be backdoored by the NSA. Also a very reasonable concern. I know there has been push... A push for sovereign cipher suites, like, essentially, versions of AES, like SM, Ghost. Interestingly enough, in this dataset, I think I only... In a follow-up work, we only observed SM Cypher suites being used twice. And then these were, like... I think this was from, like, 2,000 applications that we ended up looking at. So I think even though there is a push for this, I don't know that this is a super... I don't know that this is the result of the desire for sovereign cryptography. There's also... In China, I believe, cryptography development was only liberalized, like, completely liberalized in awe in, like, 2020 or something, during the blockchain craze. And before that, it was kind of like, people are like, can we develop cryptography? You know, is it is it technically legal, or is it something that's, like, not, you know, not officially allowed? And so I think there was, like, more of a concern for that maybe with with developers prior to the liberalization of cryptography development. Yeah. Yeah.
[00:41:43] Joel Jaeggli: Joel? Hi there. Hope you can hear me okay?
[00:41:47] Dirk Kutscher: Yep. We can now.
[00:41:49] Joel Jaeggli: It's interesting talk. And I think your question, your comments about sovereign crypto standards is well made. I remember there was a discussion along those lines in SAG at the meeting in Shenzhen earlier this year, and there was somebody from China, I forget the name, that was met... Talked about a commercial forum in China that's been used to advance Chinese standards and actually shut them through ISO IEC from a point of trying to get them standardized. So I wonder if that may also be just something that's worth bearing in mind as we discuss this issue.
[00:42:27] Mona Wang: Yeah. I I don't know too much about other sovereign cryptography pushes other than the SM cipher suites. So I can't say much to that. Yeah. But I I I... It would be interesting to think about.
[00:42:46] Dirk Kutscher: So I had a question. So, I mean, you studied transport security here. So on these mobile pet pumps, of course, that's only one threat surface. Right? So, I mean, there can be other problems. You also start looking in... Into, like, the software architectural problems of these apps.
[00:43:06] Mona Wang: Mean, I I do... It is true. I feel like after we solve this issue of encrypting the Internet, we still have the issue. You know, for instance, those key loggers, they're still key loggers. It's just that, your keystrokes are no longer readable by everybody on the network. So this is definitely... This work is definitely just a low low bar for security, and I believe we have a lot further to climb to get anywhere within, like, a realm of acceptability for using these applications safely and securely. I haven't looked at software architecture in particular, but I think leveraging this infrastructure, I would take a look... I would like to I would like to be take a look at auditing the privacy practices. Right? Taking a look at the information that's actually sent by these protocols, etcetera. I don't know that there has been that much study, like, privacy study in this particular ecosystem either. Yeah.
[00:44:07] Dirk Kutscher: Okay. Thank you. Ben.
[00:44:09] Ben Schwartz: Hi. Ben Schwartz. There are a number of different kinds of entities out there that try to do security analysis automatically of network protocols. I'm thinking of things like firewalls that are in corporate offices and even the scanning programs operated by places like the Google Play Store, which, as I recall, requires an explicit opt in to support unencrypted traffic. Yeah. I wonder if you would offer any recommendations to people who are in that kind of position. Should... Would it be worthwhile to try to fingerprint for these protocols and and raise a warning when you see somebody using, you know, byte streams that look very much like a vulnerable app?
[00:45:03] Mona Wang: I I can't say because I've never worked in this position before. I do think the vast majority of these protocols use this weird HTTP post type transport, and I... That's very fingerprintable. I imagine it is also to avoid middle box tampering. So, like, there... We did observe some UDP based, like, bespoke cryptography, But, yeah, the vast majority of them were within HDP or, like, some other transfer, I believe, again, to avoid middle box tampering. So I... That would be a strong, I I suppose, fingerprint for these kinds of protocols.
[00:45:47] Ben Schwartz: Thank you.
[00:45:48] Mona Wang: Yeah.
[00:45:53] Martin Thompson: Martin Thompson. One of the scariest phrases in the English language is, we're here. I'm I'm from the network, I'm here to help. So anything along the lines of what Ben suggested is something quite disturbing. I was wondering... You mentioned briefly just now and before I got in... After I got in line, but you you talked about analyzing the applications at a higher level than just the transport. I... I'd I'd encourage you to continue that work because fixing the transport isn't gonna fix those applications. Those applications are way more broken if this is the attitude they take toward transport security. Transport security is an easy one to fix, and there are many other problems, obviously, when when you have applications that are that are operating this way. So please keep up the good work.
[00:46:42] Mona Wang: Yeah. I appreciate it. Thanks.
[00:46:44] Dirk Kutscher: Okay. On that happy note, let's thank Mona once again.
[00:46:51] Pratik: Thank you. Oh, wow. Thank you. Congratulations.
[00:46:56] Mona Wang: Thank you.
[00:46:57] Dirk Kutscher: And and we take photos later if you want.
[00:46:59] Mona Wang: Oh, okay. Okay. Okay.
[00:47:00] Dirk Kutscher: Thank you. Pradek, you can come up. Just a second. Yeah. I need to do configure. And, also, I'm... Okay. So the next a and a p award winner is Protech. And so Protech has a master of science in computer science from Virginia Tech and a bachelor in computer science and engineering from Bangladesh University of Engineering and Technology. And his research interests include Internet security, DNS, public key infrastructure, and Internet measurements. And so he has published in SICOM, IMC, and PAM. And he's currently a soft engineer at Meta focusing on network infrastructure, and I'm excited to hear about Ref DNS.
[00:48:12] Pratik: Hello. Thank you, Doug, for the excellent introduction. Hi, Bruno. I'm Pratik. Today, I'm gonna talk about our work on reliable and decentralized certificate revocation by DNS, the case for RevDNS. This paper was accepted last year in the SIGCOMM, and it was done in collaboration with Dave Levin from University of Maryland and Taejoong Chung from Virginia Tech, who was my supervisor during my masters. So over the next, like, twenty or thirty minutes, I'll mainly talk about certificate revocation, in particular, once particular protocol OCSP, and the different issues inherent to OCSP, and how quietly it becomes centralized and dependent on CDNs. And then we'll propose our scheme, RevDNS, where we kind of propose that we could probably use DNS and DNSSEC in a better way, in a more efficient way to, you know, propagate this certificate revocation information. Alright. We'll we'll go straight to the problem, like, give a small simulation. We all know web certificates are issued by certificate authorities. It usually have a lifetime... Sorry. Yeah. So after months or years, it will expire. And during that time, well, the end clients, like, the browsers will trust it. Great. The issue is a lot of things can happen. For example, the private key can get leaked, exposed, and this kind of things happens quite often. Like, for example, back in 2014, there was a event called hard lead where a lot of c... Signing certificates were exposed. So now that Aggregor has your keys, so, I mean, it can impersonate your website. So the certificate authority got to do something. Right? So the process it... The the way it works is that the certificate authority revokes the certificate when it comes to know of that event. Basically, it just stamps and says that, okay. This certificate is not valid anymore. The problem is this is only part of the solution. I mean, it... The CS saying the certificate is invalid won't matter if all the end clients, like the browsers who gonna trust that certificate doesn't know about this information in time. So the question is how that information can go quickly to the... All the clients quickly on a efficient manner. Right? So I'll give a very small simulation of TLS handshake and where that revocation checking takes place. I'll mainly focus on one protocol called OCSP, which is a pretty common protocol for checking scientific revocation. So it's very simple. Right? The browser starts a connection with the web server. It sends a hello, and the web server sends back the hello with the certificate. So the browser now needs to decide that whether or not to trust that certificate. So there is a lot of process involved here. One of the things that the, you know, the browser needs to decide whether that certificate is still valid, like, it is revoked or not. So the way OCSP works is that, I mean, there is embedded OCSP URL in the in the certificate. So the browser finds it out. It it resolves the DNS, and then after it gets the DNS information over playing ECDP, it asks the responder, which is, you know, maintained by the CA, tell me if the certificate is revoked or not. And it'll it'll tell you whether it's good or not. It's... And it also comes with a signature so the browser can, you know, then understand, okay. I can go ahead. Then it finishes the handshake, and then the, you know, application data starts and the page loading starts. So I think some of you already have guessed there's some inherent issues with this design. First of all, it could be slow. Like, if those experience one responder is not that great, then it underperforms. It's low. Then it'll it'll have a penalty on the TLS hand check because the certificate... The browser waits until that. Second, it leaks your browsing information to the CA, right, because you're directly acquiring the certificate authority, giving the serial number. Finally, which is the most important one, at least at this time when the paper was published, OCSP protocol was implemented in the browsers in a fail open design. I mean, basically, the browsers would just soft fail if the response doesn't come because OCSP is also kind of unreliable. So if there's, for example, a timeout happens and the browser doesn't get a response, it'll just go ahead and load the page as it is. So think of it. Like, the whole idea of, you know, OCSP is, you know, upholding the PKI security. The moment the OCSP responder goes rogue, goes under performance, that security is kind of out of the window because the browser will go ahead and load the page without, you know, proper OCSP respond at all. So I think I'm kind of hinting towards that OCSP might not be that great, so I'll give some actual measurement results from our paper. The first one, as we hinted that OCSP can actually, put some delay to handshakes, We we actually found out in our measurements that that's true. So what we did is that we instrumented Firefox, and we loaded trunk or top thousand... 100 k websites from five different, you know, AWS regions. We captured the traffic, so we had insights into, like, what is happening, the different events of the handshake and timestamps. So what we found out is that if the OCSP responder doesn't use a CDN, for a 92% of the cases, the OCSP request actually put some penalty to the TLS to some extent. And, also, kind of intuitively, if it's behind the CDN, it's faster, but still around 42% of the cases, it put some penalty to the TLS handshake. So... Which isn't really great because it kind of has a bad impact on the user experience. God, it stalls the page load. Right? Secondly, we also gathered some available data from the Firefox nightly telemetry, and we we had a three year snapshot from October 2021 to October 2024. We found that the number of requests, or six requests that failed in that period rose from 7.8% to 13%. And, interestingly, among those failures, 12% were timeouts. So I wanted to stress this timeout differently because these timeouts are kind of the worst kind of failures. Remember, like, the browser doesn't start page loading until it gets a proper OSP response. Right? So think of the o s s... The TLS uncheck is just stalled for that time out amount. At that point, Firefox had a one second time out for OSP request, so... Which is a pretty big number if you think of, like, you know, end user experience. The browser will ultimately, you know, give up and load the page, but it... It's not really a great thing. Alright. So then we tried to understand that, okay. Who is actually running this OSP infra for all the CDNs? So we we we actually scanned the public CD logs, and we took a snapshot in January 2025. There was, like, more than 1,000,000,000 certificates we collected, and we mapped all the certificates to one sixty nine distinct OCSP responders. And as you see in this slide that we found that a staggering one weight out of one sixty nine, that means almost two out of three OSP responders, the CS were actually using a CDN. So the CS were actually sitting behind the CDN to serve the OSP responses, most likely just for the responses to be fast so user has a better experience. But this number doesn't give the, you know, the actual idea because our CSP responder can either serve, like, a few thousand certificates or it can maybe serve millions of certificates. So we actually group them by the CDNs, and then kind of the picture is a bit different. What you see here that Akamai, which, you know, runs... Ran 33 responders at that point, actually was responsible for OCSP responses for more than 62% of, you know, all the certificates we collected at the period. Then there is a tale of the other CDNs. So one thing that we found is that the CAs don't put their bets on different CDNs. Like, for example, Let's Encrypt, GoDaddy, and Sectigo all used Akamai during a paper was published. So think about it. Like, Akamai was responsible for OCSP responses for 60% of the certificates out in the wild. So let's say it's a... There is a misconfiguration. There's a outage of Akamai. All those responders will go down and it... Yeah. Basically, 60% of the certificates OCSP protocol will be dysfunctional. So it's kind of very centralized, and it's also very dependent on some very few CDNs, which isn't really a good thing. So we all... Then we try to understand how these CDNs were employed. Like, Is it just because the CAs wanted them as a reverse proxy or there was some interesting thing going on? There are some other patterns. We can't look into the policy of the CDNs and CAs, but we had some measurement studies. What we did is that we collected the responders and we sent subsequent OCSP requests, and we had three variants here. In one variant, we we sent the same certificate serial number again and again. The assumption is if it's just a reverse proxy and cache, the first response time might be high, but it'll get cached pretty soon. And the subsequent... All the responses will come very fast. Then we had another experiment where we included a nonce. The assumption is in the request, if you have a nonce, the signed response should also come back with a nonce. That means, in that case, a cache only entity can't really respond to a request. It has to be handled by a certificate authority. Finally, we also had a experiment where we just sent, you know, pseudo random nonexistence serial numbers. The assumption was these responses can only be answered by the CA itself or somebody who already knows about all this revocation information. So I'll tell you what kind of patterns we saw. The first one was the most common one, which is the reverse proxy case, which we... You know, CDNs are usually used for. So as you see the black line where we just send the same serial login, the response time was high at the first request, and then it quickly dropped. Other two kept at the, you know, kind of same response time. So it's reverse proxy, and LessEncrypt was one example which was using Akamai. Second one was interesting, and we only saw this for Cloudflare. Every response were very fast, and all the three lines, you know, kind of collided. Also, interestingly, when we sent a nonce, it didn't honor that nonce, meaning it just responded back discarding that nonce. That means we we didn't find any evidence that the CDN was signing the response. And, actually, we found out after a blog by Cloudflare that they actually prefetch all the revocation information from the c d... Certificate authority. That's why they have all this information, and they can respond so fast. Final one is this pattern. We only saw this for two different CAs. One is actalis.com, and the other is wisekey. Their... All the response times were pretty high, and they kind of kept in the same band. And, also, they honored the nonce. That means they actually signed back the nonce that we sent. So that means the signing was going on in that, you know, that entity, which basically just used Amazon EC two servers there, which isn't really great because they were basically keeping their private keys in a third party infra. The good thing is we only see this for only two cases. Most of them were... As we assume that first was using the, you know, CDNs as cache in reverse proxy. So, basically, just using CDNs to serve OSP responses faster. That's what the CS needed from the CDNs, and we'll come back why it's important for our scheme afterwards. So back to the handshake waterfall model we we we showed earlier, we kind of dissected how the CSP request looks like. And if we break it down between the DNS and the actual HTTP fetch, it it was pretty intuitive that the DNS was extremely fast. Like, regardless of whether it was in a CDN or not, 80... Under eight... More than 855% of the case was under eighteen millisecond, which was pretty fast. So we got the idea, like, okay. DNS is pretty fast. It's giving you the caching mechanism. So why not... We can't, you know, use DNS rather than using HTTP to, you know, convey the same result in efficient way. So that was kind of the whole idea of our scheme. So now we'll talk about RevDNS, which basically is what our paper proposes. So we kind of thought that, okay. Let's let's rethink. Let's... I mean, let's think how DNS can be, you know, used here to use the same caching mechanism because DNS is already available. It gives you the ready met, you know, distributed caching architecture. So we we try to make a scheme that leverages DNS. So we'll we'll we'll talk about it now. Before going to the details, one thing I want to point out, and this is one of the straw... You know, structural clues that drive serve paper. Certificate revocation... I mean, if you look at the whole dataset, only very few number of certificates are ever revoked. What do I mean is that although the number of certificates is very huge, the actual, you know, useful part that's useful for us, the rogue part is very small. Like, for example, if you look at Let's Encrypt, which which had more than 612,000,000 issued certificate at that point, it has less than, like... It had around 655 k revoke certificate. For Microsoft, the example is even more interesting. For... It it carried, like, 78,000,000 certificates, but only, like, around one k was revoked. What I'm trying to say here is that the the information that's valuable to us, that's a very tiny dataset. But all CSP or other schemes, they they serve information for all, like the request, the round trips, everything is same for whether it's revoked or not. So we we try to think that can we publish only that useful part and still give a kind of a verifiable way to, you know, verify all the other certificates? That's like the whole idea of RevDNS. So our idea is that we we will use DNSSEC. So this this... The way RevDNS will work is that we we... All the certificate authorities will have a dedicated subdomain where they'll publish all the revoked certificate serial numbers. For example, as you see, for example, if it's example cert dot com, in our scheme, it it will have a subdomain like ocsp.example.com. And in that zone file, it will only include the certificates that got revoked. And we we propose a text record because it's simple, and it'll it'll have a very simple payload. Like, it is revoked and maybe a time stamp. Interesting part is that we don't need to include any signature here. OCSD responses were quite big because they carried signatures. But here, DNSSEC will take care of, you know, the verification through signatures. We don't need to include any signature in the payload. That... That's one thing. I won't go into a lot of details on the DNSSEC. This room probably knows better than me. Just a quick run through with the format of our, you know, our record. With DNSSEC, like, for example, if you ask for a certain entry, in our case, like, 2312.ocsp.example.com, it'll come back with the text record, but it'll also give you a RRC. A signature will come back with this. So a DNSSEC validating resolver can actually validate that record. It it works pretty much same like the WebPK with definitely some distinctions, but I guess same. The validating resolver can validate up until the root or trust anchor. So the, you know, the main story is that if the response comes, a forced or altered answer will fail to check if the resolver is DNS supporting. So that's that's the idea here. Now let's go into a bit more detail. So as I told, like, we will only hold the records for, you know, the revoked serial numbers. Right? So if somebody asks for a certificate which is already revoked, the answer will come back with the text record along with the signature. What will happen if the certificate is not revoked? And as we showed before, that's usually the case. Like, 900 of 99 times out of a thousand, the certificate is actually good. Right? So what will happen? Usually, DNS will answer with the next domain, but the good thing is in DNSSEC, we'll also get a signed proof, and we will see how that looks. Let's let's give a simulation of, you know, our scheme. Think of it, like, in the in the right, I I I show, like, all the entities that are involved, the browser, the resolver, and, you know, the CS DNS server, which, you know, we are proposing, the sign zone, which will have all the text records. And think of this line as, you know, all the revoked certificates that are in place here, and it's pretty sparse. Remember that very few certificates are actually revoked out in the wild. So think of it like the browser tries to load this certificate, so it sends that query. The resolver doesn't have it because it starts with empty cache, so it will ask the CS DNS server. It'll fall under a range of two actual revoked certificates. Right? So with DNSSEC, the DNS server, it will send a... An exome in. Great. But it'll also send the NSEC record. The way NSEC records work is that it's kind of a signed proof of nonexistence where Indiana sec, but it doesn't only say that I don't exist. It'll also tell you what exists before and after. So, basically, it tells you a range. And it's it's pretty important distinction for us because it helps us a lot. Let's talk about the next simulation where, let's say, other browser or even the previous browser, queries for another certificate field that falls under the same range. The good thing is the resolver, which... You know, the resolver already cached that insect record and the RFC eight one nine eight, which is basically on aggressive negative caching, that that empowers the resolvers to cache insect records. Think about it. It's a different serial number, but the resolver can answer it right away because it knows about this information. The NSEC records holds that information about a range. It doesn't have to go back to the CS DNS server. So the cache isn't anymore like answering about one single entry. With Insect records and with our scheme, it can actually... One single entry can answer a lot of information. Remember, like, we talked that a lot. Revocution is extremely sparse, so think of it. The line I'm showing here, the orange dots, they're actually far away. For example, we could also simulate this. Right? Because revocution information is public. For example, we found for Microsoft as a CA, one single NSEC record held up to 2,100,000 valid certificates. That means, in practice, like, if that NSEC record gets cached in a DNS... DNSEC... Sorry, resolver, any subsequent request, you know, encompassing that 2,100,000 certificates would get answered right away. The DNS server of CS author DNS server doesn't need to get, you know, reached. Resolver has that ability. So, you know, the goal of us kind of... You know, the the DNSSEC and NSEC gives us, you know, that right weapons which we look for. You know, we only want to kind of publish the useful set, which is the few number of revoke certificates but still have a verifiable way to answer about everything else. So now I'll quickly go on, like, kind of the deployment and, you know, is it feasible? The first thing you might ask that... Okay. Well, you were asking the CS to publish a new DNSSEC sign zone. Right? The good thing about this, our scheme doesn't, you know, track issuance. Like, for example, at that point, as you see, Let's Encrypt had more than 600,000,000 certificates. So if we just ask them to make a zone where, you know, keep give all the certificate seals there, it it it won't be practical. It'll dwarf all, you know, other other CS right away. Good thing is, as as we talked about, we don't want all the entries. We only want to give them the revoke certificates seals and which, you know, are not that much. We could actually make... Because the revoked information for all the CAs are kind of public, so we made the zone files. We signed with ECDSA two fifty six and as you see, the numbers are quite manageable. For example, one striking example, Microsoft, which had 78,000,000 entries, it can feed the whole zone file under half a megabyte. Then what it meant for the resolver. Right? We already told that the caching power is quite high within SecRecord, so we simulated this. So we simulated... We we got the data from Let's Encrypt, like, how many queries it handles a hour. So what we found out is that it it usually handles, like, three sixty million queries a hour, so we we simulated this. We sent three sixty million OCSP queries over a hour that encompassed more than 300,000,000 search. We we did a Zipf distribution rather than just, you know, randomly sending requests. Zipf distribution is like... It it mimics real world traffic where, you know, you're highly concentrated on a, you know, small scale... A small portion of all the websites out there. So as you see, the brown line here actually shows not our scheme. That's the that's the scheme would be like a exact match caching. That means if you really put every entry out in the DNS rather than with NSEC, it would look something like this. Like, we'll have 97.5... 7% cache hits, But as the request grew, the cache will have 8,300,000 entries, which is a lot. Now comes our scheme with the Rev DNS and NSEC. As you see, the line kind of flattens out. It has slightly better caching caching performance, but the thing to look here is the number of entries in the cache. It's almost one... 20 times smaller than just, you know, par entry kind of cache. So that's that's the thing we are trying to push with our skin. So coming back to the handshake. So the whole OCSP now will be replaced by a DNS lookup, right, with RevDNS. But we have been saying simulations, but how exactly it would give advantage? We we actually could quantify this. Remember, like, we had a measurement study with Firefox where we, you we we send traffic It's a d... We we loaded websites from five different vantage points. So we already have that data. So we could quantify how much time OSP over HTTP takes, and we could also quantify how RevDNS will take. We just modeled it after the DNS lookup time. Just to note here, it's not really a real deployment. It's more like a model after a real measurement data. What we found out is that if you're not using a CDN, in 89% of the cases, our scheme, RevDNS performs better than standard Vanilla OCSV over HTTP. If you're under... Behind the CDN, the rate drops. It's logical, but still it's a good amount, 52%. Interestingly, for half of the websites where responder is not a CDN, we get a two hundred and seventy millisecond performance benefit in the TLS handshake, which is quite a significant number. Think of it. Like, it's kind of the CDN benefits without the CDN using DNSSEC. Finally, going very quickly over the the... Or how deployment would look like. CAs, there is work on them. They definitely have to sign a dedicated zone with all this revoked information. Resolvers doesn't have to do anything. We are not inventing anything here. We are depending on existing schemes like DNSSEC or NSEC. Browsers, they have to tweak some code. They have to send a DNS query during the TLS handshake. So, yeah, some code is there. Or site owners, we we don't put any response ready here because they don't have to do anything. So I'm almost at the end of my talk, so I'll just give a very quick three takeaways that I want to... Want you guys to go with. The first finding is OCSP has a lot of issues. So... And it was also quite concentrated. We found out, for example, 62 of the certificates out in the wild. Akamai was responsible for all of them, which is a very concentrated design. Then we... The second clue we found out is that revocations are quite sparse, so we don't have to publish everything out in the wild and NSEC records helps us with this. We can only publish the useful portions, still get, you know, verifiable answers for the rest. And finally, all the reason the CAs are using the CDNs for caching, faster response. So we we already got a solution at our hand without inventing anything else. So we try to push that. Why not use DNS as the solution to, you know, the issue prone revocation system? So, yeah, that was my talk. Thank you.
[01:13:57] Dirk Kutscher: Thank you very much, Patrick. And we do have time for questions. Please use the queue system. Hi. Joel.
[01:14:23] Joel Jaeggli: Joel Yigley. So one observation I think that might be useful for a thought experiment is the CDNs that you reference there. Well, I'm one of them. I'm on the lower end of percentage of that, Fastly. But they also run the authoritative resolvers for the zones they're serving for the most part, which means that the concentration probably stays about the same if you move it to the DNS.
[01:14:56] Pratik: Not... Yeah. Sorry. Go
[01:14:58] Joel Jaeggli: ahead. Yeah. Not necessarily like... I don't know. I I wouldn't necessarily expect that to be dramatically different particularly for say, CAs that are associated with a c n... CDN in particular. I mean, obviously, the Fastly CA uses the Fastly name servers for its authoritative DNS, for example. So one of the things I can observe as an operator of one of those things is we have as many authoritative resolvers as we have caches and locations. So in that respect, our DNS infrastructure is pretty widely distributed much like our CDN infrastructure, and I expect my competitors probably do very similar things. So food for thought.
[01:15:48] Pratik: Yeah. That's a really excellent point. Thank you for raising this. One thing I'll raise here is that even though, for example, Fastly can host the authoritative DNS servers, as you saw from our simulations, most of the loads will actually be covered by the resolvers because they're gonna cache a lot of things. And as you saw, a very few fraction of the request will gonna actually go back to the authoritative servers. So even with our scheme, I'll I'll I'll I'll I'll I'll think, like, the resolvers itself will will be responsible for, you know, handling most of the traffic without actually conforming back to the authoring servers of the CS.
[01:16:29] Dirk Kutscher: Usama?
[01:16:30] Usama: Yeah. Thanks, Usama. It was a very nice talk. I'm trying to get a perspective of where things are currently because as I understand, that was in 2025, and I believe you did it maybe one year before that and there the things were at that point in time. But can you give us a kind of a current status of where the things are? More specifically, I'm kind of thinking about the CRL retrieval. You can retrieve the certificate revocation lists, and then you can locally check that these certificates were not revoked. And probably after some point in time, after, let's say, n interval, you'd still need to retrieve that the new certificates are loaded so that you do not statically keep checking against that same list forever. How does how does that fit in the picture? And secondly, for instance, like, OCSP Steppling, which to me, I I have... I'm not an expert in this, but my my my kind of understanding of this is that the server will have a short lived certificate, and then the client will keep checking it, then it will expire already. So the problem of the timeline that you showed is a very long one. Even if it is revoked and all that, it goes the timeline in the very first or the second slide. So that timeline, if it is already reduced to a very short timeline, how does that second solution compare with your proposed one? I'm I'm kind of thinking about the solutions or the ways in which you can still do it without having to do with DNS. So can you comment on the two options? Thanks.
[01:18:08] Pratik: Thank you so much. That's really interesting questions. So if I understand the first question, I think you are trying to ask, like, how things have changed in the landscape in terms of OCSP or, for example, how there are new schemes like or sets. So why really even use OCSP? And since, like, our paper was published, what things have changed. I'm gonna be honest here. Like, we we haven't done a lot of studies after it was published, but we... I I I took a look how things stand right now. For example, I feel like things are moving away from OCSP right now. For example, after a paper was published, Let's Encrypt nowadays don't even use OCSP anymore because it was, you know, it's really unreliable. But I'll kind of argue back that the scheme we proposed over DNS, it's not trying to revive OCSP. It's just trying to give, you know, revocation information in an efficient manner, which I think still matters. And all those vendor specific ideas like serial lights, serial sets, they're efficient, but think of it. Like, they're, like, browser specific. There is a lot of operative overheads. It's complex. This is... Like, RevDNS is not inventing anything. It's kind of using already existing mechanism. DNSSEC and SEQ, these are nothing new. So I'll kind of argue in that way. For the second question, OSSV stippling, that's a really interesting point. And I have to concede that if... OSP stippling is actually a very efficient method, but our paper also cites that it's not getting adopted a lot because it's hard. For example, the website owners have to be involved. They have to make sure the TLS certificate also plays the OSP responses so the TLS certificate comes back with the OSP response. In our paper, we actually found out that adaptation of OSP sampling is not that great. And so even though it's a smart mechanism, because of the complexities, you know, involved there, it wasn't getting adapted that much. I'm not sure about the current snapshot. Has it increased or decreased? So can't really comment on that. Have have I missed any questions?
[01:20:23] Usama: I think I got the answer. So so you didn't... Number one, you didn't proceed this research after you published this paper. That's right? So... Okay. So you didn't, you didn't explore it further. And, secondly, you are saying that the OCR retrieval was kind of orthogonal to your solution. You you don't specifically compare with that one. Is that is that right?
[01:20:46] Pratik: Correct. We we we didn't compare with those solutions, and, we... Our main comparison model work with with OCSP. Correct. Yes.
[01:20:54] Dirk Kutscher: Okay. Ben.
[01:20:56] Ben Schwartz: Hi. Ben Schwartz, Meta. How do you think about propagation delays, speed of propagation in RevDNS?
[01:21:07] Pratik: That's a really interesting question. So this this this will... For example, this has to be coordinated by the certificate authorities because what it matters is, for example, the TTL size matters here. You if you make it very short, for example, the records that we are proposing, Freshness will be better, but the caching efficiency we are trying to argue about, that will decrease. You also have to coordinate the RR6 signatures along with the, you know, TTLs, so it has to be coordinated. Truth be told, our paper didn't benchmark or found a sweet spot, so it's up for, you know, future work. We didn't actually venture what kind of TTL or signature expiry dates will work best in terms of DNS propagation. Yeah.
[01:21:53] Mark Handley: Thank you.
[01:21:53] Dirk Kutscher: Thank you. Utkarsh?
[01:22:03] Uturan: Help. Uturan. Akamai. Had to had to answer. So a couple of things. One, I think the point was made about stapling. Stapling is something, which is... So first of all, thanks for bringing this. It is... This revocation maintenance is challenging. It's just even redoing it as a business is is implementing is a is a headache. Just just interesting work, and any development is interesting. Thanks for bringing this up. So OCSP stapling, like you said, the the problem here... I'm just just adding you to the... The the problem is it's actually a different, the the stakeholder is different. So so your example, when you do a regular OCSP request response, the CA is our customer and says, do this. Do caching for us. The stapling is the... Or you... The owner of the website has to be the customer, stuff like that. So, basically, it splits the the stakeholder of the stapling and the thing. So... But stapling has had good response. That's why now you need more than one, basically, stakeholders to say we want to do staplings. That... That's the reason. But stapling... And the performance wise, it it like, I I think if if your paper says that, then I I was just about to say that it works. The the problem with anything like Resolver is is the question of adoption. This is the point about... So, yeah, like you said, we we... In the journey of, certificate maintenance, we start with CRLs. We didn't like it. We went to OCSP. We don't like OCSP. We are going back to CRL. Basically, this is... The the the the thing which you pointed out is 99.99%, we are happy. 0.1%, we are sad. And to make the world work for the 0.1% is very hard. That's... That that... It's an adoption change. So I I would I would... Any further work or draft, I would I would actually take the resolver adopt... The biggest adopters there would be the resolvers. Yes. This... The authorities... Root authorities are fine. They can they can move. I think their movement is resolvers in in in the in the in the loop. How long will it take? How will... Because if they don't have, it doesn't work.
[01:24:17] Pratik: Yes.
[01:24:17] Uturan: So it's a... That's the problem. It's an upside down problem. So every resolver or most of the resolvers have to work to make it work.
[01:24:24] Pratik: Yes. Yes. Absolutely. Thank you for the thank you for the feedback. We haven't started planning on a draft or anything, but I think this room is the best forum for this. So any feedbacks regarding this, like, if it's something really interesting and could be implemented, any any feedback would be really appreciated. Yeah.
[01:24:42] Dirk Kutscher: Okay. The final question comes from Ingmar.
[01:24:50] Ingmar: Ingmar, Infoblox. We have Dane TLSA already out there. We can already affirm the validity of a certificate. If we get no answer, if we get the NXDOMAIN, then we get the denial of it. What's the added value that this brings to something that was already solved?
[01:25:14] Pratik: Could you... I can say the name of the skin.
[01:25:17] Ingmar: Dane TLSA.
[01:25:20] Pratik: Honestly, we didn't study about our compare against this, so I... This is something I might... Will be have have to follow, but from the top of my mind, I I can't answer it right now. Okay. Yeah.
[01:25:35] Dirk Kutscher: Okay. Great. Let's thank Protick once again for the great talk.
[01:25:40] Mark Handley: And don't follow me. Wait. Wait. Wait. Okay.
[01:25:55] Dirk Kutscher: Okay. So next up, we have Mark Handley talking about big dumb networks.
[01:26:13] Mark Handley: Okay. So, I'm Mark Handley, and I'm tech lead for network side OpenAI. And I wanna talk to you about what we're doing on our training networks. So the focus of this talk is basically what we do on the back end networks, but this is where all of the the weights and so forth, the gradients, are exchanged for for training. And I wanna give you a a sense of the design strategy that we've had when we've been building our supercomputers for for doing all this countertraining. These are really big, really expensive networks, and there's a lot of interacting complexity, the applications are really incredibly demanding. And so In order to try and manage that level of complexity, we've taken a strategy in building our supercomputer networks, which is basically to try and move all of the intelligence out of the network and into the edges. The idea is to make the switches as simple and dumb as possible, hence the title, Big Dumb Networks, and then to build redundant topologies which are designed... Co designed, really, with the transport protocols we want to run over them in order to be able to get good performance but incredibly reliable performance because we're trying to do computations that involve hundreds of thousands of GPUs, and they're synchronous computations. Anything goes slow, we're in trouble. If we can move the intelligence to the edge, then that's where we can do all of the work to low bounce the network, to work around failures, and things like that. I want to give you a sense of what we've been building and what we have in production and have had for about a year now. Why are we doing this? First thing is, this is kind of the original, traditional end to end attitude but taken to some degree of extreme. We're going move all the smarts into one place and preferably a place that we have access to so we can see what's going on. We think by doing this, you can get a faster response to failure than you can possibly get by having the smarts in the network, which is a really interesting thing and I hope to show... Demonstrate you why I think that. I think there's many, many fewer things that can actually go wrong. Importantly, it's the fact that when you have these very big complex networks, you have a lot of different adaptive systems. Generally speaking, anytime you have two adaptive systems, they will fight each other to some degree. If we can move all of that intelligence to one place, then we can avoid that happening. Then we can actually understand how our networks work under these incredibly demanding workloads. We can do much better load balancing on our networks by taking these approaches. We can minimize tail latency, and that's the real sort of north star here. We have to get the tail latency down of these transfers. It also gives us the ability to actually observe what's going on, and from our point of view in OpenAI, we often don't run the switches ourselves. This basically moves as much stuff in house as possible for us to be able to understand how our networks are functioning. Okay. What's the workload? Why is this so hard? We have lots of workloads on these networks, but there's one workload that dominates everything and that's synchronous pre training. That's basically where you take all the contents of the internet and a lot of synthetic data and you feed it through a training network and you try and teach it to predict the next token. This is a single, synchronous computation that runs on well north of 100,000 GPUs. If any single flow goes slow, the whole computation goes slow. That's pretty crazy in terms of a workload. Oh, and by the way, they all start up sending simultaneously, so none of this stat mercen stuff we have on the Internet works. When you actually look at the performance of these protocols, we don't really care at all about the median transfer latency, the mean transfer latency. People talk about p 99. I don't care about p 99. P 99 means a thousand GPUs or so in slow, and that brings the whole job down. I only care about the worst one, p 100, nothing else. When you're trying to design a network that gives you really, really good p 100 latency under nearly 100% utilization with a completely synchronous workload that all starts up simultaneously, it tends to lead you to different design decisions than you have elsewhere. What are we doing? What do I mean by a dumb network? What we're doing for these back end networks is we're basically building two tier cross topologies. Nothing radical there, but we built these as multi plane networks, either four or eight planes. If you do this, it gives you the ability to take a 51.2 terabits per second switch and map it out as five twelve individual 100 gigabit ports. High radix means you can have a very large network within a very small diameter, so you can go up to something like 131,000 GPUs in a single building in a two tier topology, so long as you go multi plane. Those are the types of networks that we build, that kind of network topology. The first thing about that is because you built a multi plane network, you've inherently got redundancy. We've got a huge amount of redundancy above the leaf switches. We've got thousands of links there, and if any one of those fails, it's really not a big deal. You've even got redundancy between the NIC and the leaf switch. If we lose one of those, we still have the job stay up. When you're looking at networks that have as many links as it... I was trying to do the math, and I think we have around 10,000,000 optical links in our training networks at the moment. When you have that many links, there are links that are failing all the time, multiple per minute. You have to design stuff to be operating constantly in the presence of things that are failing. Once you've a topology like this, how do we use it? The first thing is that there are many paths through this network, but we can't afford any traffic concentration. When you concentrate traffic anywhere, then that's the flow that goes slow, that brings the whole job slow. We need nearly perfect load balancing of traffic across all of those spine switches. That's the key thing. If you can get really good load balancing, then you can get great utilization out of this network. If you can't, it's going to go badly. Second thing you need is there's going to be traffic concentration at the destination no matter what you do. That's in cast, and so we need to be able to handle that. Then because things are constantly failing in networks of these scale, then we have to do very quick response to failure. Okay. How are we going to load balance the network? What we're going to do is we're going to have to send a spray packet. Each single connection is going to be sprayed across, by default, two fifty six different paths. That basically means it's going to spray very evenly across the output ports from that NIC, four or eight output ports, and then from the leaf switch up, it's going to spray across hundreds of paths from there upwards. If every sender sprays across hundreds of paths, then from the point of view of the network, you'll see millions of paths, millions of flows rather, and that means that if you just sort of do the balls and bins math, it really evenly loads itself out across all of those bind switches. Now, we're doing this by sending traffic from the source across these paths rather than having the switchers make the choice to do that. The reason is because this means that we can load bounce traffic really evenly across all of those spine switches for every flow, and then when it converges again coming back down, it's still really evenly low balanced, and so we don't end up with any traffic concentration coming back down either. How are we doing this? We're source routing. We're source routing by using IPv6 segment routing, SRv6. We are probably the world's largest SRv6 network with, as I say, about 10,000,000 SRv6 routed links. And so each sender then is going to pick every single packet. It's going to directly address across that set of links across the network. The sender chooses the path and it embeds it into the packet. The switches have static routing tables. Yes. I have 10,000,000 network links and I have static routes for them all. Seems a bit mad, but actually it isn't. It works really well because of the symmetries in these sorts of networks. Our switches can basically... We can configure them at commissioning time and the routes aren't going to change for the next several years, which means I don't have to worry about what the switches are doing. The switches, if they're moving packets, are good, and if they're not moving packets, they're not good. There's really not much in between. I don't have to worry about what a routing protocol does or anything like that. No BGP. Actually, we sort of do run BGP, but the only traffic it carries is ICMP echoes. Nothing else. If it stops working and it did stop working on one of our networks, we don't really even notice, to be honest. There's no SDN to configure anything. There's no dynamic load balancing happening in the switches, so all of the control happens in the place where we control it, is in the sending NIC. There's no dependency on the switch control plane even being up. If the control plane crashes, yeah, we'll notice because we stopped getting telemetry from it, but that's the only way we'll notice. We're not gonna notice because the switch stopped forwarding. If the data plane is up, we're good. Then the switches are not going to route around failures because it's static routes. That means we have to do some routing around failure and, obviously, the place we're going to do that is in the sending transport protocol. SRv6, for those who are not familiar with it, probably that's only about half the people in the room, we take the IPv6 destination address. There's a locator that goes on the front of that address, which is, in our case, 32 bit prefix, and then the rest of the address is a series of up to 16 bit identifiers for the switches along the path to the destination. When your packet comes into a switch, the first of those identifiers is the identifier of the switch that is processing the packet at that instant in time. It does a lookup on the first 48 bit prefix and says, is that for me? If the answer is yes, then it shifts the rest of the address across, shifting out the switch's own identifier, switching in the next hop's identifier, and switching in a bunch of zeros at the far far right hand side. Then you do an IP prefix lookup in our static rating table on the first 48 bits and that determines which port it goes out of. That's it. That's all the switches do. Nothing else. So story so far. Senders are going to spray each flow across hundreds of paths, use the SIV six for that. That's going to low balance the network really very well, just by default, just naively low balancing the network. Switches only know their immediate neighbors. They don't have to run any kind of routing protocol. They basically blindly obey what the packets tell them to do, but there's a bunch of missing pieces here. We need a transport protocol that's actually going to do routing. It seems an odd combination, but in the past I've worked on routing protocols and I've worked on transport protocols. Now I have a transport protocol that does routing. It sort of seems reasonable. The transport protocol needs to route around failed paths. That's the key thing it needs to do. We still need a way to detect and repair failures when they actually do fail because we don't want our links to stay failed forever, but it's okay if there's a few down at any one time. It's not a problem. Then we still need to be able to handle congestion at the last top caused main cast. What's the protocol for this? The protocol for this is called MRC, which is basically derived from Rocky v two, but it has a lot of changes to Rocky v two. This is multi path reliable connection, and it's basically the the minimum subset that we thought we needed in order to be able to do AI training. It throws away a lot of functionality that Rocky has that we don't need and just does write and write with immediate, and that's it. Nothing else. This is an OCP open standard. We published it in April this year, and we co developed this together with AMD, Broadcom, Intel, Microsoft, and NVIDIA. This is deployed in all OpenAI's training supercomputers. Every model we've released this year was trained over MRC. What does it do? It sprays packets using source routing we talked about. The receiver, when the packets arrive, they're going to arrive in a random order because we sprayed them across many, many, many paths. It will take each packet as it arrives, and each packet contains the memory address it's meant to go to. It just delivers it right into memory directly as it arrives. It supports packet trimming, which is an interesting mechanism by which if you get congestion, you can trim off the payload and just forward the packet header to the destination and knock that and get a fast retransmit if you get congestion. That gives us the ability to tell the difference between congestive loss and loss caused by failures. It's really useful to be able to tell the two apart. It supports selective retransmissions and it supports a congestion control algorithm that's in the spec, which we borrowed liberally from Ultra Ethernet. How are going to route around failures? When we bring up a queue pair that's a, blocky connection, the sender needs to choose a set of path to use. And so it's going to basically choose paths by, first of all, evenly load balancing, exactly evenly load balancing across the multiple ports on that on that NIC, and then it's going to pick a subset of the path going up to the the spine switches, until it's got enough to fill its set of paths. 256 is the default we use for for most of our stuff at the moment. The rest of the path, the microsids for those, are determined by the destination address because there's no path choice coming back down in the cost topology. The the first two microsids, the NIC is going to choose the the subfields of them in order to to route the packet to one of the spines. Basically, the destination address, we're use that in order to be able to look up what we need to put into the last two microsets, and that gets the whole way there. That's how we choose each entry in this path set. Then we end up with this set of two fifty six paths. And so we have an active set and we also will choose a bunch of two fifty six paths for a backup set. In the active set, we're going to round robin. Every packet we're going to send on a different path, going to round robin through our two fifty six paths sending things out, If there's no failures and no congestion and everything's happy, that's all we're going
[01:40:23] Pratik: to do.
[01:40:24] Mark Handley: Just that. Of course, the real world is not so simple. In the real world, we end up with glitches that we have to work around and so forth, so that's where the backup path list comes in. Suppose we see some congestion on one of those paths. Now we've really evenly low balanced the network, so we're not gonna see much congestion anyway. But suppose we do. We can detect that congestion by getting either an ECN mark on it. We use ECN as a low balancing signal here, Or it got trimmed, but not trimmed on the last hop. Last hop is not a low balancing problem. The last hop is congestion. But when we trim, you can set a different DSCP depending on whether it's on any other hop or on the last hop, and that means you can tell them apart. So if it's a low balancing signal, what do we do? We we replace that path that we were using with one from the backup set from the same plane and bring in one from the backup set. And so what happens is your your queue pair comes up. These queue pairs tend to last for hours. It will come up. It will spray across a bunch of paths. If between all the flows comprising that job, they didn't perfectly low bounce the network, this process does. It evens itself out really quickly, and at that point, we tend to not have any congestion except possibly at the last hop. Now, of course, we've got links that have failed and they continue to fail all the time. What happens if we get lost? We take a single packet loss as being an indication that the path is bad. It may not be bad, but with reasonable probability it is actually bad, especially if we're running package trimming to use congestion as a different signal. So if we get lost, we're going to move that into the sin bin. We put it in, in this bad path list. We'll bring in a backup from the backup set, and we're carrying on going again. That means that typically within a couple of round trip times, there'll be three round trip times from the failure, we've mapped out the failure and we're good again. That means that we are routing around failures in something like thirty or forty microseconds, which is a lot faster than BGP can route around failures. We basically route around failures much faster than any conventional routing protocol can route around them. That's really why we want to have this being in the end system. You can detect it really fast. The other thing that this does is it basically spreads the damage across as many flows as possible, which sounds a little bit of an odd thing to do until you understand that I really only care about the tail latency. What I want to do is have very little damage to each flow but have it spread as widely as possible. If I have a relatively large number of packets from one flow on a particular link and it fails, that flow is going to hurt. If all my flows are spread very widely and I lose a link, I might lose a couple of packets from each flow, but we can cope with a couple of packets and recover them really fast. That's not a problem. But I've spread the damage as wide as possible, and so no one flows up as much, that, therefore, the tail latency is very good. Okay. So sometimes I'm wrong. Sometimes I move a packet into the SYNBIM when I shouldn't have done. What will happen there is we'll send probes in the background to try and recover anything that wasn't really broken. If the probe gets lost, then we move it to the tail of the sin bin. If the probe succeeds, it moves to the head of the sin bin, and if we get enough successes, it gets promoted back into being used. It's really very little consequence if we get it wrong. We want to be very conservative and say it looks like this path's bad. We're going to ban it until proven otherwise, and then we'll, in the background, slowly bring it back in again. If you get a single packet loss, it's probably only going to be one of the connections that ends up doing that, and all the other ones will still use that link. It's not really a problem if you just lose a few packets. Okay. What this means is we're mapping out failed links, at least failed links above the leaf switches in a few tens of microseconds. Of course, you can still lose links between the NIC and the leaf switch, and we only have four or eight of those depending on which network we're running in. If you lose one of those, then it's going to have a bigger impact. So the the NIC will immediately stop using that plane and start to bounce across what remains, and it will immediately tell the other side, by the way, don't send to me on that one because it's down. What we notice in reality is that the vast majority of flaps we have between the NIC and the leaf switch recover within a minute. Some don't, but the vast majority flap and come back. What happens with the training job is the training job will slow down a little because some of the flows suddenly only have three quarters of their capacity. The reduction in the the... So the increase in the step time for the job is actually a lot... We lost 25% of the capacity on that one nick, but the increase in the step time for the job tends to be five to 10, something like that, because of the duty cycle of the job. It's not a big deal if you lose a link. We will ride it out for a little while. If it turns out that it stays down and is impacting the job, the job will conclude that node needs to be retired from the job, and will do something to retire it. Okay. So as I said, what we're doing here is we're spreading the damage as wide as possible, and the reason we want to do that is because of this thing of we only care about the tail of the tail of the tail, the hundredth percentile. When you come into this with a design mentality of only that very last tail matters, it pushes you into these weird corners of of protocol design. Here's an example. We were running back in March, I think this was, a job with 75,000 GPUs. That's what we would call a small job now. We had a spine switch do something that you wish your switches would never do. The data plane failed, but the control plane was still up, and so the switch thought all the links were up, but it wasn't forwarding. That's the sort of failure that is kind of the nightmare scenario for most networks because routing protocol wouldn't route around it. What we saw was that when the switch failed, we got a little glitch where all of the connections that went through that switch lost packets. They all mapped it out, and so we got this little glitch in throughput. Then despite the fact the switch was failed, we we had no great issue. And then because it was an odd failure, it took us a while for us to notice. And so by the time we actually rebooted the switch twelve minutes or so after the failure, there was no traffic on that switch anyway. When you rebooted the switch, you didn't see any impact from it. When it came back up, it got eventually rolled back into the job again, and everything was happy. That's sort of the example of basically, if anything fails between the leaf and the spine or on the spines, it's really not a problem for us. In fact, sometimes we have links there that dropping packets, you have a switch that's gotten into a weird state. So long as it's above the leaf switches, we don't even drain traffic off them before we repair them. We can repair links when they're in production with a synchronous pre training job running over them, and MRC just works around it. It's not really a problem. We do have a no fly zone on any maintenance when you've got a big free training drop between the NIC and the leaf switches because we really don't want to have impact there. Okay. So what about congestion? By spraying, we've basically eliminated all congestion in our networks except at the last hop. We really just don't see any ECM packets at all once the job is up and running. It's really evened out. We try to make sure that our collectors... We run our own collective communication library. We try to make sure our collectors don't create any incasts, but some emergent in incasts happens anyway. There's this congestion control algorithm that's in the MRC spec that uses the combination of delay and ECN as signals to drive it. It's a decent algorithm. We don't run it. We've run our own homegrown, receiver driven, credit based congestion control algorithm over the top of MRC. Basically, the receiver sends out credit to the sender that it wants to send to it and it paces the rate it sends out the credit at a rate which the incoming traffic will actually fit the network, and that suits our job really well. This is running in host software. Ideally, it would be running down in the NIC, but at the moment, we're running it in host software above that. It works very well for our needs. It basically means that we're getting no congested packet loss in our networks. Now, I haven't quite told the whole story. I said you can get up to 131,000 GPUs with these kind of topologies in one building, but we have sites that are bigger than that. If you have to have multiple buildings, you have to connect them together somehow. What we tend to do then is we have links between the buildings which are oversubscribed. We do actually have a congestion bottleneck between the buildings. The round trip time on one of these sites is still relatively small, typically less than fifty microseconds, and so we still run MRC and SRv6 in the same way between buildings that we run within the buildings. Now what we have is the job always has some degree of locality. It's just the nature of the way that the jobs fit. This means that the amount of traffic that needs to go between the buildings is vastly less than the amount of traffic that would go within the building. And so even though we're oversubscribed between buildings, the traffic will definitely fit. But it might be too bursty, so we might get a little bit of congestion there. So we need to do something in protocols to basically smooth those bursts out when... For the traffic between the buildings. Basically, we use a variant of our of our same credit based congestion control, but with the credit rate turned down a bit for traffic that goes between the buildings. That's enough to smooth things out, then we don't get any congestion between the buildings either. Now that's what we can do between buildings. It's not what you would do if you want to go over the WAN. If you go over the WAN and need to connect supercomputers together, the round trip terms now are not in the microsecond range. They're in the in the milliseconds or tens of milliseconds range, and then none of these solutions quite work in the same way. We have also much greater oversubscription across the wide area where we connect the supercomputers together. We can't run MRC there. We have to do something different. That's a talk for another day. Don't have permission to talk about that yet. Okay. Generally speaking, all this stuff works really well. The vast majority of the time, nobody complains about the network, and that's the best as a network person you can ever hope for. When people aren't complaining about you, you know you're doing a good job. It turns out there's so many grumbly little things that get you at scale. We had an interesting hardware bug that would cause the NIC to drop all four ports simultaneously. You can't ride that one out even when you've got redundancy. I'm not gonna tell you why in public, but buy me a beer later because it's the best story. We end up with problems for... So the vast majority of the packets they get lost in our networks are lost in the receiving NIC. You get them all the way across the network, and then the NIC drops them. It turns out that memory or PCIe contention in these GPU nodes is really a real issue. It's not a dominant issue. It's still at a grumbly low background level, and we work really hard to actually avoid, doing that. There's places in our network where we would like to to do SRv six with uN + uA. All the switch vendors tell us they do SRV six, but actually, when you try to do it for real, not everything they can do at line rate. So at least one switch vendor can't do uN + uA at line rate. We have multiple switch vendors, by the way, even in the same cluster. We're running across different, different ASICs and different vendors. Then there's also an issue in terms of how do you do congestion control when you've got... This is not a huge problem for us, but it's definitely something that if you're doing network research, it's something that is not really a properly solved problem. It's how do you actually cope with with flows that are coming all the way across the site with a fifty microsecond round trip time and flows that are local to the rack with a eight microsecond or so round trip time. Getting those to compete nice and fairly is still a bit of a blackout. What should we do in the future? It's not that we've solved all of the problems. Things are working really well for us, but there's definitely things you can always do better. We're very nice to actually have, some degree of better congestion signaling. We're slightly conservative on our network tune at the moment. We're probably losing somewhere between 510% of the theoretical capacity we could get. It would be nicer to get closer to a 100%. C SIG, which is a congestion signaling mechanism that's standardized in ultra Ethernet, gives you various different signals, and one of those is the available bandwidth that's left on the link. It's really nice to be able to sense that you're coming up to the capacity of the links, you haven't quite reached it. Most congestion control algorithms tell you what's happening once you've gone past that point. We'd like to not get past that point because then we get queues and we get a delay in that latency. For for things like the WAN, when you're sending traffic across the WAN, it would be really nice if our congestion point as we go into the WAN could tell us that they just dropped our packets. So there's a bunch of work happening, in other organizations on what they call back to sender, which is where when you would drop the packet, you flip the addresses and send it back to the sender and say, we couldn't forward it. Then they can respond by backing off their rate and resending the same packet. That happens in a few tens of microseconds locally, but it'd be milliseconds if it goes across the WAN. If we're thinking about trying to do more than something like C SIG does, SRV six is really interesting because every single hop, you get 16 bit shifted on the right hand side, which are all zeros at the moment. We should do something with those bits. It'd be really useful to convey a lot of information from the switches about what the congestion status is or things like that. There's an opportunity there, and I'm looking for ideas of what we should do there. Then, obviously, the other thing is that everybody is starting to look at what they call data center interconnects or or basically training when you when you have to separate multiple supercomputers together. There's a lot of interesting work that needs to be done in WAN transport for this sort of workload. Have lots of work that's happened in the ITF over decades on WAN transport, but none of them have the goal of minimizing tail latency. When you only care about tail latency, it changes almost everything about how you design a protocol. And so a lot of the protocols that are out there at the moment that we can use over the WAN are anything close to what we want. I've built my own, but it would be nice to actually just not always be the snowflake and be different for everybody else. So there's lot of potential research we could do here, that can take us future, and do things that are better than we're currently doing. So that's that's all I have to say today. This is our door star that we're trying to move all of the intelligence out of the switches and put it into the transport protocol we're sending in. We've probably gone about as far as anybody has tried to do at large scale in doing that. So far, it's generally working pretty well for us, but still lots to do in the future. Thank you. Thank you, Mark.
[01:55:49] Dirk Kutscher: Okay. We have four minutes for questions. Please be efficient.
[01:55:53] Dave Blankenbeckler: Warren Kumari, thank you. This was fascinating. One quick question. Sometimes you get links that aren't really up or down. They're just throwing lots of errors. Do you end up in a cycle where you put them good, put them bad and eventually give up?
[01:56:04] Mark Handley: Yeah, we do. So what happens with those is, generally speaking, they get retired by the transfer protocol for some time. If if the probe happens to pick up another loss, it won't come back. If it's a low rate of loss, you know, it's it's somewhere down the point 5% loss on the link, then it will probably end up coming back because most of the pros will succeed. And then we'll get a loss on it again, we'll retire it again, and it goes through the cycle. We have a a background scanner that basically sends back its trauma node to its leaf switch and back to itself using s r v six, and also will send it from its leaf... From the NIC to the leaf switch to a subset of the spine switches and back to itself because you can send packets to yourself with s r v six. And so we probe every link in the network every millisecond. And so we get that background rate of... If there are links that are doing stupid stuff, we can basically set a deny entry in the NIC and avoid using them.
[01:56:55] Pratik: Francois Michel, thank you very much for that talk. Super interesting. I don't know the details of MRC. I love the idea of spraying for smoothing the tail latency. My question is, what about package reordering? Is that a problem that you have? Do you care about it or not because of your work?
[01:57:12] Mark Handley: The package basically arrive in a random order. I mean, you spray across hundreds of paths. They aren't gonna arrive in the order you sent them, and there's a lot of reordering happening.
[01:57:20] Pratik: It is not a problem for
[01:57:21] Mark Handley: you. It's not a problem. The protocol is very much designed from the outset to that not be a problem. Main thing you have to do... Regular Rocky has a real problem with that. Regular Rocky has to work across a single path. It does go back and reach our special and so forth. We designed all of that out of it. Every packet arrives with the with the memory region, memory key, and the memory address it's going to. So on it arrives, it's directly delivered to memory. So the packets are processed in the arrival order, not the send order, into memory. The completions happen in order, because otherwise, you violate the assumptions of the applications, but the packets are delivered to memory in the order they they arrive.
[01:58:01] Dirk Kutscher: Lars, get most of it. Thanks for the talk. I always knew transport protocols would rule the planet one day and... Yes. So so... Hey. You... On your last slide, you talked about, like, what to do on the Internet. And I'm I'm kinda wondering, like, you were very involved with the research that led up to multipath GCP and the design. And and we did multipath there, and we, like, we we... A lot of complexity goes into maintaining these paths and figuring out whether they're up and what the conditions are. And packet spraying is very different, but it really only works in these regularized ways. But I wonder if there's some things like spraying in some way or trimming in some way that we can combine with other ideas to, like, build some more modern Internet protocols. And and I think that is sort of the the the the the sweet spot. There's so much new ideas now that there are roles in data centers that are sort of ready for thinking about.
[01:58:53] Mark Handley: Yeah. So there's there's a lot of stuff you can do on the WAN, for for these kind of pro... Protocols that's... That a lot of these lessons can just directly transfer. So if I... For example, if I have a a connection and I rotate the UDP source port with every packet I send, it's gonna ECMP hash to lots of different paths. It's gonna load up those paths much more evenly than if it's slotted into one of my many 400 gig parallel paths. So that's the sort of thing you can do very trivially in in a transfer protocols designed for it. But, of course, the packets will then arrive in a random order, and then you have to design your protocol to deal with that. Generally speaking, you probably would prefer not to retransmit when you'd lose packets. That also affects the design and...
[01:59:31] Dirk Kutscher: Raise your podium or... Sorry? Effect frame.
[01:59:35] Mark Handley: Funny you should
[01:59:36] Lars Eggert: say that.
[01:59:37] Pratik: Thank you.
[01:59:37] Mark Handley: And then there's no reason why you can't do static s r v six in the WAN.
[01:59:43] Dirk Kutscher: Mike Watson is here if you wanna chat.
[01:59:46] Dirk Kutscher: Good thing.
[01:59:47] Pratik: Yeah. Hi, professor Hanley. I'm from China Mobile. Yeah. Really nice talk. I have a question on Nick overhead. Yeah. In MRC, end host needs need to track a large number of real time pass status and perform SRS six packet processing. Yeah. I wonder if this affordable for commodity Arminix.
[02:00:05] Dirk Kutscher: Yeah. Thank you. For commodity... ArdemyNICs.
[02:00:09] Mark Handley: ArdemyNICs. So we have MRC implementations for NVIDIA Kinetics eight, NVIDIA Kinetics nine, AMD Polara, AMD Vagano, and Thor Ultra at the moment. So I don't know whether you say that's commodity, but those are the ones we have implementations on at the moment. The specs are open standard, anybody else can implement it if they want. Does that answer your question?
[02:00:33] Pratik: Okay. Thank you. Thank you.
[02:00:36] Dirk Kutscher: Okay. Great. So this concludes the IoT Open. Let's please thank Munda Pratik and Mark once again. Thank you all.