1 00:00:00,000 --> 00:00:06,580 Hey everybody, this is your noon talk in Track 4, Technical Changes Since the Last Tour Talk. 2 00:00:06,880 --> 00:00:09,860 I'm Nick Mathewson, I'm one of the two main tour developers. 3 00:00:10,160 --> 00:00:13,640 The other is Roger Dingledine, who's sitting there in the fourth row eating some pizza, 4 00:00:13,740 --> 00:00:15,140 and he'll be talking at 2. 5 00:00:15,960 --> 00:00:17,580 Two announcements before I start. 6 00:00:18,220 --> 00:00:24,000 The 1 o'clock sessions in Track 5 and Track 3 have been swapped, 7 00:00:24,160 --> 00:00:25,820 so that Dan Kaminsky can have a bigger room. 8 00:00:25,820 --> 00:00:29,840 The second one is, upgrade to Tour 01216. 9 00:00:30,400 --> 00:00:31,400 No, we're not kidding. 10 00:00:33,100 --> 00:00:34,140 Seriously, we're not kidding. 11 00:00:34,860 --> 00:00:36,080 Upgrade. We have reasons. 12 00:00:36,760 --> 00:00:42,280 Alright, so let's go back to the future, or 2004, which was the last Tour Talk at DEF CON. 13 00:00:42,960 --> 00:00:47,480 We had a pretty good tour back then, and it was kind of a small network, but it was up and coming. 14 00:00:47,780 --> 00:00:49,300 A lot of cool hackers were using it. 15 00:00:50,660 --> 00:00:55,220 Pretty much only cool hackers and very, very determined people were able to use it, 16 00:00:55,260 --> 00:00:55,800 because... 17 00:00:55,820 --> 00:01:00,720 Because there was no GUI, and you had to edit some files, and read your logs, and hope for the best, 18 00:01:00,780 --> 00:01:01,720 and configure your applications. 19 00:01:02,700 --> 00:01:07,380 But, you know, we managed to get a couple of DEF CON talks out of the deal, and that was cool stuff. 20 00:01:08,900 --> 00:01:10,540 So, what have we been up to since then? 21 00:01:11,540 --> 00:01:13,460 Mostly, we've been hacking on Tour all the time. 22 00:01:13,740 --> 00:01:15,440 At least, that's what I'm going to be talking about today. 23 00:01:15,720 --> 00:01:19,720 There's other neat stuff we've been up to, but this is the technical changes talk. 24 00:01:20,420 --> 00:01:21,360 We've been working on security. 25 00:01:21,780 --> 00:01:24,200 It turns out that our software wasn't perfect in 2004. 26 00:01:24,680 --> 00:01:25,200 Funny, that. 27 00:01:26,080 --> 00:01:27,640 We've been working on scalability. 28 00:01:28,360 --> 00:01:35,400 It turns out that writing an anonymity network that can support a couple thousand, couple tens of thousands of users 29 00:01:36,800 --> 00:01:37,240 would... 30 00:01:37,240 --> 00:01:42,360 Gives you the sort of software that will pretty much fall over as it gets to hundreds of thousands of users. 31 00:01:42,720 --> 00:01:46,380 And so, as we've added more and more capacity, more users have shown up. 32 00:01:47,680 --> 00:01:52,620 Also, we've worked on usability, fixing usability bugs, adding GUIs. 33 00:01:53,280 --> 00:01:55,800 We've worked on performance, too. That's not so much on the slides, but... 34 00:01:55,820 --> 00:01:56,860 I'll talk more about it later. 35 00:01:58,280 --> 00:01:58,680 Integration. 36 00:01:59,000 --> 00:02:03,300 We've worked on trying to make it so that you can anonymize different applications with Tour that you couldn't before. 37 00:02:03,960 --> 00:02:04,760 And lots more. 38 00:02:04,900 --> 00:02:05,780 We have a changelog. 39 00:02:06,060 --> 00:02:08,260 We record stuff pretty religiously about what we've done. 40 00:02:08,540 --> 00:02:09,160 Check it out. 41 00:02:10,280 --> 00:02:11,520 Now, we're up to... 42 00:02:11,860 --> 00:02:16,040 Our latest estimate is about 200,000 users, although it's kind of hard to tell since they're anonymous. 43 00:02:17,360 --> 00:02:19,880 But we've got about a thousand servers these days. 44 00:02:21,140 --> 00:02:25,260 So, I'm going to give you a brief, fast introduction to Tour on the theory that... 45 00:02:25,820 --> 00:02:26,680 You've probably heard it before. 46 00:02:28,320 --> 00:02:30,920 Who here thinks they know how Tour works? 47 00:02:32,840 --> 00:02:36,960 Who here has used Tour at some point ever? 48 00:02:38,120 --> 00:02:40,440 Who here is still using Tour from time to time? 49 00:02:41,340 --> 00:02:41,820 Cool. 50 00:02:42,500 --> 00:02:42,980 Right. 51 00:02:43,500 --> 00:02:48,680 Once I've gone through Tour, I'm going to talk about directories and server discovery changes, 52 00:02:48,860 --> 00:02:52,000 which basically are making things faster and more secure. 53 00:02:52,300 --> 00:02:54,540 I'm going to talk about path generation changes, 54 00:02:54,700 --> 00:02:55,800 which will be more effective... 55 00:02:55,820 --> 00:02:57,880 ...and less filling, and I'll explain the filling in this later. 56 00:02:58,380 --> 00:03:03,520 I'll talk about ways that we screwed up some of our crypto issues subtly in the first... 57 00:03:03,520 --> 00:03:06,020 ...in the earlier revisions and how we fixed them. 58 00:03:06,420 --> 00:03:09,000 And some fun new tools and features that we've done. 59 00:03:10,400 --> 00:03:14,200 I'm really wired on caffeine right now, so if I speak too quickly, someone shouts, 60 00:03:14,260 --> 00:03:14,740 slow down. 61 00:03:16,260 --> 00:03:17,700 So, intro to anonymity. 62 00:03:18,120 --> 00:03:20,720 Anonymity networks hide users among other users. 63 00:03:21,160 --> 00:03:25,680 So, the idea is if you're watching the network, you ought to be able to tell, all right, somebody's talking to... 64 00:03:25,680 --> 00:03:33,680 ...Bob1 and it's Bob2, and Alice1 and Alice2 and Alice3 are using the network, but I don't know whether Alice1 is talking to Bob1 or Bob2 or what. 65 00:03:35,620 --> 00:03:37,100 So, that's anonymity networks. 66 00:03:37,460 --> 00:03:38,040 Here's Tour. 67 00:03:38,400 --> 00:03:46,980 There are a whole bunch of servers, where in this case, a whole bunch is represented by 9, and they're all connected via TLS, which is also SSL. 68 00:03:47,160 --> 00:03:48,400 They're more or less the same thing. 69 00:03:49,200 --> 00:03:51,720 And there's a connection between every server and every other server. 70 00:03:51,900 --> 00:03:53,380 I just didn't draw it like that here. 71 00:03:54,600 --> 00:04:11,700 And these servers can come up and go down, some are faster than others, some are slower than others, these are volunteer-operated servers running all over the network, you can run one yourself if you like, I'm not sure how well it would work if you tried to run one from your desktop in the audience, but, um, give it a shot, let me know what happens. 72 00:04:13,600 --> 00:04:17,160 Um, so, they're all connected via TLS pipes. 73 00:04:17,740 --> 00:04:21,260 Over the TLS pipes, they relay many circuits for clients. 74 00:04:21,560 --> 00:04:23,360 Each TLS pipe can hold many circuits. 75 00:04:23,380 --> 00:04:36,340 And, when Alice1, who's a client, in this case, all of the clients are named Alice, because they're anonymous, use, wants to use the network, she runs some software on her computer that builds her a circuit through the network. 76 00:04:36,920 --> 00:04:38,460 She extends it piece by piece. 77 00:04:38,660 --> 00:04:40,200 First, she connects to the first server. 78 00:04:40,500 --> 00:04:45,960 Second, she extends the connection anonymously from the first to the second, then anonymously from the second to the third. 79 00:04:46,460 --> 00:04:48,840 Pretty much all of our hops right now are 3HOP. 80 00:04:49,100 --> 00:04:51,780 I'm not going to explain why, but it's kind of an interesting argument. 81 00:04:53,380 --> 00:04:53,460 Right. 82 00:04:53,820 --> 00:04:58,000 After Alice has a connection to the last server in her chain, what does she do with it? 83 00:04:58,460 --> 00:05:00,920 Well, she probably wants to go somewhere on the net. 84 00:05:01,420 --> 00:05:07,620 Like, um, she wants to look at some pictures of kittens with captions under them, or whatever else people are using the Internet for these days. 85 00:05:08,480 --> 00:05:17,380 To do this, she then sends a message that's encrypted with three layers of encryption to, um, the first server. 86 00:05:17,600 --> 00:05:23,220 Which takes off one layer, and sends it to the second server, which takes off another layer, and sends it to the third server, 87 00:05:23,220 --> 00:05:28,680 And then the third server gets it and says, connect to Bob, where Bob is an IP address and port. 88 00:05:29,380 --> 00:05:35,220 The stuff that is actually relayed and supported right now is TCP streams only. 89 00:05:35,480 --> 00:05:40,780 It doesn't do arbitrary IP. Also, it relays TCP streams and not TCP packets. 90 00:05:42,320 --> 00:05:44,560 If you don't know the difference, you don't have to care about the difference. 91 00:05:44,800 --> 00:05:49,860 If you do know the difference, what I'm saying is that your favorite TCP fingerprinting attack doesn't work 92 00:05:49,860 --> 00:05:58,940 because we generate a separate TCP stream on the far end or exit node than Alice generates herself talking to the first one. 93 00:05:59,860 --> 00:06:07,020 This general design is called onion routing. One earlier design that did the same thing was pipenet. 94 00:06:07,120 --> 00:06:12,500 There are other implementations of the same basic design, but this is the one I know best because I work on it. 95 00:06:13,260 --> 00:06:19,720 So the general security properties you get are if the first node or someone watching Alice's connection to the first node is hostile, 96 00:06:19,860 --> 00:06:23,060 it can tell that Alice is talking. This isn't steganography. 97 00:06:23,120 --> 00:06:27,460 We don't hide the fact that Alice is using the network, but we do hide who Alice is talking to. 98 00:06:28,180 --> 00:06:32,340 Now, if the last hop, oh, I've given it away now. Alice 1 is talking to Bob 2. 99 00:06:32,720 --> 00:06:37,060 If the last hop is hostile, it can tell someone is connected to Bob, but not who. 100 00:06:38,880 --> 00:06:45,340 However, two hostile hops can correlate the traffic patterns and tell that Alice is talking to Bob. 101 00:06:45,460 --> 00:06:49,440 That is, okay, these connections started at about the same time. They ended at about the same time. 102 00:06:49,500 --> 00:06:49,840 They ended at about the same time. They ended at about the same time. 103 00:06:49,860 --> 00:06:54,220 They had about the same amount of data, and the data followed the same pattern of bursts and pauses. 104 00:06:55,560 --> 00:07:01,340 There aren't any obvious fixes to this in the literature that don't involve slowing your network to a crawl. 105 00:07:01,620 --> 00:07:04,780 So when you start building an anonymity network these days, you basically need to decide, 106 00:07:05,220 --> 00:07:08,840 are we going to support web browsing and be vulnerable to this kind of attack, 107 00:07:09,080 --> 00:07:16,380 or are we going to introduce multi-hour delays between Alice and Bob and resist these attacks but be useless for web browsing? 108 00:07:16,700 --> 00:07:19,280 We took the first approach because people seem to like this web thing. 109 00:07:20,720 --> 00:07:23,220 So first I'm going to talk about directories and server discovery. 110 00:07:24,060 --> 00:07:27,420 You'll recall before that Alice needed to build a circuit through three servers. 111 00:07:28,020 --> 00:07:30,060 Well, how does she find out that those servers are there? 112 00:07:31,880 --> 00:07:37,060 If you think about it for a while, you'll realize that every client needs to know pretty much every server in their path, 113 00:07:37,280 --> 00:07:42,380 because if you just go to one server, like in a lot of peer-to-peer networks, and ask it for a list of its neighbors, 114 00:07:42,880 --> 00:07:47,560 if it's bad, it could lie to you and tell you only other compromised servers. 115 00:07:48,040 --> 00:07:52,720 Also, all clients need to know the same servers. I'll talk about that a little more in a moment. 116 00:07:53,740 --> 00:07:55,620 Servers shouldn't be able to impersonate each other. 117 00:07:55,980 --> 00:08:01,320 If I can pretend to be the entire network, then I'm always the first and the last hop because I'm all of the hops. 118 00:08:02,300 --> 00:08:09,600 And the solution there is just what clients find out about servers is a set of self-signed descriptors. 119 00:08:09,880 --> 00:08:16,560 The way clients identify servers is by their public key, and assuming that, as Crypto Barbie says, 120 00:08:16,560 --> 00:08:18,780 factoring large numbers is hard, let's go shopping, 121 00:08:19,560 --> 00:08:23,680 you can totally rely on this to make sure that servers can't impersonate each other. 122 00:08:24,840 --> 00:08:29,020 Also, we don't want to use too much bandwidth to tell clients about servers. 123 00:08:29,980 --> 00:08:32,720 So why do clients need to know the same servers? 124 00:08:33,320 --> 00:08:37,480 I'll talk about this a little more in my next talk in an hour from now, 125 00:08:37,580 --> 00:08:43,000 but the basic reason is that if Alice 1 knows some servers and Alice 2 knows other servers, 126 00:08:43,180 --> 00:08:45,620 and I can tell which servers they know, 127 00:08:46,560 --> 00:08:50,640 I can tell that some connections, like the one to Bob 1, could only have come from Alice 1 128 00:08:50,640 --> 00:08:54,360 because only Alice 1 knows the server that's connecting to Bob 1. 129 00:08:54,720 --> 00:08:57,400 And there are ways you can make this attack even better, but that's the basic idea. 130 00:08:58,980 --> 00:09:02,260 So back in 2004, when we last presented this stuff to you guys, 131 00:09:03,040 --> 00:09:07,140 we had a few directory authorities for a few equals three. 132 00:09:08,360 --> 00:09:13,240 These were all trusted. Their IP addresses and their public keys were shipped with the source code, 133 00:09:13,400 --> 00:09:16,180 although you could override them, but we strongly suggest that you don't. 134 00:09:17,680 --> 00:09:23,580 And each authority would publish a big list of all of these self-signed server descriptors, 135 00:09:23,680 --> 00:09:25,840 and this would be signed with the authority's key. 136 00:09:26,340 --> 00:09:29,740 And the clients would go to an authority, download it, and go, 137 00:09:30,260 --> 00:09:33,120 oh, hey, yeah, that's right, and they'd use all those servers, 138 00:09:33,240 --> 00:09:34,660 and they'd do this every few hours or so. 139 00:09:35,160 --> 00:09:38,820 This was really slow, and it got even more slow as we added more servers. 140 00:09:40,120 --> 00:09:43,400 I think right now, so as soon as we're back from DEF CON, 141 00:09:43,460 --> 00:09:44,920 we're going to shut down this whole mechanism. 142 00:09:44,920 --> 00:09:49,200 If you're using Tor 010, Tor 010 will stop working. 143 00:09:50,140 --> 00:09:52,360 But that's really old, so no one's using it, we hope. 144 00:09:54,000 --> 00:09:55,840 But yeah, this was pretty slow. 145 00:09:55,980 --> 00:10:00,900 The files were really big, and right now they're up to over a megabyte in size, 146 00:10:01,000 --> 00:10:03,040 and old clients are still fetching them too often. 147 00:10:04,000 --> 00:10:04,800 Yeah, this sucked. 148 00:10:05,300 --> 00:10:08,140 We added some caches, and this did help some. 149 00:10:08,220 --> 00:10:10,160 The clients wouldn't have to hit the authorities all the time, 150 00:10:11,860 --> 00:10:14,680 and anyone could run a cache, and because the documents were signed, 151 00:10:14,680 --> 00:10:16,300 there wasn't a security flaw there. 152 00:10:17,420 --> 00:10:20,920 But the files were still really big, and also, 153 00:10:20,980 --> 00:10:23,700 if even one authority was compromised, 154 00:10:25,040 --> 00:10:29,200 then they would generate presumably a compromised signed list, 155 00:10:29,380 --> 00:10:31,420 maybe containing only servers that were bad, 156 00:10:31,560 --> 00:10:33,280 and the cache would download it from them, 157 00:10:33,380 --> 00:10:34,960 and the client would download it from the cache, 158 00:10:35,200 --> 00:10:36,640 and the client would be screwed up. 159 00:10:37,980 --> 00:10:41,160 Also, most information in these great big directories was redundant. 160 00:10:41,600 --> 00:10:44,380 That is, you go at noon and you say, what's the directory? 161 00:10:44,680 --> 00:10:47,100 And you get a big signed list of a hundred servers. 162 00:10:47,780 --> 00:10:49,960 You go back an hour or two later, you say, what's the directory? 163 00:10:50,320 --> 00:10:53,900 And you get a big signed list of servers of which maybe only one or two would have changed. 164 00:10:55,240 --> 00:10:58,420 So around 2005, we split the directories into status, 165 00:10:58,660 --> 00:11:01,940 which needed to be generated by the authorities, 166 00:11:02,500 --> 00:11:04,100 and individual descriptors. 167 00:11:04,280 --> 00:11:07,600 So you'd ask the cache, what do authorities A and B say? 168 00:11:07,980 --> 00:11:10,640 And you would get signed things from the authorities 169 00:11:10,640 --> 00:11:14,660 that would list the digests of every single directory. 170 00:11:14,680 --> 00:11:15,320 You'd get a router descriptor. 171 00:11:15,960 --> 00:11:18,940 Then you would go to the cache again and say, 172 00:11:19,020 --> 00:11:22,040 alright, I don't have the descriptor with digest such and such. 173 00:11:22,240 --> 00:11:22,940 Send it to me. 174 00:11:23,100 --> 00:11:25,320 And it sends it to you, and you make sure the signature is right 175 00:11:25,320 --> 00:11:26,240 and the digest is right. 176 00:11:27,780 --> 00:11:32,120 And you decide what to ask for based not on a single authority's opinion, 177 00:11:32,280 --> 00:11:35,320 but on the opinion of all of the authorities together. 178 00:11:37,080 --> 00:11:39,720 Now, why do we do this by digest of the descriptor 179 00:11:39,720 --> 00:11:41,840 and not by the digest of the descriptor's key? 180 00:11:42,140 --> 00:11:44,200 This was kind of a subtle point that we almost screwed up 181 00:11:44,680 --> 00:11:45,020 when we thought about it. 182 00:11:45,580 --> 00:11:47,640 There's a fun attack if you have a bad cache 183 00:11:47,640 --> 00:11:50,140 and a bad server working together 184 00:11:50,680 --> 00:11:55,760 where I send one descriptor to the authorities with my ID, 185 00:11:55,900 --> 00:11:58,860 and then I send a different descriptor to every single client 186 00:11:58,860 --> 00:12:01,080 who asks for my descriptor from the caches. 187 00:12:01,680 --> 00:12:05,780 So in this case, the authority tells the server, 188 00:12:05,900 --> 00:12:07,840 use identity such and such. 189 00:12:08,180 --> 00:12:11,140 And the client says, alright, I'd like identity such and such 190 00:12:11,140 --> 00:12:11,880 to the cache. 191 00:12:12,140 --> 00:12:13,780 And the cache says, alright, 192 00:12:14,680 --> 00:12:16,080 there is a special descriptor for server one 193 00:12:16,080 --> 00:12:17,660 that only you will ever know about. 194 00:12:17,960 --> 00:12:21,040 And later on when the client uses the special descriptor, 195 00:12:21,060 --> 00:12:26,140 which will have other information that only the client knows, 196 00:12:26,400 --> 00:12:29,920 the server will be able to tell the client from all other clients. 197 00:12:30,460 --> 00:12:33,040 The solution is to make sure that everyone has the same descriptor 198 00:12:33,040 --> 00:12:37,040 for every server that they use, 199 00:12:37,160 --> 00:12:38,660 and so this attack fails. 200 00:12:40,860 --> 00:12:43,880 So the remaining problems with this were, 201 00:12:45,300 --> 00:12:48,640 that a client still had to go to the caches 202 00:12:48,640 --> 00:12:51,400 and ask for separate opinions from all of the authorities. 203 00:12:53,120 --> 00:12:55,060 And depending on when they asked, 204 00:12:55,220 --> 00:12:56,340 they would get a different set. 205 00:12:56,880 --> 00:12:58,440 And if they missed just one, 206 00:12:58,660 --> 00:13:01,780 they would compute a different value 207 00:13:01,780 --> 00:13:04,080 of what the consensus was for the different authorities. 208 00:13:04,620 --> 00:13:06,240 So what we're implementing right now, 209 00:13:06,440 --> 00:13:08,560 and I have it mostly done, 210 00:13:08,620 --> 00:13:10,800 but we still need to debug and test and actually deploy it, 211 00:13:10,860 --> 00:13:13,140 is a voting system where the authorities, 212 00:13:13,140 --> 00:13:15,500 now there are five, but I couldn't fit all five on the slide, 213 00:13:15,740 --> 00:13:19,540 get together and vote on a multiply signed consensus status document. 214 00:13:20,260 --> 00:13:22,420 To do this, they get together every hour or so, 215 00:13:22,580 --> 00:13:25,940 and they all send each other each other's opinions. 216 00:13:26,300 --> 00:13:28,060 Once they've got all the ones that they're getting, 217 00:13:28,220 --> 00:13:31,620 they figure out, alright, what will the result of the vote be? 218 00:13:31,960 --> 00:13:33,320 They sign the results of the vote. 219 00:13:33,580 --> 00:13:35,040 It should be the same for all of them. 220 00:13:36,240 --> 00:13:40,540 Then, if it isn't, then they use whatever gets signed by the most authorities. 221 00:13:41,260 --> 00:13:43,120 Then they distribute signatures to each other. 222 00:13:43,140 --> 00:13:45,680 And until they have a single consensus, 223 00:13:46,120 --> 00:13:47,580 with lots of signatures on it, 224 00:13:48,080 --> 00:13:49,820 and the clients download these from the caches, 225 00:13:50,240 --> 00:13:51,100 check the signatures. 226 00:13:51,600 --> 00:13:54,420 If they can get one that's signed by more than half of the authorities they know, 227 00:13:54,520 --> 00:13:55,180 then they use it. 228 00:13:55,440 --> 00:13:56,000 And yeah. 229 00:13:56,800 --> 00:13:58,900 And at some point in here, I guess we collected all the underpants. 230 00:14:00,500 --> 00:14:02,720 So, also, there's more than just yes, no 231 00:14:03,160 --> 00:14:05,720 for each server in these statuses. 232 00:14:05,780 --> 00:14:07,520 There's lots of different flags that we set. 233 00:14:08,040 --> 00:14:10,360 There's named, which is, so, 234 00:14:11,620 --> 00:14:13,120 will, do we guarantee that this is, 235 00:14:13,140 --> 00:14:14,700 the only server called such and such? 236 00:14:15,040 --> 00:14:17,560 Or, could there be other servers called such and such? 237 00:14:18,440 --> 00:14:19,720 Is it running right now? 238 00:14:20,500 --> 00:14:21,380 Is it valid? 239 00:14:21,840 --> 00:14:22,940 Valid is pretty nebulous. 240 00:14:23,020 --> 00:14:24,560 It basically means that 241 00:14:25,140 --> 00:14:27,660 we don't know any reason to totally distrust it. 242 00:14:29,680 --> 00:14:30,560 But, um, 243 00:14:31,500 --> 00:14:33,360 we often don't find out about bad stuff. 244 00:14:33,540 --> 00:14:36,160 That's why we try to be resilient against some kinds of failures. 245 00:14:36,400 --> 00:14:37,400 Is it fast? 246 00:14:38,000 --> 00:14:40,700 Is it stable, or is it likely to go down pretty often? 247 00:14:41,220 --> 00:14:42,580 Is it a bad exit? 248 00:14:43,140 --> 00:14:44,320 Is it an exit at all? 249 00:14:44,360 --> 00:14:45,220 Will it relay traffic? 250 00:14:46,300 --> 00:14:47,360 Is it a current authority? 251 00:14:47,760 --> 00:14:49,200 And can you use it as a guard? 252 00:14:49,280 --> 00:14:50,680 I'll talk more about guards later. 253 00:14:51,660 --> 00:14:54,340 One of the neat things about our architecture now is that, 254 00:14:54,380 --> 00:14:57,680 although actually determining these flags can be hard, 255 00:14:58,260 --> 00:14:58,920 all we need to, 256 00:14:58,980 --> 00:15:01,840 the only thing that's really set in stone and sort of hard to change 257 00:15:01,840 --> 00:15:04,160 is how clients interpret these flags. 258 00:15:04,640 --> 00:15:09,780 So, if fast means use this in a circuit that you will need high bandwidth on, 259 00:15:10,900 --> 00:15:12,380 then clients will have that behavior. 260 00:15:12,380 --> 00:15:16,060 And we can later on get more and more sophisticated at the authorities 261 00:15:17,420 --> 00:15:20,800 about detecting which servers are likely to be fast or not. 262 00:15:21,280 --> 00:15:24,720 And so clients will get better performance without having to upgrade. 263 00:15:25,640 --> 00:15:27,940 Although, once again, please do upgrade. 264 00:15:28,680 --> 00:15:29,120 Really. 265 00:15:30,440 --> 00:15:32,820 So other changes that we've made are in path generation. 266 00:15:33,740 --> 00:15:37,220 So, you'll remember how Alice selected a path through the network herself. 267 00:15:37,900 --> 00:15:40,580 Because if she asked someone else to do it, they might lead her astray. 268 00:15:40,580 --> 00:15:43,440 Well, one problem is in 2004, 269 00:15:43,700 --> 00:15:46,760 all of our servers were chosen with roughly equal probability, 270 00:15:47,700 --> 00:15:48,960 regardless of their capacity. 271 00:15:49,280 --> 00:15:51,860 So even if your bandwidth was x, 272 00:15:52,100 --> 00:15:54,820 and someone else's bandwidth was 2x, 273 00:15:54,940 --> 00:15:56,580 and someone else's bandwidth was 4x, 274 00:15:57,180 --> 00:16:00,420 you'd all get chosen for the same number of circuits. 275 00:16:00,760 --> 00:16:04,120 And that meant that big servers had lots of capacity that no one was asking for, 276 00:16:04,260 --> 00:16:06,840 and tiny servers were overloaded. 277 00:16:08,140 --> 00:16:10,560 I say the asterisk on the right, 278 00:16:10,580 --> 00:16:15,560 but the asterisk on equal is that we would also select based on your exit policy. 279 00:16:15,760 --> 00:16:16,760 That is your statement of, 280 00:16:16,900 --> 00:16:19,900 for the last hop, if you want a webpage, 281 00:16:20,200 --> 00:16:23,040 we need somebody who will allow you to exit to port 80. 282 00:16:23,580 --> 00:16:26,000 We wanted to make sure that people could run Tor servers 283 00:16:26,580 --> 00:16:28,000 without relaying arbitrary traffic. 284 00:16:28,300 --> 00:16:32,760 So we built exit policies so that everyone can select 285 00:16:32,760 --> 00:16:34,440 which kind of traffic they'd like to relay. 286 00:16:35,460 --> 00:16:37,920 This means, though, that clients need to know these exit policies 287 00:16:37,920 --> 00:16:40,260 so they can find one that relays the traffic they want. 288 00:16:40,880 --> 00:16:42,160 But anyway, back to bandwidth. 289 00:16:42,380 --> 00:16:43,680 So the obvious solution was 290 00:16:44,540 --> 00:16:47,060 choose probability proportional to bandwidth. 291 00:16:47,800 --> 00:16:49,060 Which was a pretty good idea, 292 00:16:49,200 --> 00:16:52,200 and of course you need to select the believable bandwidth 293 00:16:52,200 --> 00:16:53,640 so that if someone says, 294 00:16:53,920 --> 00:16:59,540 hey, I can push really, really enormous amounts of traffic, 295 00:16:59,640 --> 00:17:00,040 no really, 296 00:17:00,260 --> 00:17:03,760 you don't give them 99% of the circuits. 297 00:17:04,600 --> 00:17:06,940 This is bad, first because of trust bottlenecks, 298 00:17:06,980 --> 00:17:08,040 they would get all of the circuits, 299 00:17:08,240 --> 00:17:09,060 and second, 300 00:17:09,060 --> 00:17:11,440 because of resource bottlenecks, 301 00:17:11,540 --> 00:17:14,340 you could DOS the network by sending all of the traffic 302 00:17:14,340 --> 00:17:16,940 to a server that couldn't handle it. 303 00:17:19,140 --> 00:17:21,280 So another problem is unstable servers. 304 00:17:21,800 --> 00:17:24,040 Say you've got some servers that go down every hour or so, 305 00:17:24,160 --> 00:17:26,240 and some servers that go down every 10 days or so. 306 00:17:26,560 --> 00:17:29,480 Well, a server that goes down every hour or so for a little while 307 00:17:29,480 --> 00:17:31,360 is still pretty useful for web connections, 308 00:17:31,800 --> 00:17:34,680 because most HTTP requests don't take an hour to fulfill. 309 00:17:35,620 --> 00:17:37,240 Whereas you don't want to use something like that 310 00:17:37,240 --> 00:17:38,920 for your IM or your SSH, 311 00:17:39,060 --> 00:17:41,100 or any time when you want a really long-lived connection. 312 00:17:42,320 --> 00:17:44,860 So what we've done also is started tracking uptime, 313 00:17:45,040 --> 00:17:49,060 and when you have a server with really big uptime, 314 00:17:49,100 --> 00:17:50,160 we label it as stable, 315 00:17:50,280 --> 00:17:53,280 and we remember which ports need stable connections. 316 00:17:54,080 --> 00:17:56,880 That's configurable if you know of one that we don't. 317 00:17:57,220 --> 00:18:00,380 So when a client wants to connect to port 22, 318 00:18:00,560 --> 00:18:01,400 which is SSH, 319 00:18:01,560 --> 00:18:05,680 it will select a path consisting only of stable servers. 320 00:18:06,160 --> 00:18:07,480 Whereas when it wants a web page, 321 00:18:07,480 --> 00:18:09,760 it won't restrict itself to stable servers. 322 00:18:12,060 --> 00:18:14,860 So originally we selected paths at random. 323 00:18:15,540 --> 00:18:16,980 This bit is a little tricky. 324 00:18:17,120 --> 00:18:19,040 I'll try to go a little slow here. 325 00:18:20,300 --> 00:18:24,420 And the problem with this is profiling. 326 00:18:24,860 --> 00:18:28,720 So what you're trying to avoid in a network like this 327 00:18:28,720 --> 00:18:32,100 isn't necessarily just some of your connections get broken. 328 00:18:32,740 --> 00:18:35,020 Sometimes it's bad if any of your connections get broken. 329 00:18:35,480 --> 00:18:36,280 For instance, 330 00:18:36,280 --> 00:18:41,080 if you visit, say, cuteoverload.com every morning 331 00:18:41,080 --> 00:18:43,980 in order to see pictures of adorable kittens and hamsters, 332 00:18:44,140 --> 00:18:48,380 and you don't want anyone to know this because you're trying to be really tough, 333 00:18:48,540 --> 00:18:50,160 you're in the Hell's Angels or something, 334 00:18:52,600 --> 00:18:54,680 then what you're trying to avoid is not, 335 00:18:55,280 --> 00:18:55,580 sometimes, 336 00:18:56,400 --> 00:19:01,120 is not any particular eavesdropping in discovering that you go to cuteoverload. 337 00:19:01,540 --> 00:19:04,780 You're trying to avoid anyone ever knowing that you go there. 338 00:19:04,900 --> 00:19:05,880 So if even once, 339 00:19:05,880 --> 00:19:07,640 your stream to there is compromised, 340 00:19:07,940 --> 00:19:08,660 you lose. 341 00:19:09,560 --> 00:19:11,740 So what this means is that 342 00:19:11,740 --> 00:19:15,400 if you keep picking a new first and last node every morning, 343 00:19:15,880 --> 00:19:16,320 eventually, 344 00:19:16,820 --> 00:19:18,360 you will get unlucky, 345 00:19:18,960 --> 00:19:19,840 and eventually, 346 00:19:20,020 --> 00:19:22,640 you will choose a first node that's trying to get you, 347 00:19:22,700 --> 00:19:24,340 and a bad node that's trying to get you, 348 00:19:24,420 --> 00:19:26,620 and everyone down at the biker bar will find out, you know, 349 00:19:26,700 --> 00:19:28,340 we'll call you Hamster Guy, 350 00:19:28,560 --> 00:19:29,360 and that's no good. 351 00:19:30,460 --> 00:19:30,900 So, 352 00:19:32,220 --> 00:19:34,500 the trick here is to choose some fixed, 353 00:19:34,500 --> 00:19:36,540 some fixed first hops. 354 00:19:37,280 --> 00:19:38,860 Choose a few that are your favorite. 355 00:19:39,800 --> 00:19:40,920 If they are compromised, 356 00:19:41,120 --> 00:19:41,560 you lose. 357 00:19:42,580 --> 00:19:43,020 However, 358 00:19:43,200 --> 00:19:44,220 if they aren't, 359 00:19:44,720 --> 00:19:46,280 then you're actually in decent shape now, 360 00:19:46,400 --> 00:19:49,660 because now you will not eventually choose a bad first hop. 361 00:19:51,080 --> 00:19:52,520 This idea isn't original to us. 362 00:19:52,620 --> 00:19:53,920 It was originally called helper nodes. 363 00:19:54,580 --> 00:20:00,040 We did some user surveys and figured out that nobody could tell what helper meant in this case, 364 00:20:00,200 --> 00:20:01,920 so we chose guard instead. 365 00:20:03,360 --> 00:20:03,800 And, 366 00:20:03,800 --> 00:20:04,320 you know, 367 00:20:04,320 --> 00:20:05,040 if your guards are good, 368 00:20:05,160 --> 00:20:08,880 then you are fine permanently. 369 00:20:09,660 --> 00:20:10,000 However, 370 00:20:10,160 --> 00:20:11,080 if your guards are bad, 371 00:20:11,120 --> 00:20:11,540 you're still fine, 372 00:20:11,640 --> 00:20:15,740 but at least now you've got a chance that your love of hamsters will be kept secret. 373 00:20:16,860 --> 00:20:17,200 So, 374 00:20:17,240 --> 00:20:18,740 what if the guard nodes go down? 375 00:20:18,900 --> 00:20:20,380 I said they were held fixed, 376 00:20:20,940 --> 00:20:24,400 but we actually needed a way to handle it if one of them goes down. 377 00:20:24,560 --> 00:20:24,760 Well, 378 00:20:25,600 --> 00:20:26,560 you've got to pick some more. 379 00:20:27,080 --> 00:20:30,620 But the trick is that you don't want to eventually go through the whole network, 380 00:20:30,960 --> 00:20:32,560 so you've got to make sure that when they come up again, 381 00:20:32,560 --> 00:20:34,920 you go back to your original set of guard nodes. 382 00:20:35,100 --> 00:20:36,160 So you keep them in order, 383 00:20:36,260 --> 00:20:40,860 and you use the first three for certain values of three 384 00:20:40,860 --> 00:20:42,980 that happen to be up at any given moment. 385 00:20:43,620 --> 00:20:44,440 So, you know, 386 00:20:44,460 --> 00:20:45,140 you may have a list of ten. 387 00:20:45,220 --> 00:20:46,080 If the first one is up, 388 00:20:46,100 --> 00:20:46,780 and the second is down, 389 00:20:46,820 --> 00:20:47,460 and the third is down, 390 00:20:47,560 --> 00:20:48,620 and the fourth is up, 391 00:20:48,720 --> 00:20:49,920 use the first and the fourth. 392 00:20:51,020 --> 00:20:52,660 And it's even more complicated than this, 393 00:20:52,800 --> 00:20:56,560 and Mike Perry might talk about this at his talk, 394 00:20:56,680 --> 00:20:58,980 or he might have already enough stuff to talk about. 395 00:21:00,040 --> 00:21:00,400 So, 396 00:21:00,400 --> 00:21:01,580 another problem is that 397 00:21:01,580 --> 00:21:03,780 old Tor builds circuits on demand. 398 00:21:04,140 --> 00:21:04,900 You would say, 399 00:21:05,020 --> 00:21:05,520 um, 400 00:21:05,740 --> 00:21:06,660 I want to connect to IM, 401 00:21:06,860 --> 00:21:09,100 and then it would go to the first hop and do some public key, 402 00:21:09,260 --> 00:21:11,260 then it would extend to the second hop and do some public key, 403 00:21:11,460 --> 00:21:12,880 then it would extend to the third hop, 404 00:21:13,020 --> 00:21:13,420 fail, 405 00:21:13,660 --> 00:21:15,280 because the third hop wasn't there anymore, 406 00:21:15,420 --> 00:21:16,740 go oh crap and start all over, 407 00:21:16,900 --> 00:21:19,420 and meanwhile you are waiting for your website to load. 408 00:21:20,660 --> 00:21:21,060 So, 409 00:21:21,480 --> 00:21:21,880 instead, 410 00:21:21,960 --> 00:21:23,960 we predict which ports you're going to want, 411 00:21:24,100 --> 00:21:25,880 and preemptively build circuits there. 412 00:21:26,460 --> 00:21:26,860 So, 413 00:21:26,920 --> 00:21:28,980 if you've been asking for port 80, 414 00:21:29,080 --> 00:21:29,640 port 22, 415 00:21:29,640 --> 00:21:31,360 and port 8001, 416 00:21:31,520 --> 00:21:32,440 we try to make, 417 00:21:32,520 --> 00:21:33,880 and you seem to be online recently, 418 00:21:34,180 --> 00:21:36,040 we try to make sure that you've got live circuits 419 00:21:36,500 --> 00:21:37,380 ready for use 420 00:21:37,380 --> 00:21:38,320 to those ports. 421 00:21:40,080 --> 00:21:40,500 Also, 422 00:21:40,620 --> 00:21:43,040 in case you ask for something that we can't do, 423 00:21:43,280 --> 00:21:45,200 we cannibalize an existing circuit, 424 00:21:45,340 --> 00:21:47,940 and try to extend it only one hop and see if that works. 425 00:21:48,200 --> 00:21:48,800 That way, 426 00:21:48,960 --> 00:21:50,340 it's still a little slow, 427 00:21:50,540 --> 00:21:51,180 but it's still, 428 00:21:52,060 --> 00:21:53,320 but it's faster than 429 00:21:53,320 --> 00:21:54,940 if we had built the circuit from fa- 430 00:21:54,940 --> 00:21:55,820 from scratch. 431 00:21:58,260 --> 00:21:59,240 How am I doing? 432 00:21:59,320 --> 00:21:59,500 Wow, 433 00:21:59,620 --> 00:22:00,640 I'm doing really well for time. 434 00:22:00,960 --> 00:22:01,860 Must be the caffeine. 435 00:22:02,700 --> 00:22:03,100 Alright, 436 00:22:03,560 --> 00:22:04,000 um, 437 00:22:05,100 --> 00:22:05,540 so, 438 00:22:06,660 --> 00:22:09,160 previously we would extend by IP and port. 439 00:22:09,240 --> 00:22:09,440 That is, 440 00:22:09,440 --> 00:22:09,860 when you wanted, 441 00:22:10,060 --> 00:22:11,480 when you were connected to server 1, 442 00:22:11,620 --> 00:22:12,520 and you wanted to connect 443 00:22:13,180 --> 00:22:14,240 to server 2, 444 00:22:14,320 --> 00:22:15,500 or extend to server 2, 445 00:22:15,960 --> 00:22:16,760 you would say, 446 00:22:16,880 --> 00:22:18,740 connect to server 2 447 00:22:18,740 --> 00:22:20,340 at this IP and this port. 448 00:22:20,800 --> 00:22:21,240 And, 449 00:22:21,320 --> 00:22:22,280 once you were there, 450 00:22:22,340 --> 00:22:23,300 you would do some handshaking 451 00:22:23,740 --> 00:22:25,040 that made pretty sure that, 452 00:22:25,040 --> 00:22:25,840 um, 453 00:22:26,200 --> 00:22:27,200 you were talking to server 2 454 00:22:27,200 --> 00:22:28,220 via public key. 455 00:22:28,440 --> 00:22:28,880 But, 456 00:22:28,980 --> 00:22:30,100 on the way there, 457 00:22:30,160 --> 00:22:30,640 server 1, 458 00:22:31,320 --> 00:22:31,760 remember, 459 00:22:31,860 --> 00:22:33,340 server 1 needed to build a TLS connection 460 00:22:33,340 --> 00:22:34,080 to server 2. 461 00:22:34,360 --> 00:22:34,800 So, 462 00:22:34,820 --> 00:22:35,580 server 1 wouldn't, 463 00:22:35,620 --> 00:22:36,580 if server 1 didn't know 464 00:22:36,580 --> 00:22:37,920 the key for server 2, 465 00:22:38,380 --> 00:22:39,400 it wouldn't know 466 00:22:39,400 --> 00:22:41,760 which certificate to expect from server 2 467 00:22:41,760 --> 00:22:42,260 when it did 468 00:22:42,260 --> 00:22:44,380 the TLS SSL handshake. 469 00:22:45,560 --> 00:22:46,000 We, 470 00:22:46,060 --> 00:22:46,580 originally, 471 00:22:46,660 --> 00:22:47,860 we thought that this wouldn't be a problem 472 00:22:47,860 --> 00:22:48,740 because all of the servers 473 00:22:48,740 --> 00:22:49,340 would 474 00:22:49,340 --> 00:22:51,180 download all of the directory often, 475 00:22:51,360 --> 00:22:52,780 and know all the other servers. 476 00:22:53,000 --> 00:22:53,860 In practice, 477 00:22:54,540 --> 00:22:55,020 this would be a problem 478 00:22:55,040 --> 00:22:55,600 if this didn't work. 479 00:22:56,020 --> 00:22:56,420 Server, 480 00:22:56,620 --> 00:22:57,200 you know, 481 00:22:57,200 --> 00:22:58,740 one server would show up in the directory, 482 00:22:58,900 --> 00:22:59,620 and one, 483 00:22:59,640 --> 00:23:00,860 and a client would find out about it 484 00:23:00,860 --> 00:23:02,100 before all the other servers did, 485 00:23:02,280 --> 00:23:03,400 and it was a bad scene. 486 00:23:04,040 --> 00:23:05,840 The solution here is to use identity key 487 00:23:05,840 --> 00:23:07,100 as well as IP. 488 00:23:08,160 --> 00:23:09,220 But you don't want to, 489 00:23:09,360 --> 00:23:10,200 so that you say, 490 00:23:10,240 --> 00:23:11,100 extend to server 2 491 00:23:11,100 --> 00:23:12,220 with this IP, 492 00:23:12,300 --> 00:23:12,660 this port, 493 00:23:12,740 --> 00:23:13,500 and this identity key. 494 00:23:14,320 --> 00:23:15,500 But you don't want to 495 00:23:16,140 --> 00:23:17,840 identify only by identity key 496 00:23:18,340 --> 00:23:20,420 because there's a fun man-in-the-middle attack here 497 00:23:21,200 --> 00:23:21,600 where 498 00:23:22,620 --> 00:23:24,720 a bad Alice tells server 1, 499 00:23:24,720 --> 00:23:27,260 that you go connect to server 2 500 00:23:27,260 --> 00:23:27,980 at this 501 00:23:28,720 --> 00:23:29,200 evil 502 00:23:29,720 --> 00:23:30,060 IP 503 00:23:30,060 --> 00:23:30,820 and this port. 504 00:23:31,260 --> 00:23:32,180 S1 goes there, 505 00:23:32,880 --> 00:23:34,800 the evil server relays the connection, 506 00:23:35,000 --> 00:23:36,380 and now the evil server, 507 00:23:36,520 --> 00:23:37,780 because of TLS, 508 00:23:37,900 --> 00:23:39,840 it can't actually read the contents of the traffic 509 00:23:39,840 --> 00:23:40,940 between S1 and S2, 510 00:23:41,480 --> 00:23:44,700 but now S1 thinks that its TLS connection to S2 511 00:23:45,600 --> 00:23:47,060 travels through the evil server, 512 00:23:47,260 --> 00:23:48,320 and so the evil server 513 00:23:48,320 --> 00:23:50,760 can look at all of the traffic patterns 514 00:23:50,760 --> 00:23:51,560 and all of the timing 515 00:23:51,560 --> 00:23:52,340 and all of the volume 516 00:23:53,120 --> 00:23:54,500 between S1 and S2, 517 00:23:54,500 --> 00:23:55,600 and try to use this 518 00:23:55,600 --> 00:23:56,580 for traffic analysis attacks. 519 00:23:57,120 --> 00:23:57,920 This was no good, 520 00:23:58,000 --> 00:23:59,680 so you need to use the identity key 521 00:23:59,680 --> 00:24:00,460 and the IP 522 00:24:00,460 --> 00:24:01,200 and the port 523 00:24:01,720 --> 00:24:02,500 to do this. 524 00:24:02,680 --> 00:24:04,720 And this took a bit of thinking, 525 00:24:04,820 --> 00:24:06,100 but it turns out it worked. 526 00:24:07,460 --> 00:24:09,300 Alright, now we're getting a little crypto-heavy. 527 00:24:10,200 --> 00:24:11,280 How many people here know 528 00:24:11,280 --> 00:24:12,040 what Diffie-Hellman is 529 00:24:12,040 --> 00:24:12,680 and how it works? 530 00:24:13,640 --> 00:24:15,060 How many people don't know, 531 00:24:15,160 --> 00:24:16,260 but would like to understand 532 00:24:16,260 --> 00:24:17,020 the next couple of slides? 533 00:24:18,440 --> 00:24:19,100 Okay, cool. 534 00:24:19,840 --> 00:24:21,420 Diffie-Hellman is a way 535 00:24:21,420 --> 00:24:24,400 that two parties can come up, 536 00:24:24,500 --> 00:24:26,200 assuming that they know 537 00:24:26,200 --> 00:24:27,200 that they're talking to each other, 538 00:24:27,340 --> 00:24:29,860 can come up with a secret key 539 00:24:29,860 --> 00:24:30,900 that no one else knows 540 00:24:33,660 --> 00:24:34,460 besides them, 541 00:24:34,560 --> 00:24:36,360 without ever sending the key over the wire. 542 00:24:37,580 --> 00:24:40,560 Basically, we use some generator G, 543 00:24:43,000 --> 00:24:44,660 like 2 to the 16th plus 1. 544 00:24:44,880 --> 00:24:46,300 We use a big prime. 545 00:24:46,440 --> 00:24:47,520 It doesn't matter if everyone knows 546 00:24:47,520 --> 00:24:48,320 what the big prime is. 547 00:24:49,040 --> 00:24:50,760 I send you G to the power of X, 548 00:24:50,920 --> 00:24:52,720 you send me G to the power of Y, 549 00:24:52,920 --> 00:24:53,940 both modulo that, 550 00:24:53,940 --> 00:24:54,980 large prime. 551 00:24:55,340 --> 00:24:56,800 We keep X and Y secret. 552 00:24:57,320 --> 00:24:59,500 So I now have G to the Y and X. 553 00:24:59,880 --> 00:25:02,580 You now have G to the X and Y. 554 00:25:04,120 --> 00:25:05,940 Well, we can now both calculate 555 00:25:05,940 --> 00:25:07,000 G to the XY, 556 00:25:07,720 --> 00:25:08,880 but nobody else can 557 00:25:08,880 --> 00:25:09,660 based on the information 558 00:25:09,660 --> 00:25:10,340 we have exchanged. 559 00:25:11,100 --> 00:25:12,100 So that's what all of this 560 00:25:12,100 --> 00:25:13,320 G to the XY stuff is about. 561 00:25:13,580 --> 00:25:14,780 And it'll come up in a minute. 562 00:25:16,000 --> 00:25:17,940 But one of the problems 563 00:25:17,940 --> 00:25:18,800 with our earlier protocol 564 00:25:18,800 --> 00:25:20,480 was it was kind of needlessly slow 565 00:25:20,480 --> 00:25:22,820 in that Alice 566 00:25:22,820 --> 00:25:24,800 and the first server in her path 567 00:25:24,800 --> 00:25:27,060 had already done all of this handshaking 568 00:25:27,060 --> 00:25:28,620 in order to establish 569 00:25:28,620 --> 00:25:31,340 their first connection via TLS. 570 00:25:32,220 --> 00:25:33,240 And then, 571 00:25:33,320 --> 00:25:34,860 they immediately did exactly 572 00:25:34,860 --> 00:25:35,940 the same handshake again 573 00:25:35,940 --> 00:25:37,740 to establish confidentiality, 574 00:25:37,760 --> 00:25:39,180 which they already had from TLS, 575 00:25:39,400 --> 00:25:41,620 to establish integrity, 576 00:25:41,880 --> 00:25:43,240 which they already had from TLS, 577 00:25:43,500 --> 00:25:45,800 and to make sure that they were really 578 00:25:45,800 --> 00:25:46,680 talking to each other, 579 00:25:46,780 --> 00:25:48,060 which TLS already guaranteed. 580 00:25:48,420 --> 00:25:49,760 So we managed to cut out 581 00:25:49,760 --> 00:25:51,500 the initial first hop crypto in half 582 00:25:51,500 --> 00:25:55,100 just by making a fast path 583 00:25:55,100 --> 00:25:57,420 for creating your first hop inside TLS. 584 00:25:58,060 --> 00:26:00,860 And that helped server CPU a little bit. 585 00:26:02,100 --> 00:26:03,840 Server CPU is way more important 586 00:26:03,840 --> 00:26:04,500 than client CPU 587 00:26:04,500 --> 00:26:05,740 because each server has to handle 588 00:26:05,740 --> 00:26:06,560 tons and tons of clients. 589 00:26:08,380 --> 00:26:09,780 And speaking of cryptography, 590 00:26:10,920 --> 00:26:12,540 there was a problem with our crypto. 591 00:26:13,000 --> 00:26:14,640 We sort of hoped that... 592 00:26:15,280 --> 00:26:16,560 Either we hadn't thought about this 593 00:26:16,560 --> 00:26:17,640 or we thought that OpenSSL 594 00:26:17,640 --> 00:26:18,360 would take care of it, 595 00:26:18,460 --> 00:26:20,680 but there were some really bad values 596 00:26:20,680 --> 00:26:23,940 for X and Y when you do Diffie-Hellman. 597 00:26:24,280 --> 00:26:26,020 For instance, if I pick 0, 598 00:26:26,720 --> 00:26:28,440 well, anything to the 0 is 1. 599 00:26:29,660 --> 00:26:31,700 So later on when you send me G to the Y 600 00:26:31,700 --> 00:26:32,660 and I raise that to the 0, 601 00:26:32,760 --> 00:26:33,580 I'll get 1. 602 00:26:34,460 --> 00:26:35,800 And the problem occurred 603 00:26:35,800 --> 00:26:38,440 when Alice was extending to... 604 00:26:38,900 --> 00:26:40,940 through a bad server to a good server. 605 00:26:41,600 --> 00:26:42,740 She would send something 606 00:26:44,000 --> 00:26:45,860 encrypted with server 2's public key, 607 00:26:45,960 --> 00:26:48,200 saying G to the X. 608 00:26:48,820 --> 00:26:49,960 The bad server knows 609 00:26:49,960 --> 00:26:50,900 server 2's public key, 610 00:26:50,960 --> 00:26:53,120 so the bad server can replace it 611 00:26:53,120 --> 00:26:55,740 with G to the 0, 612 00:26:55,980 --> 00:26:57,340 encrypted with server 2's key. 613 00:26:58,080 --> 00:26:59,260 Server 2 will send back, 614 00:26:59,360 --> 00:27:02,180 okay, you picked 1. 615 00:27:02,360 --> 00:27:02,760 Okay. 616 00:27:03,040 --> 00:27:04,900 1 to the Y is 1. 617 00:27:05,300 --> 00:27:06,760 And it will send back G to the Y. 618 00:27:07,280 --> 00:27:08,880 And the bad server could then replace 619 00:27:08,880 --> 00:27:10,520 G to the Y with G to the 0 again. 620 00:27:11,020 --> 00:27:12,640 And now the client and the server 621 00:27:13,280 --> 00:27:14,520 think they have a secret key 622 00:27:14,520 --> 00:27:15,320 that no one else knows. 623 00:27:15,460 --> 00:27:16,580 And their secret key is 1. 624 00:27:18,040 --> 00:27:19,080 And while yes, 625 00:27:19,080 --> 00:27:20,500 1 is as good a random number 626 00:27:20,500 --> 00:27:21,260 as any other number, 627 00:27:21,520 --> 00:27:23,900 when it's forced, that's bad. 628 00:27:25,980 --> 00:27:28,740 So this was pointed out to us by... 629 00:27:30,440 --> 00:27:32,080 Hey, Roger, was this one 630 00:27:32,080 --> 00:27:33,540 that an anonymous person told us about? 631 00:27:34,260 --> 00:27:36,500 Yeah, we got an anonymous tip on this one. 632 00:27:36,760 --> 00:27:38,360 We still don't know who found this. 633 00:27:38,540 --> 00:27:39,900 If you ever want to fess up, 634 00:27:40,060 --> 00:27:40,960 that would be really cool 635 00:27:40,960 --> 00:27:42,380 because we think you're cool. 636 00:27:43,760 --> 00:27:45,040 But anyway, once we fixed this, 637 00:27:45,360 --> 00:27:47,520 Ian Goldberg, who's a prof at... 638 00:27:48,960 --> 00:27:50,520 University of Waterloo in Canada, 639 00:27:50,620 --> 00:27:53,840 managed to prove that this aspect 640 00:27:53,840 --> 00:27:55,020 of our protocol at least was secure. 641 00:27:55,540 --> 00:27:58,700 Also, we sent in a patch to OpenSSL for this. 642 00:27:59,000 --> 00:28:01,160 So if you're using a recent version of OpenSSL 643 00:28:01,160 --> 00:28:02,380 to build your crypto protocol 644 00:28:02,380 --> 00:28:03,420 and you just went, 645 00:28:03,540 --> 00:28:06,020 oh, crap, don't worry, 646 00:28:06,120 --> 00:28:07,620 OpenSSL will now catch this for you. 647 00:28:11,600 --> 00:28:13,220 So, new tools and features. 648 00:28:15,440 --> 00:28:16,840 So in the old version of Tor, 649 00:28:16,840 --> 00:28:18,180 everyone had to speak SOX. 650 00:28:19,160 --> 00:28:20,400 SOX was all that we understood. 651 00:28:20,720 --> 00:28:22,120 And the way SOX works is 652 00:28:22,640 --> 00:28:24,760 you want to do an anonymous TCP connection 653 00:28:24,760 --> 00:28:27,920 to a certain IP and a certain port. 654 00:28:28,480 --> 00:28:30,400 So you connect to your local SOX proxy 655 00:28:30,400 --> 00:28:31,180 and you say, 656 00:28:31,640 --> 00:28:34,000 connect me to this IP and this port. 657 00:28:34,320 --> 00:28:35,720 And it goes off and it does it. 658 00:28:35,880 --> 00:28:37,700 In Tor's case, it builds all of the circuits. 659 00:28:37,840 --> 00:28:39,200 In a normal SOX case, 660 00:28:39,460 --> 00:28:42,580 it just grabs a TCP stream. 661 00:28:43,160 --> 00:28:44,560 It just opens a TCP stream 662 00:28:44,560 --> 00:28:45,540 to wherever you're going usually. 663 00:28:46,880 --> 00:28:48,860 Well, the problem with this is, 664 00:28:49,040 --> 00:28:50,000 in some cases, it's easy. 665 00:28:50,500 --> 00:28:51,400 If you have, 666 00:28:52,260 --> 00:28:53,980 maybe your browser speaks SOX already. 667 00:28:54,860 --> 00:28:56,760 Maybe your browser goes to a proxy 668 00:28:56,760 --> 00:28:58,260 that does some useful stuff for you, 669 00:28:58,340 --> 00:29:00,520 like Provoxy, which filters out 670 00:29:00,520 --> 00:29:01,440 certain kinds of headers. 671 00:29:02,020 --> 00:29:04,120 Or Polypo, which is pretty fast 672 00:29:04,680 --> 00:29:06,380 and can filter out certain kinds of headers. 673 00:29:06,560 --> 00:29:08,040 And that converts it to SOX. 674 00:29:08,540 --> 00:29:10,500 Maybe you're using an application like Game, 675 00:29:10,600 --> 00:29:12,360 which I guess is now called Pigeon or something. 676 00:29:13,220 --> 00:29:14,600 It's an IM client. It's pretty good. 677 00:29:14,700 --> 00:29:15,620 It speaks SOX already. 678 00:29:15,620 --> 00:29:17,860 But say you've got some monstrous application 679 00:29:18,480 --> 00:29:20,120 that does a bad job of SOX. 680 00:29:20,900 --> 00:29:22,220 What could you do? 681 00:29:22,920 --> 00:29:24,200 Well, we had some solutions. 682 00:29:24,300 --> 00:29:25,100 They all kind of sucked. 683 00:29:25,300 --> 00:29:27,480 But, you know, you can use 684 00:29:27,480 --> 00:29:29,880 something like TSOX or DSOX 685 00:29:29,880 --> 00:29:32,380 to replace all of the libc calls 686 00:29:32,380 --> 00:29:34,440 to connect and so on 687 00:29:34,440 --> 00:29:37,880 with calls to SOXified equivalents. 688 00:29:38,180 --> 00:29:41,720 This works on most free Unixes. 689 00:29:41,760 --> 00:29:44,080 This doesn't work on OSX. 690 00:29:44,240 --> 00:29:45,600 For some, if you know something, 691 00:29:45,620 --> 00:29:49,220 if you know how to shim libc calls in OSX, 692 00:29:49,380 --> 00:29:51,160 please tell me, because 693 00:29:52,180 --> 00:29:53,700 we searched pretty hard 694 00:29:53,700 --> 00:29:54,580 and didn't find a good way. 695 00:29:55,100 --> 00:29:56,580 DSOX can sort of do it, but not too well. 696 00:29:57,120 --> 00:29:58,600 And Windows was pretty screwed. 697 00:30:00,300 --> 00:30:00,700 Here. 698 00:30:02,060 --> 00:30:03,840 You could do a net driver 699 00:30:03,840 --> 00:30:05,320 that converted everything to SOX, 700 00:30:06,520 --> 00:30:07,700 but that kind of sucked. 701 00:30:09,480 --> 00:30:11,120 Another solution was... 702 00:30:11,120 --> 00:30:12,380 Well, actually, no, that wasn't a good solution. 703 00:30:12,560 --> 00:30:13,240 Never mind. All right. 704 00:30:14,100 --> 00:30:14,660 So... 705 00:30:16,540 --> 00:30:18,260 Something that we've added recently, though, 706 00:30:18,340 --> 00:30:19,700 that's turned out to be pretty useful, 707 00:30:19,840 --> 00:30:22,440 especially for integrators, 708 00:30:22,560 --> 00:30:25,640 is IP tables on Linux 709 00:30:26,120 --> 00:30:29,580 and PF on BSD and OSX 710 00:30:30,240 --> 00:30:32,520 support transparent proxying, 711 00:30:32,620 --> 00:30:34,900 which means that you can tell your firewall rules, 712 00:30:35,080 --> 00:30:36,920 redirect every TCP stream 713 00:30:36,920 --> 00:30:38,540 to this local port, 714 00:30:39,080 --> 00:30:40,440 which any good firewall can do already. 715 00:30:40,880 --> 00:30:43,200 But what they add is that features 716 00:30:43,240 --> 00:30:44,600 where the application can then say, 717 00:30:44,820 --> 00:30:47,440 um, hey, kernel, hey, network stack, 718 00:30:48,020 --> 00:30:48,880 I just got this connection. 719 00:30:49,380 --> 00:30:51,280 Where did the application want it to go? 720 00:30:51,520 --> 00:30:52,820 And once you know that, 721 00:30:53,340 --> 00:30:55,080 you, as Tor, can now build 722 00:30:55,080 --> 00:30:56,760 a connection to the right place, 723 00:30:56,900 --> 00:30:58,760 and the application never needed to speak SOX 724 00:30:58,760 --> 00:30:59,380 in the first place. 725 00:30:59,980 --> 00:31:01,620 Another neat solution that's getting popular 726 00:31:01,620 --> 00:31:04,240 and is being used by tools like GenesVM 727 00:31:04,240 --> 00:31:06,860 is to actually have a VM 728 00:31:06,860 --> 00:31:08,280 being your router. 729 00:31:08,400 --> 00:31:11,320 So you set your router to a local virtual machine, 730 00:31:11,320 --> 00:31:13,680 which is using tricks like this 731 00:31:13,680 --> 00:31:16,240 to convert all of your traffic to Tor, 732 00:31:16,380 --> 00:31:18,100 and because this machine is your router, 733 00:31:18,640 --> 00:31:20,380 you don't need to worry about applications 734 00:31:20,380 --> 00:31:22,420 accidentally sending traffic somewhere else 735 00:31:22,420 --> 00:31:23,440 besides your router. 736 00:31:25,820 --> 00:31:27,500 So another problem that we had, 737 00:31:27,560 --> 00:31:29,180 and have had for a really long time, 738 00:31:29,360 --> 00:31:30,660 is DNS leaks. 739 00:31:31,420 --> 00:31:32,560 Say you have an application 740 00:31:32,560 --> 00:31:34,160 that is written like most applications. 741 00:31:35,020 --> 00:31:37,100 You ask to connect to naughty.com. 742 00:31:37,420 --> 00:31:39,320 I have no idea what's at naughty.com. 743 00:31:39,460 --> 00:31:39,780 I don't... 744 00:31:39,780 --> 00:31:41,200 I probably should have looked it up first 745 00:31:41,200 --> 00:31:42,900 to see what I've just linked to in my slide. 746 00:31:43,000 --> 00:31:43,180 Oh, well. 747 00:31:44,880 --> 00:31:47,280 So your application will do a DNS lookup 748 00:31:47,280 --> 00:31:48,720 and say, where is naughty.com? 749 00:31:49,000 --> 00:31:50,220 Your DNS server will say 750 00:31:50,220 --> 00:31:52,340 the address of naughty.com, 1234. 751 00:31:52,860 --> 00:31:54,660 This is not the actual address of naughty.com. 752 00:31:55,020 --> 00:31:57,220 And then your dumb application will go to Tor 753 00:31:57,220 --> 00:31:59,240 and say, over SOX, and say, 754 00:31:59,360 --> 00:32:00,440 get me 1234. 755 00:32:01,180 --> 00:32:02,380 Now, you can see the problem here. 756 00:32:02,740 --> 00:32:05,520 You just broadcast to your DNS server, 757 00:32:05,860 --> 00:32:08,160 hey, I'm looking for naughty.com. 758 00:32:08,420 --> 00:32:09,440 And then you use Tor 759 00:32:09,440 --> 00:32:11,340 to go anonymously somewhere. 760 00:32:11,860 --> 00:32:14,900 No one can tell, except your DNS server. 761 00:32:16,080 --> 00:32:18,800 And if your DNS server did a recursive lookup, 762 00:32:18,940 --> 00:32:22,560 well, yeah, a lot more people now know. 763 00:32:23,720 --> 00:32:27,080 So one solution that we had to recommend for a while 764 00:32:27,080 --> 00:32:29,100 is there are variants of SOX 765 00:32:29,100 --> 00:32:30,500 that instead of an IP address, 766 00:32:30,580 --> 00:32:32,620 take a host name. 767 00:32:33,100 --> 00:32:35,740 SOX 4a always takes a host name. 768 00:32:36,060 --> 00:32:39,020 SOX 5 optionally took a host name. 769 00:32:39,440 --> 00:32:42,120 So we had to find applications 770 00:32:42,120 --> 00:32:44,280 that either supported SOX 4a 771 00:32:44,280 --> 00:32:46,700 or that claimed to support SOX 5 772 00:32:46,700 --> 00:32:48,220 and could actually do it right. 773 00:32:49,280 --> 00:32:50,780 This is kind of hard to find 774 00:32:50,780 --> 00:32:51,800 and hard to explain 775 00:32:51,800 --> 00:32:53,520 and hard to convince application writers 776 00:32:53,520 --> 00:32:55,140 that they actually want to do it 777 00:32:55,140 --> 00:32:57,920 because the whole first lookup, 778 00:32:57,920 --> 00:32:59,540 then connect path 779 00:32:59,540 --> 00:33:01,680 is pretty firmly hard-coded 780 00:33:01,680 --> 00:33:02,500 in a lot of applications. 781 00:33:02,940 --> 00:33:06,900 And our user base still isn't quite big enough 782 00:33:06,900 --> 00:33:09,200 to, like, force the IE team 783 00:33:09,200 --> 00:33:10,120 to do whatever we say. 784 00:33:11,580 --> 00:33:13,600 So new solution is that Tor, 785 00:33:13,780 --> 00:33:16,480 as of 0202 alpha, 786 00:33:17,080 --> 00:33:18,820 now can act as a DNS server. 787 00:33:19,260 --> 00:33:21,140 So you set Tor as your DNS server, 788 00:33:21,240 --> 00:33:21,900 either by saying, 789 00:33:21,940 --> 00:33:23,460 hey, Tor, listen on port 53, 790 00:33:24,080 --> 00:33:26,780 or hey, Tor, listen on port such and such, 791 00:33:26,920 --> 00:33:29,500 hey, firewall, forward 53 to such and such. 792 00:33:30,220 --> 00:33:32,480 And then you set up local host Tor 793 00:33:32,480 --> 00:33:34,200 as your DNS resolver. 794 00:33:34,680 --> 00:33:35,880 And now when you ask Tor, 795 00:33:36,380 --> 00:33:38,640 it just does the lookup for you 796 00:33:38,640 --> 00:33:40,660 anonymously, sends you back the answer, 797 00:33:40,800 --> 00:33:42,300 and when you connect there, you're fine. 798 00:33:43,180 --> 00:33:45,080 Another neat feature about this 799 00:33:45,080 --> 00:33:46,580 is that, um, 800 00:33:46,840 --> 00:33:48,580 so there are some special addresses 801 00:33:48,580 --> 00:33:50,320 that Tor knows how to handle, 802 00:33:50,460 --> 00:33:52,420 like addresses that end with .onion 803 00:33:52,420 --> 00:33:53,320 are for hidden services, 804 00:33:53,760 --> 00:33:55,060 which I won't talk about here. 805 00:33:56,540 --> 00:33:58,140 Addresses that end in .exit 806 00:33:58,140 --> 00:34:00,760 force Tor to use 807 00:34:00,760 --> 00:34:02,820 a exit node that you have selected. 808 00:34:04,060 --> 00:34:04,940 So previously, 809 00:34:05,220 --> 00:34:07,040 if you sent one of these to your DNS server, 810 00:34:07,040 --> 00:34:08,880 your DNS server would have no idea 811 00:34:08,880 --> 00:34:09,500 what to do with it. 812 00:34:10,120 --> 00:34:11,460 Now Tor can remember, 813 00:34:11,680 --> 00:34:13,940 oh, hey, you asked for, um, 814 00:34:14,120 --> 00:34:17,820 nauti.com.suchandsuch.exit. 815 00:34:18,400 --> 00:34:20,000 I'm going to send you back an IP 816 00:34:22,360 --> 00:34:24,460 that isn't the IP of nauti.com, 817 00:34:24,620 --> 00:34:26,160 it's an IP that I will remember, 818 00:34:26,620 --> 00:34:27,780 so that later on, 819 00:34:27,820 --> 00:34:30,000 when you ask Tor for that IP, 820 00:34:30,120 --> 00:34:31,360 it says, okay, this means 821 00:34:31,360 --> 00:34:34,000 go to nauti.com using such and such as an exit. 822 00:34:34,640 --> 00:34:36,180 And we choose IPs 823 00:34:36,180 --> 00:34:38,500 for this from 127. 824 00:34:39,340 --> 00:34:41,640 and then the high parts 825 00:34:41,640 --> 00:34:42,300 of net 127, 826 00:34:43,080 --> 00:34:45,120 so that if you screw up 827 00:34:45,120 --> 00:34:46,880 and actually try to connect to one of these, 828 00:34:47,020 --> 00:34:48,780 the connection won't leave localhost. 829 00:34:51,140 --> 00:34:52,820 Another problem we've had is that editing 830 00:34:52,820 --> 00:34:55,180 text files, alright, it's not as hard 831 00:34:55,180 --> 00:34:56,460 for people in this room, most likely, 832 00:34:56,600 --> 00:34:59,260 but remember that anonymity networks 833 00:34:59,260 --> 00:35:00,560 hide users among users. 834 00:35:01,620 --> 00:35:02,820 So, you know, 835 00:35:02,880 --> 00:35:05,200 if a system that's only usable by the people 836 00:35:05,200 --> 00:35:05,800 in this room 837 00:35:06,780 --> 00:35:08,700 is not nearly so good as a system 838 00:35:08,700 --> 00:35:11,480 that's used by nearly everyone, 839 00:35:12,160 --> 00:35:14,040 it's because it's more useful to hide 840 00:35:14,040 --> 00:35:15,540 among 200,000 users 841 00:35:15,540 --> 00:35:18,020 than it is to hide among a couple hundred users. 842 00:35:18,760 --> 00:35:20,740 So what we did is we made an interface 843 00:35:21,320 --> 00:35:23,600 that, um, a so-called control interface 844 00:35:24,160 --> 00:35:25,340 that listens on a local port, 845 00:35:25,480 --> 00:35:28,320 and different applications can connect to it 846 00:35:28,320 --> 00:35:30,120 and be your GUI. 847 00:35:30,440 --> 00:35:31,640 And it also lets you, 848 00:35:31,660 --> 00:35:33,580 and they can do configuration, 849 00:35:33,580 --> 00:35:36,060 they can help you set up a server, 850 00:35:36,380 --> 00:35:38,740 they can help you see where all of your paths are going, 851 00:35:39,220 --> 00:35:41,080 they can put up pretty maps of the world 852 00:35:41,080 --> 00:35:42,880 with all of the servers listed on them, 853 00:35:42,960 --> 00:35:44,300 and you can watch traffic bounce around 854 00:35:44,300 --> 00:35:45,060 like in Sneakers. 855 00:35:46,200 --> 00:35:48,060 Apparently, watching the traffic bounce around 856 00:35:48,060 --> 00:35:51,540 like in Sneakers was a really big user request. 857 00:35:55,660 --> 00:35:57,300 Other neat things you can do with these 858 00:35:57,300 --> 00:36:00,100 are you can trap different requests to Tor, 859 00:36:00,620 --> 00:36:03,300 like you can enter, you can set up something, 860 00:36:03,580 --> 00:36:05,380 if you think you've got a great new idea 861 00:36:05,380 --> 00:36:07,840 for, um, how to build circuits 862 00:36:07,840 --> 00:36:08,940 or a new circuit-building algorithm 863 00:36:08,940 --> 00:36:10,680 that you want to hack around with and test 864 00:36:10,680 --> 00:36:12,680 to see whether it's really faster than the one Tor is using, 865 00:36:12,780 --> 00:36:15,360 you can override Tor's default behavior for all of the stuff. 866 00:36:18,380 --> 00:36:20,380 Um, yeah, and now, 867 00:36:20,760 --> 00:36:22,360 gosh, I went through that really fast. 868 00:36:22,580 --> 00:36:25,140 Um, okay, now I have time for a whole lot of Q&A. 869 00:36:26,460 --> 00:36:27,280 Um, let's see. 870 00:36:27,380 --> 00:36:29,380 First, just some things you can do later on. 871 00:36:30,400 --> 00:36:33,560 Um, Tor is at HTTPSTorProject.com. 872 00:36:34,240 --> 00:36:36,140 Or Tor.EFF.org. 873 00:36:36,280 --> 00:36:37,820 Um, try it out. 874 00:36:37,860 --> 00:36:39,480 If you want to run a server, run a server. 875 00:36:40,020 --> 00:36:41,620 We have documents and specifications 876 00:36:41,620 --> 00:36:43,660 that are pretty darn thorough 877 00:36:43,660 --> 00:36:45,980 and can tell you any more information 878 00:36:45,980 --> 00:36:47,900 that I left out here. 879 00:36:48,620 --> 00:36:49,800 You can donate to Tor. 880 00:36:49,940 --> 00:36:54,540 We are now a U.S. nonprofit charity, 501 . 881 00:36:55,880 --> 00:36:58,080 Um, you can write us off on your taxes. 882 00:36:58,620 --> 00:37:00,800 You can donate to the EFF as well. 883 00:37:00,800 --> 00:37:03,100 Due to a... 884 00:37:04,040 --> 00:37:07,080 Due to Cindy from EFF doing me a favor last year, 885 00:37:07,600 --> 00:37:09,740 I'm doing the dunk tank for them at 6.30. 886 00:37:10,000 --> 00:37:12,720 If anyone has ever used Tor to do anything you didn't like, 887 00:37:12,840 --> 00:37:15,320 or if Tor has ever broken in a way that you didn't like, 888 00:37:15,400 --> 00:37:17,160 and you're mad at the developers for some reason, 889 00:37:17,320 --> 00:37:20,420 you can drop one of them into water for a modest fee. 890 00:37:20,860 --> 00:37:23,600 Um, I'm talking at 1, 891 00:37:23,800 --> 00:37:24,940 which is right after this, 892 00:37:25,040 --> 00:37:28,560 on social engineering attacks against anonymity networks. 893 00:37:29,160 --> 00:37:30,000 Roger is talking 894 00:37:30,000 --> 00:37:33,500 at 2 about new anti-censorship features that we're doing. 895 00:37:33,720 --> 00:37:36,760 And Mike Perry is talking at 5, is it, Mike? 896 00:37:37,360 --> 00:37:37,760 5? 897 00:37:37,980 --> 00:37:41,160 About securing the network and securing applications and stuff. 898 00:37:41,980 --> 00:37:44,020 And, yeah, if you have a question, shout it out. 899 00:37:44,160 --> 00:37:46,360 If you wanted to do the Q&A after the talk, 900 00:37:46,460 --> 00:37:48,480 I have another talk right after this one. 901 00:37:48,860 --> 00:37:51,800 So I will be in the Q&A room for this track 902 00:37:51,800 --> 00:37:52,960 at 3... 903 00:37:52,960 --> 00:37:56,160 Uh, excuse me, at 2, not at 1. 904 00:37:56,540 --> 00:37:57,540 So who's got a question? 905 00:37:59,040 --> 00:37:59,440 Yeah. 906 00:37:59,440 --> 00:38:00,200 . 907 00:38:04,200 --> 00:38:05,720 Ooh, between now and the next DEF CON? 908 00:38:06,020 --> 00:38:06,420 . 909 00:38:06,420 --> 00:38:07,780 Okay, the question is, 910 00:38:07,860 --> 00:38:09,460 what kind of technical changes do I expect 911 00:38:09,460 --> 00:38:10,560 between now and the next DEF CON? 912 00:38:11,240 --> 00:38:12,300 That's a pretty good question. 913 00:38:12,560 --> 00:38:15,260 Um, let me grab my laptop and look at our to-do list, 914 00:38:15,460 --> 00:38:17,480 which you can look at, too, on the web, 915 00:38:17,520 --> 00:38:18,620 in our SVN repository. 916 00:38:19,960 --> 00:38:21,160 Um, we aren't yet, 917 00:38:21,240 --> 00:38:24,340 we don't yet have enough people to do a really, 918 00:38:24,420 --> 00:38:25,700 you know, polished... 919 00:38:27,380 --> 00:38:29,260 roadmap like real projects have. 920 00:38:30,600 --> 00:38:32,580 But we've got some pretty neat stuff lined up. 921 00:38:32,900 --> 00:38:33,220 Um... 922 00:38:34,380 --> 00:38:35,400 I can't hear you. 923 00:38:35,940 --> 00:38:36,340 Okay. 924 00:38:41,180 --> 00:38:42,540 So, on the to-do list, 925 00:38:42,760 --> 00:38:44,220 we're gonna get directory voting done. 926 00:38:44,340 --> 00:38:44,940 That's a big thing. 927 00:38:45,440 --> 00:38:47,440 We're going to get anti-censorship features in. 928 00:38:48,060 --> 00:38:50,020 We're going to try to be better about 929 00:38:50,020 --> 00:38:52,080 letting you decide, as a Tor server, 930 00:38:52,380 --> 00:38:54,580 how much bandwidth you want to give to other people 931 00:38:54,580 --> 00:38:56,860 and how much bandwidth you want to give for yourself. 932 00:38:57,620 --> 00:38:58,740 We're hoping to get done features 933 00:38:58,740 --> 00:39:01,440 that will create incentives for people to run servers 934 00:39:01,440 --> 00:39:03,660 by giving people who run servers, 935 00:39:03,860 --> 00:39:05,600 um, better performance. 936 00:39:05,960 --> 00:39:08,220 This is going to, this has some anonymity issues 937 00:39:08,220 --> 00:39:10,160 because obviously you don't want it to be 938 00:39:10,160 --> 00:39:12,700 totally obvious that you are running a server 939 00:39:12,700 --> 00:39:14,180 because you get a fast connection. 940 00:39:14,540 --> 00:39:15,860 So, that's a little tricky. 941 00:39:16,220 --> 00:39:18,120 Um, what else are we up to? 942 00:39:19,000 --> 00:39:21,620 Um, fixing lots of bugs, trying to get more secure. 943 00:39:22,260 --> 00:39:24,100 Uh, let's see, voting's a big one. 944 00:39:25,220 --> 00:39:25,700 Mm... 945 00:39:27,160 --> 00:39:27,640 Refactoring. 946 00:39:30,360 --> 00:39:32,420 Um, for a long time we wanted to switch our transport 947 00:39:32,420 --> 00:39:34,280 to UDP instead of TCP. 948 00:39:34,500 --> 00:39:35,820 I don't think we're going to have time in the next year. 949 00:39:37,500 --> 00:39:38,640 Um, hey, Roger, what else? 950 00:39:40,660 --> 00:39:41,280 Blocking resistance. 951 00:39:41,860 --> 00:39:43,480 Yeah, blocking resistance is really the big one. 952 00:39:43,540 --> 00:39:44,740 Roger's going to be talking about that at 2. 953 00:39:46,040 --> 00:39:49,480 Um, we kind of hope that at this time next year, 954 00:39:50,760 --> 00:39:55,060 this, um, Tor is censorship-resistant by design 955 00:39:55,060 --> 00:39:56,160 and not just by accident. 956 00:39:57,640 --> 00:39:59,280 Uh, yeah, I'll probably think of other stuff, too, 957 00:39:59,360 --> 00:40:01,180 and, like, shout it out as stuff goes along. 958 00:40:01,260 --> 00:40:01,880 But, yeah, you had a question? 959 00:40:04,360 --> 00:40:09,160 Yes, all of our funders. 960 00:40:09,280 --> 00:40:10,460 Um, do you want a list of funders 961 00:40:10,460 --> 00:40:11,820 or do you have a question about the Navy in particular? 962 00:40:13,940 --> 00:40:16,560 Uh, we are receiving funding right now from, 963 00:40:17,000 --> 00:40:18,660 here's a list of everybody we've been funded by. 964 00:40:19,140 --> 00:40:21,260 Various, um, we've been funded through Naval Research Labs, 965 00:40:21,660 --> 00:40:23,760 which is a research group from the Navy. 966 00:40:24,100 --> 00:40:26,000 We have been funded by IBB, 967 00:40:26,400 --> 00:40:27,580 which is part of the State Department, 968 00:40:27,580 --> 00:40:28,860 that cares about anti-censorship. 969 00:40:31,240 --> 00:40:33,080 Um, Roger is shaking his head. 970 00:40:33,160 --> 00:40:33,640 What did I get wrong? 971 00:40:33,860 --> 00:40:34,640 Not part of the State Department. 972 00:40:34,640 --> 00:40:35,580 They're not part of the State Department. 973 00:40:36,240 --> 00:40:36,940 They're their own group. 974 00:40:37,020 --> 00:40:37,120 They're their own group. 975 00:40:37,120 --> 00:40:37,160 Okay. 976 00:40:37,420 --> 00:40:39,100 Um, is that, is that new? 977 00:40:39,620 --> 00:40:40,640 Or they never were? 978 00:40:40,740 --> 00:40:40,820 Okay. 979 00:40:40,980 --> 00:40:42,800 Um, we've also been funded by EFF. 980 00:40:43,200 --> 00:40:45,860 We're funded by a European NGO that cares a lot 981 00:40:45,860 --> 00:40:48,020 about censorship resistance right now. 982 00:40:48,140 --> 00:40:49,900 And we're also funded by your private donations. 983 00:40:50,180 --> 00:40:50,620 Who else? 984 00:40:51,800 --> 00:40:53,240 That's basically everybody. 985 00:40:53,880 --> 00:40:54,560 Um, yeah. 986 00:40:54,740 --> 00:40:54,920 Okay. 987 00:40:57,220 --> 00:40:59,420 And no, no one has ever asked us to backdoor it. 988 00:41:01,940 --> 00:41:02,580 Well, actually, no. 989 00:41:02,600 --> 00:41:05,280 Actually, morons on IRC periodically ask us to backdoor it. 990 00:41:05,400 --> 00:41:08,240 And we tell them that that would be stupid. 991 00:41:08,340 --> 00:41:10,220 And we kind of want to, 992 00:41:10,820 --> 00:41:12,240 people to respect us professionally. 993 00:41:12,920 --> 00:41:15,640 And we kind of don't want to be laughed out of the next DEF CON. 994 00:41:16,020 --> 00:41:17,720 So no, we will never backdoor Tor. 995 00:41:20,680 --> 00:41:21,260 Yeah, Lucky. 996 00:41:22,120 --> 00:41:23,560 Um, regarding your, uh, 997 00:41:23,560 --> 00:41:25,300 driver authority voting scheme, 998 00:41:25,360 --> 00:41:27,240 if you understand it correctly, 999 00:41:27,520 --> 00:41:29,300 that this is based on a simple majority 1000 00:41:29,300 --> 00:41:32,340 and that we looked at the security trade-offs 1001 00:41:32,340 --> 00:41:34,520 to meet, uh, that simple majority 1002 00:41:34,520 --> 00:41:35,880 and, and, and. 1003 00:41:36,260 --> 00:41:37,560 Oh, good question. 1004 00:41:37,760 --> 00:41:42,020 Um, so Lucky asked about directory voting schemes 1005 00:41:42,020 --> 00:41:44,480 and why we chose a simple majority 1006 00:41:44,480 --> 00:41:46,540 rather than some kind of super majority 1007 00:41:46,540 --> 00:41:48,140 and for security trade-offs. 1008 00:41:48,640 --> 00:41:52,020 Um, so the general threshold is you believe, 1009 00:41:52,060 --> 00:41:53,540 so what we do right now is you believe that, um, 1010 00:41:53,540 --> 00:41:56,560 you believe something if more than half of the authorities say it's so. 1011 00:41:58,760 --> 00:42:00,220 Now, you can, you can change, 1012 00:42:00,980 --> 00:42:02,340 when, that's nice and symmetrical. 1013 00:42:02,600 --> 00:42:04,480 Like, you believe a server is running 1014 00:42:04,480 --> 00:42:06,140 if more than half say that it's running. 1015 00:42:06,800 --> 00:42:08,260 You believe it's not running 1016 00:42:08,260 --> 00:42:09,520 if less than half, 1017 00:42:09,580 --> 00:42:11,300 if half or less say that it's not running. 1018 00:42:11,800 --> 00:42:13,440 You can set that bar in different cases, 1019 00:42:13,500 --> 00:42:14,320 in different places. 1020 00:42:15,840 --> 00:42:18,100 And, as, and when you do that trade-off, 1021 00:42:18,160 --> 00:42:19,460 what you get is if you set it so that 1022 00:42:19,460 --> 00:42:21,520 every authority needs to say that it's running 1023 00:42:21,520 --> 00:42:23,000 for you to believe that it's running, 1024 00:42:23,540 --> 00:42:24,660 then you get any single, 1025 00:42:24,820 --> 00:42:27,380 then you get a property where any single authority 1026 00:42:27,380 --> 00:42:29,000 can keep you from using a server. 1027 00:42:29,640 --> 00:42:30,560 Whereas if you say, 1028 00:42:30,680 --> 00:42:32,940 and depending on where you set the bar 1029 00:42:32,940 --> 00:42:35,000 for how many authorities you've got, 1030 00:42:35,220 --> 00:42:37,100 this affects whether 1031 00:42:37,100 --> 00:42:38,800 it's easier for corrupt servers 1032 00:42:39,540 --> 00:42:41,500 to put on, for corrupt authorities 1033 00:42:41,500 --> 00:42:43,120 to add bad servers to the directory 1034 00:42:43,120 --> 00:42:44,920 or whether it's easier for 1035 00:42:45,520 --> 00:42:47,500 corrupt authorities to take good servers 1036 00:42:47,500 --> 00:42:48,280 off the directory. 1037 00:42:49,680 --> 00:42:52,580 And it didn't seem like either one 1038 00:42:52,580 --> 00:42:56,400 was particularly less awful than the other. 1039 00:42:56,940 --> 00:42:58,660 So we set it at about half. 1040 00:42:58,880 --> 00:43:00,860 Although actually, if you have a good reason 1041 00:43:00,860 --> 00:43:02,080 why it should be a super majority 1042 00:43:02,080 --> 00:43:05,240 in either case, then you should use 1043 00:43:05,240 --> 00:43:06,300 our new proposal process. 1044 00:43:06,840 --> 00:43:08,900 So people, our previous proposal process, 1045 00:43:09,060 --> 00:43:11,020 our previous approach for modifying 1046 00:43:11,020 --> 00:43:11,980 our specification was, 1047 00:43:12,100 --> 00:43:15,180 we would edit our specification in subversion. 1048 00:43:15,660 --> 00:43:17,120 Then we would edit the code to match 1049 00:43:17,120 --> 00:43:17,920 the specification. 1050 00:43:19,580 --> 00:43:21,860 Also we would argue about the edits that we made 1051 00:43:21,860 --> 00:43:23,800 and put in little notes inside the specification. 1052 00:43:24,220 --> 00:43:25,660 This created a problem where 1053 00:43:25,660 --> 00:43:27,600 our specification did not actually specify 1054 00:43:27,600 --> 00:43:29,200 our software, it specified 1055 00:43:29,830 --> 00:43:32,020 our software and our intentions for our software 1056 00:43:32,020 --> 00:43:34,440 and our disagreements about our software. 1057 00:43:35,240 --> 00:43:36,220 Someone once said, 1058 00:43:36,400 --> 00:43:37,820 this reads like the Talmud. 1059 00:43:39,140 --> 00:43:40,040 Some of you get that. 1060 00:43:40,360 --> 00:43:42,980 So instead we have the specification 1061 00:43:42,980 --> 00:43:45,240 is pretty sacrosanctly what we do. 1062 00:43:45,400 --> 00:43:46,640 We now have a proposal process 1063 00:43:46,640 --> 00:43:47,740 where you write up a proposal, 1064 00:43:47,960 --> 00:43:49,320 you send it to our dev list, 1065 00:43:49,320 --> 00:43:50,860 and it gets a number, 1066 00:43:50,980 --> 00:43:53,060 and then we all argue about it for a while. 1067 00:43:53,400 --> 00:43:56,460 And either you build it and send us a patch 1068 00:43:56,460 --> 00:43:57,520 and it's got a good chance, 1069 00:43:57,720 --> 00:44:00,120 or you convince us that it's such a good idea 1070 00:44:00,120 --> 00:44:00,820 that we gotta do it, 1071 00:44:00,900 --> 00:44:02,420 and eventually somebody does it. 1072 00:44:02,620 --> 00:44:02,980 So yeah. 1073 00:44:04,200 --> 00:44:04,860 Good question. 1074 00:44:05,680 --> 00:44:06,280 Weird tangent. 1075 00:44:06,880 --> 00:44:07,480 Next question. 1076 00:44:07,860 --> 00:44:08,260 Yeah. 1077 00:44:10,840 --> 00:44:11,240 Yeah. 1078 00:44:22,040 --> 00:44:22,920 Oh yes. 1079 00:44:23,220 --> 00:44:24,940 Guard connections and fingerprinting. 1080 00:44:25,320 --> 00:44:25,760 Right. 1081 00:44:28,660 --> 00:44:29,900 So, two questions. 1082 00:44:30,020 --> 00:44:33,020 First, in what way is the guard selection protocol 1083 00:44:33,020 --> 00:44:34,980 more complicated than I said? 1084 00:44:35,420 --> 00:44:37,120 It's more complicated in a few ways. 1085 00:44:37,200 --> 00:44:38,920 First, we don't choose randomly, 1086 00:44:39,060 --> 00:44:40,420 we choose randomly weighted by bandwidth. 1087 00:44:42,960 --> 00:44:45,200 We also look for the guard flag 1088 00:44:45,200 --> 00:44:47,760 set by the authorities to say this will make a good guard. 1089 00:44:48,480 --> 00:44:51,140 We want to choose guards only from fast, stable servers, 1090 00:44:51,460 --> 00:44:52,920 because sometimes we want fast connections, 1091 00:44:53,200 --> 00:44:54,560 sometimes we want stable connections, 1092 00:44:54,980 --> 00:44:56,540 and if we always build through our guards, 1093 00:44:56,620 --> 00:44:58,080 then we want our guards to be fast and stable. 1094 00:44:59,180 --> 00:45:02,300 You want to drop guards not just for being down, 1095 00:45:02,440 --> 00:45:04,000 but for being bad guards, 1096 00:45:04,480 --> 00:45:06,740 or for being not listed in the directory, or so on. 1097 00:45:07,520 --> 00:45:09,040 Now, fingerprinting against guards. 1098 00:45:09,420 --> 00:45:10,740 This is an interesting topic. 1099 00:45:10,800 --> 00:45:12,440 We're trying to figure out the right trade-offs here. 1100 00:45:12,800 --> 00:45:15,060 If you want to come argue about it with us on our dev list, 1101 00:45:15,260 --> 00:45:16,440 we'd really appreciate this, 1102 00:45:16,440 --> 00:45:19,500 because it doesn't seem there's immediately an obvious answer. 1103 00:45:20,360 --> 00:45:22,320 So, it's clear guards need to be there, 1104 00:45:22,440 --> 00:45:25,120 both to deal with the profiling attack I mentioned, 1105 00:45:25,260 --> 00:45:26,600 and to deal with some other attacks, 1106 00:45:28,000 --> 00:45:29,920 like there was an attack on hidden services 1107 00:45:29,920 --> 00:45:31,720 based on not having guards. 1108 00:45:32,220 --> 00:45:35,300 Well, however, when you do have guards, 1109 00:45:35,340 --> 00:45:36,340 you do have the problem that 1110 00:45:37,140 --> 00:45:39,200 anybody who's doing an end-to-end connection 1111 00:45:39,200 --> 00:45:40,800 being the second and third hop 1112 00:45:41,400 --> 00:45:43,860 can figure out, in profiling you, 1113 00:45:43,960 --> 00:45:45,280 they don't figure out who you are, 1114 00:45:46,440 --> 00:45:48,000 but do eventually get a list of your guards. 1115 00:45:48,880 --> 00:45:52,000 And this means that if you use the same guards over time, 1116 00:45:52,140 --> 00:45:54,600 and eventually someone sees you connecting to those guards, 1117 00:45:55,240 --> 00:45:56,160 they can link it to you. 1118 00:45:57,060 --> 00:45:59,480 This is a problem. 1119 00:46:00,080 --> 00:46:02,620 One solution includes using a different set of guards 1120 00:46:03,240 --> 00:46:05,240 as you move around, but that has... 1121 00:46:05,240 --> 00:46:08,560 that increases your odds of eventually getting a compromised guard. 1122 00:46:09,100 --> 00:46:12,560 Another solution is to use different guards for every IP you're at. 1123 00:46:13,400 --> 00:46:16,400 Another solution is to change your guards over time. 1124 00:46:16,440 --> 00:46:18,620 But if you change them over time, 1125 00:46:18,740 --> 00:46:20,000 then eventually you'll get a compromised one. 1126 00:46:20,680 --> 00:46:22,960 There doesn't seem to be a really trivial answer for this, 1127 00:46:23,660 --> 00:46:26,280 but it seems like we're doing better now 1128 00:46:26,280 --> 00:46:27,520 than we were before, 1129 00:46:28,280 --> 00:46:30,140 previously to when you had to run two servers. 1130 00:46:30,620 --> 00:46:32,060 Now you have to run two server... 1131 00:46:32,060 --> 00:46:33,200 for a profiling attack. 1132 00:46:33,620 --> 00:46:34,860 Now you have to run servers 1133 00:46:36,520 --> 00:46:38,620 and do local client eavesdropping, 1134 00:46:38,780 --> 00:46:39,940 and get lucky, 1135 00:46:40,140 --> 00:46:43,000 and hope that the client stays the same in their behavior over time. 1136 00:46:45,020 --> 00:46:45,900 Which, again, 1137 00:46:45,900 --> 00:46:47,340 not perfect, but we think we're doing 1138 00:46:48,100 --> 00:46:50,920 about as good as anyone knows how to make a low latency 1139 00:46:50,920 --> 00:46:52,280 anonymity network do in this area. 1140 00:46:52,740 --> 00:46:54,560 If you have good ideas, please get with us. 1141 00:46:54,740 --> 00:46:56,580 We're keen to hear. 1142 00:46:57,760 --> 00:46:58,760 And let's see, I got... 1143 00:46:58,760 --> 00:46:59,520 I got another few minutes. 1144 00:46:59,640 --> 00:47:00,200 Any more questions? 1145 00:47:03,160 --> 00:47:05,020 I can read off more of our to-do lists. 1146 00:47:06,940 --> 00:47:07,400 Let's see. 1147 00:47:07,520 --> 00:47:08,900 I can talk about some pending proposals. 1148 00:47:09,100 --> 00:47:10,220 I can explain stuff in more detail. 1149 00:47:11,300 --> 00:47:11,660 Yeah? 1150 00:47:19,400 --> 00:47:19,800 . 1151 00:47:23,300 --> 00:47:24,680 Ah, yes, good question. 1152 00:47:25,660 --> 00:47:26,800 I am not a lawyer. 1153 00:47:26,860 --> 00:47:27,800 This is not legal advice. 1154 00:47:28,640 --> 00:47:30,020 That said, the question was, 1155 00:47:30,560 --> 00:47:31,760 given that you're not a lawyer 1156 00:47:31,760 --> 00:47:32,820 and you can't give legal advice, 1157 00:47:33,420 --> 00:47:35,340 do people get harassed for putting servers online? 1158 00:47:36,160 --> 00:47:39,340 It really depends on where you are. 1159 00:47:39,640 --> 00:47:41,800 I would not run a server in China if I were you. 1160 00:47:43,120 --> 00:47:44,560 I would, you know, 1161 00:47:44,560 --> 00:47:47,420 in countries where you can be shot for owning a computer, 1162 00:47:47,640 --> 00:47:50,040 I would not run a Tor server if I were you 1163 00:47:50,040 --> 00:47:51,200 because you need a computer to do it. 1164 00:47:52,100 --> 00:47:54,140 In the U.S., typically, 1165 00:47:55,400 --> 00:47:58,760 if people get with you or get with your ISP 1166 00:47:58,760 --> 00:48:01,520 and say, hey, you're running a Tor server, 1167 00:48:02,640 --> 00:48:04,240 or hey, some traffic came out of you 1168 00:48:04,240 --> 00:48:06,080 that looks like it was done for something bad, 1169 00:48:07,640 --> 00:48:09,180 we want to subpoena all of your records. 1170 00:48:10,100 --> 00:48:11,360 Give them all of your records. 1171 00:48:12,160 --> 00:48:14,440 There are no records on your Tor server that will... 1172 00:48:14,560 --> 00:48:15,620 lead back to a client. 1173 00:48:15,740 --> 00:48:17,280 We don't log anything interesting. 1174 00:48:18,760 --> 00:48:19,240 However, 1175 00:48:20,280 --> 00:48:23,200 if they decide that they're going to do an enormous sweep 1176 00:48:23,200 --> 00:48:26,200 and try to look for evidence of some crime, 1177 00:48:26,380 --> 00:48:28,240 like happened in Germany for a while ago 1178 00:48:28,240 --> 00:48:31,480 where all of the IPs that were being used 1179 00:48:31,480 --> 00:48:32,920 to commit certain kinds of crime 1180 00:48:33,500 --> 00:48:35,700 got hit in one massive sting on one day, 1181 00:48:37,540 --> 00:48:40,340 dumb cops may grab your computer 1182 00:48:41,040 --> 00:48:42,920 and look for evidence of crimes. 1183 00:48:42,920 --> 00:48:44,780 If you are a criminal, 1184 00:48:45,000 --> 00:48:46,840 then please stop being a criminal. 1185 00:48:48,400 --> 00:48:49,640 If you are a criminal 1186 00:48:49,640 --> 00:48:51,880 and you are running a Tor server 1187 00:48:51,880 --> 00:48:54,000 on the same computer that you commit your crimes with, 1188 00:48:55,180 --> 00:48:56,460 you are a dumb criminal. 1189 00:48:59,880 --> 00:49:03,020 Yeah, as for getting other kinds of harassment, 1190 00:49:03,940 --> 00:49:06,140 certain services block connections from Tor 1191 00:49:06,140 --> 00:49:07,860 because they use IPs for authentication. 1192 00:49:10,940 --> 00:49:12,480 In order to get blocked, 1193 00:49:12,480 --> 00:49:13,820 in order to block Tor users, 1194 00:49:14,080 --> 00:49:15,440 they may also just block the IP 1195 00:49:15,440 --> 00:49:16,640 you're running your Tor server at. 1196 00:49:16,840 --> 00:49:18,200 If that's also your home computer, 1197 00:49:18,420 --> 00:49:19,740 you will not, for example, 1198 00:49:19,860 --> 00:49:21,320 currently be able to edit Wikipedia 1199 00:49:21,320 --> 00:49:22,140 from your home computer. 1200 00:49:23,240 --> 00:49:27,880 You won't be able to log into certain IRC networks, 1201 00:49:28,600 --> 00:49:31,060 and that does discourage some people from running servers. 1202 00:49:31,960 --> 00:49:34,580 But getting a second IP isn't terribly difficult 1203 00:49:34,580 --> 00:49:37,540 if you have, well, a job, 1204 00:49:37,540 --> 00:49:39,360 or a hobby, 1205 00:49:39,480 --> 00:49:40,360 or a university, 1206 00:49:41,400 --> 00:49:42,500 or a lab. 1207 00:49:42,720 --> 00:49:43,200 So yeah. 1208 00:49:43,460 --> 00:49:44,980 All right, it looks like I'm running out of time. 1209 00:49:45,740 --> 00:49:47,460 I hope some of you want to stay for my next talk. 1210 00:49:47,640 --> 00:49:50,400 If not, I'm going to not go to the QA room right now 1211 00:49:50,400 --> 00:49:51,280 because I've got a next talk, 1212 00:49:51,860 --> 00:49:54,740 but I'll be in the QA room for this track after that talk. 1213 00:49:54,840 --> 00:49:56,020 And thank you all very much for coming.