Okay. Hi, everybody. I'm Roger Dingledine, and I'm going to tell you a little bit about stuff we're adding to the Tor network to try to provide some more security features. Unfortunately, I'm tethered to this fixed mic, so rather than pacing around, I guess I'll be really energetic moving from two inches to one side to two inches to the other. So Tor right now is an anonymity system designed to let people browse the web or instant message, stuff like that, without people being able to track them down. There are a lot of people around the world who are using it for all sorts of things. The ones I'm going to talk about today are people in Iran and China and Thailand and maybe the U.S. and other countries that have some censorship issues. There are maybe 30,000 people in China using Tor right now, and they don't mind the anonymity properties, but I imagine a lot of them are using it for the circumvention properties. They want to look at BBC or their web comics or whatever they were able to look at last week before it got filtered by the firewall. Now... Now, China hasn't blocked this yet, but it wouldn't be so hard to block it. So what are we going to do next? That's what this talk is about. And hopefully... There we go. Okay, so there are a lot of things I can talk about today. I'm going to give you a very brief crash course on Tor, and then I'm going to talk to you a little bit about what the goals are for what we're trying to do, what assumptions we've got, what threat model we're looking at, and then give you some background on what the components we've got in Tor are right now and what they can give you, and then talk a little bit about current solutions, stuff that's... that's out there that we can crib interesting ideas from or reuse or just straight out use. And then all the components we have to add to Tor. There isn't too much by the time I've gotten to that. And then all the exciting stuff that comes up that makes everything way more complicated than the theory that goes with it. Okay, so the big picture. We are a free software, open source, anonymity system. We're unencumbered, no patents. You can get it, reuse it, give it to your friends, change it. It comes with a specification and full documentation. We tell you exactly how to build a compatible Tor client. And several groups in Germany have built their own Tor clients. Talk to me later on if you've got questions about the usefulness of a second implementation. If the phrase 16-bit AES means anything to you, it's useful to have other people build Tor clients too because it turns out they find bugs that you really do want to know about. Another nice feature about this is we're pretty much the de facto... research network. If you want to write a research paper on how anonymity works, then we're the ones that are documenting every step of the way, and we've got everything set up so that you can play around with the Tor network and find out if your attack works. Ten years ago, there were all these theoretical attacks on anonymity, and nobody had a good idea of which ones worked and which ones didn't work, and now people can actually attack the Tor network and find out, and it turns out that most of them work, which is unfortunate, but also worth knowing. So I guess that's the point behind being able to document everything. We were also picked by the European Union Prime project as their low-level transport anonymity. That's a €30 million privacy project in Europe to try to explain how privacy could work in the world if you set everything up right. And the exciting part about that is that there were some European anonymity systems that they didn't think were as flexible, scalable, well-documented. Thank you. As the one built in America. And we've got some number of users. It's a bit hard to tell for sure, maybe 200,000. How many people here were at Nick's talk in the last session or Nick's talk in the session before that? Okay, quite a few hands, but not all of you. Great. And we've got about 1,000 servers around the world on six continents. I was going to say five, but there's one in Morocco today, so six continents. They come up, they go down. And there are, we push maybe a gigabit per second of traffic. Maybe a bit more than that. So there are a lot of different users doing a lot of different things. And PC World Magazine picked us as number 40, I think, of their top 100 products of 2005. We beat out Wikipedia. We beat out the iPod. I think this year they're putting us in their top 25 products you've never heard of. So I don't know how the balance there works, but they're still noticing. A lot of different magazines have been doing different things. We were on the front page of the Wall Street Journal a couple of years ago. Okay, so there are a lot of different people who care about this anonymity stuff. When I talk to researchers, I work on anonymity systems. When I talk to my parents and my grandparents, I work on privacy systems, because that anonymity stuff is scary, but privacy is worth having. When I talk to corporations, Google, Walmart, stuff like that, I work on communication security or business security, because they don't want that stupid privacy stuff. And they're scared of that anonymity stuff, but they really do need their security. They want to be able to look at the competitors' websites without having everybody know exactly what they're looking at. They want to be able to go out and buy stuff on the internet without having their ISP keep track of where their suppliers are. And when I talk to governments and military and stuff like that, we work on traffic analysis resistant communication networks, because they don't care about that anonymity stuff or that privacy stuff. And they've got plenty of security, but they do need to resist traffic analysis. So the fun part of working on all of this is we've got all these different communities that care about the same security properties, for quite different reasons, and we need to bring them all into the same network so they can get anonymity with each other, so they can blend with each other. So we've got military, law enforcement, corporations, individuals, activists, human rights, civil rights, all sorts of communities going into the same anonymity system, which is where the anonymity comes from. Okay, so how do you build an anonymity system? The very easy answer is you put a computer somewhere out there. Say, in San Diego, and you get all the users to show up. Each of them connects to it as a proxy, and they say, hey, I want CNN.com. I want Indymedia. I want Voice of America. And then the proxy goes out and fetches them and gives them back, and the websites don't know which Alice has asked for which page. So this is great. It's really easy to set up. It's pretty much how most of the commercial anonymity systems work, except for that big vulnerability in the middle, the big central point of failure, point of vulnerability. There are so many different ways that a single point can be attacked. Maybe you get a colo box next door and you watch the traffic going in and out of it. Maybe you get a job as the janitor in the colo. Maybe you bribe the janitor. Maybe you call the CEO up and threaten the kneecaps of his daughters. Maybe you send a guy named Guido on an airplane. The list goes on and on of single points of failure, ways that things can go wrong. So what we're trying to do in Tor is we'd like to not have that central point of failure. The basic idea is we distribute the trust. You go over three different hops, and as long as they're not collaborating, then you're in business. So yes, the first guy might be bad. If the first guy is bad, then he knows that Alice is... I'm cut off over there. Oh well. That still works. He knows that Alice is using the Tor network, but he doesn't know what Alice is doing. He doesn't know which Bob she's trying to go to. On the other hand, if the last guy is bad, then he knows that somebody is talking to Bob, but he doesn't know who is talking to Bob. And if they're both bad, if R1 and R3 are both collaborating to try to figure out who is talking to who... Thank you. Then we're in bad shape. If you're seeing both sides of the circuit, then you can do traffic correlation attacks to say, hey, wait a minute, the traffic looks exactly the same on both sides. I'm pretty sure that Alice is talking to Bob. So the security that we get from the Tor network is from having a large enough network and a diverse enough network that not very many attacks are going to happen. And that's why the code really sees theork Side. OK. So I think it's a little bit more complicated, but what's cool is ... Ohun replaceе Yeah, cliffhanger. tunnel one step at a time and you establish a different encryption key with each person in the tunnel. And that means that by the time you're sending a packet to R3 that says please connect me to CNN.com port 80, the guys in the middle can't read it. They just know where to pass that encrypted packet. Okay. So that was the really quick crash course and tour. And feel free to jump up at any point and ask questions if something I say doesn't make sense because we've got almost two hours here. So there's plenty of material to cover, but I'm also happy to get sidetracked a little bit here and there if we need to. Okay. So the stuff we're going to be talking about today, people can block connections to the tour network. It doesn't matter how good the anonymity is for tour itself if the user can't get there. If a great firewall of whichever country it is prevents its citizens from getting to the tour network, then they're not going to get whatever anonymity, privacy, security, traffic analysis, resistance properties they're looking for. So there are a lot of different ways we can do this, that they can do this, they, the attackers. One of them is you block the directory authorities. And I'll tell you a little bit more about what directory authorities are in a bit. And some of you already know from Nick's talk. So there are five of these. They're hard-coded, the IP addresses and keys in the tour code. So you go get those five IP addresses, you put them in your filtering list, and you're all done. Then the tour directory itself is public. There are about a thousand servers out there. The IP addresses are published. They're updated every couple of minutes. And that's all there is to it. You go get that list, you put it in your filter, and you're done. And if that isn't enough, right now the tour finger, the tour handshake, the tour TLS handshake that we do, we actually tried to follow the specs. The X509 stuff says put your organization name here and put your common name there. But the TLS handshake is not the only way to do that. And the TLS handshake is a really just walk through the TLS handshake and describe what that certificate is for. That turns out to be a bad idea. Because we've got little strings like tour in our handshake. And all you have to do is look for the string tour during the TLS handshake and you know what sort of communication it is. Okay, so the goals we're going to talk about today, we need to figure out some way to attract a lot of different relay addresses that aren't the one thousand of them sitting in the public directory and figure out how to make use of them and we have to normalize tours network fingerprint we have to make sure that when you're actually using a tour connection on your network nobody can look at it and say hey wait a minute I know exactly what protocol that is we have to solve the discovery problem yes I have a big list of relay addresses I could give you but how do you learn about them do you go to that central point and ask the the central guy for a relay address that's not going to work because that central point is going to get blocked pretty quickly so we need to somehow do the bootstrapping problem of how do you learn anything to begin with and the most challenging of these don't screw up our anonymity properties in the process this is really tricky because we don't really know how to measure anonymity or what we mean by screwing up or not screwing up so we need to sort of try to get an intuition about that as we're going okay so there are a lot of assumptions about how to measure anonymity and what we mean by screwing up assumptions that we might make one of the challenges here is that every time people work on a circumvention system or something to deal with China or Thailand or Iran they always come up with a different set of assumptions a lot of them in the DEF CON community say okay imagine the adversary is super powerful he's got a hundred billion dollars dedicated to tracking me down and he wants to make sure that no citizen will ever do anything bad in any country and then they try to build a system and it turns out they can't build a system for that because that's really hard and then they try to build a system and it turns out they can't build a system for that because that's really hard and then they fail and they disappear and the the history of circumvention systems at DEF CON is is filled with stuff like that so I'm going to try to give a sense of from talking to people in China and Iran and other places of what the actual issues are what the assumptions we can make about our attacker are and and hopefully that'll become that'll make things a little bit easier to tackle okay so the first one like good security researchers we'd like to build something that can handle stronger adversaries than we predict right now and that might contradict a little bit with what I talked about before we're not talking about a super powerful adversary that can do anything but we also don't want to go up against a weak attacker for example right now China doesn't block the tour network but that's not the attacker we're looking for we're not looking at an attacker that doesn't care at all because against that attacker we're done so we'd like to do something a little bit stronger than that so that when the attackers were looking at taking take notice then we're in better shape we also have a lot of different users in mind maybe there are people in China who need this maybe there are people in Thailand who need this maybe there are whistleblowers and corporate networks I've talked to a variety of huge corporations and they are one by one saying hey wait a minute my employees couldn't like use the internet from my network I don't want them to do that and so they're they're slowly locking down every possible proxy every possible other thing I suspect that they will be collateral damage if we succeed at making China unable to block this but we can certainly get into that later on also and then future oppressive situations I don't know what's going to go on next I don't know if the induce act is going to get passed in the US and suddenly building these sorts of things will be illegal or maybe we'll get our own variation of the fine new German law that nobody knows what it means that says it's illegal to have or look at or be within 100 yards of security software or whatever the the law actually turns out to mean and then another assumption we need to make is attackers are going to be in different stages of the arms race maybe some people will have lots of funding and lots of motivation and they'll really figure out how to block a certain set of techniques and maybe some other people aren't going to care as much or have bothered to go to that route yet okay what's the attacker actually trying to do here there are sort of two big goals that we're looking at one of them is he's trying to restrict the flow of information he's trying to restrict embarrassing information maybe corruption rights violations stuff that he really doesn't want the the rest of the world to start publishing such-and-such country has a horrible problem with X they don't really like that sort of thing to get published and then another one is opposing information maybe somebody's organizing a protest maybe somebody is publishing hey let's all meet at the at the street corner at midnight and then we'll grab our pitchforks and torches and and go find the embassy so these are sort of two categories of things that that they tend to focus on and of course they don't actually have to focus on all of these they just have to give you the impression that they are they can they can make people self censor just by saying oh yeah we're watching everything and we make sure to censor most of it and at that point people are going to say do I really want to post this do I really want to you know mention that I'm going to go to the street corner because I don't know for sure but I'm pretty sure they're watching me so the one of the key things to keep in mind is the attacker doesn't have to actually do all of these things he just has to make people either pretty convinced that he's doing all of them or totally unable to predict what he is doing the laws with respect to what's legal and illegal on the internet change wildly in China so that makes certain attackers easier okay so there are a lot of other goals we might look at one of the big ones is complete blocking is not a goal we don't have to block every possible bad website out there we just have to block most of them and then the people who want to go to the rest of them are already going to be in a smaller set and we can just focus in on those with human resources people on the ground and so on and similarly you don't have to block every single circumvention tool you don't have to say oh crap somebody just announced some design at DEF CON and and I really have to you know make sure to block that right now otherwise one guy in my country might use it they're only sort of two categories of stuff that they have to actually look at one of them is if it's really popular and really effective if it's got lots of users they have to look at it and the other one is if it's really high-profile then they have to deal with it anyway even if it doesn't work at all if there have been enough New York Times articles and Wall Street Journal articles saying such-and-such circumvention project declares war on China then they have to do something about it because their citizens are saying hey you're doing an awful job of filtering our internet because I can even use this thing that I just read about on the newspaper or maybe the the bosses of the folks doing the censoring say hey I just read about this thing and it doesn't look like you've censored it yet you're not doing a very good job so those are those are sort of the two categories of things that they mostly care about and I'll talk a little bit later about how we're gonna we're hoping to stay a little bit under the radar with respect to the second one so if you're a journalist in here writing down every word I say eager to publish this on the front page of your newspaper please don't because we will be able to go a lot farther in the arms race if we can actually continue to work on the design and get feedback from the developers and engineers and security people here rather than having a frontline press article that says Tor Project declares war on China so I'll talk a little bit more about that at the end of the talk also okay so another assumption that we have to make and is a good thing to be able to say is that the to make, is if you're just a passive consumer of information, if you're just reading the internet, nobody's going to bother you much. I talk to a lot of people who say, but all they're going to do is enumerate Tor users and kill them all. What happens when you go through the firewall and you read a page that they didn't mean for you to read, is they say, oops, and they filter it. That's it. They don't hunt you down. They don't care what you looked at. Now, it's very different when you're publishing things. If you go somewhere and you say, I just saw the following and I want to tell everybody about it, that's a different story. That they really do care about. But if you accidentally read the wrong page, nobody cares. And that makes everything a little bit easier because we don't have an adversary that really is trying to kill every single person who wants to read the webcomics on the internet. Another thing to keep in mind, censors and governments have a lot of different incentives, economic, political, social incentives, not to block the whole internet. When we started out doing this, we were thinking, okay, so if we follow the arms race really far and they block the whole internet, they just shut it off, did we succeed or did we fail? If we force a large country in Asia to not use the internet anymore, are we actually helping their citizens learn more about what's going on and helping them coordinate and learn about democracy and learn about what's going on in their country? Probably not. So fortunately, from what we can tell, many of these countries don't actually want to shut the whole thing off. They've got a lot of financial interest in keeping it up. Now that's not true for all countries. If you talk to Burma—I just talked to the fellow in charge of the Democratic Party of Burma, he can't ever go to Burma—and he was explaining that modems are illegal there. In fact, they just leveled like three blocks of the city hunting for a modem a little while ago. So in that sort of situation, we are in bad shape. You're You're not going to, you really don't want to be found with a Tor client or a computer at all in that area. And there's not really much we can do for you. And another point, they don't mind collateral damage. A little while ago, India said, there's a blog up there that's going to make our citizens upset because it talks about religion. Please filter it. So they handed the IP address of the blog to all the major ISPs in India. And it happened to be an IP address for a little thing called Blogspot. And that turns out that India blocked, you know, 60,000 blogs for two or three days. And after a while, a lot of people started yelling at them and they decided to change it. So they're now blocking less. But, I mean, this is India. Everybody thinks of them as a fine democracy. They're, you know, close enough to first world. They got a lot of smart people there. And yet they're working on filtering their internet too. So I guess the lesson there is sometimes they don't mind collateral damage if there's something really exciting on the IP address they want. So they want to block. Speaking of which, how do they actually do these blocks? There are three sort of high-level categories of how they actually do filtering right now. One of them is they get an IP address or a port that they don't like and they put that on their firewall filter and out it goes. So whenever you talk to a certain IP address, if you ever talk to a certain port, then they just hang up on you. Another one is keyword searching in TCP packets. So if you send a TCP packet and inside the payload is the word follow up, follow on or democracy or something like that, then they notice and they send resets in both directions. And as long as you follow the TCP protocol, then you hang up and you can't talk anymore. And then the third one is they intercept DNS requests and they give you other answers. So if you search for a certain thing on democracy or Falun Gong or something like that, then they send you, they give you a legitimate DNS answer and they send you to a page saying, it seems that you've been looking around, looking at this stuff. I think you might be an immoral person and maybe you should reconsider. We are watching you. And that helps people, you know, have a good sense of how the firewall works and what sorts of things they're concerned about. So those are sort of the three categories of things that people are doing right now in terms of filtering. Another assumption, the network firewall doesn't have an unlimited amount of CPU and attention for every connection that goes through it. It can't look at that and say, hey, wait a minute, you look like an SSL connection, but actually your random number generator is weird because you don't have quite enough entropy over in that field. They don't have time to do that for every connection that's going through. And that means we don't have to do full steganography. I talk to a lot of people working on this sort of design and they say, ah, but I have to have a totally random connection and I can put it in the fourth byte and they'll never look there because we don't want to deal with that sort of stuff because that will never work. That whole field is dead, at least with respect to this sort of attacker. So it's a good thing we don't need that. Also there's a time lag between attackers sharing notes. Maybe a certain large country will find out how to block several of our techniques, but they're not going to tell all the other countries immediately. There will be a while before they share or maybe somebody else will show up and go to a seminar or something. Now the counter example to that is American corporations. Cisco has made a habit of saying, we have built a new way of oppressing your citizens and we'd be happy to sell it to any country who wants it. So that's a way that a single attack gets spread very quickly to a lot of different countries. And we can sure talk more about the upsides and downsides of letting American corporations oppress other people's citizens. And another piece of that is the insider threat probably is not a worry initially. If I show up here and I have a little design and I start deploying it a little bit, the attacker is not going to sign up 80% of the first volunteers who show up. He doesn't care that I'm doing this. He has no idea that it's even happening at this point. At least that's the assumption I'm going to make. Hopefully it's true. Okay, another perspective. Censorship is not uniform within a country. There are a lot of different ISPs in China and they all have a lot of different policies. As far as I can tell for China in particular, the directive that they have from their government is the guy at the top says to each different ISP, don't embarrass us. That's it. That's the whole set of instructions. And the poor guy at the ISP says, well, what does that mean? What should I block so I don't embarrass anybody? Well, I guess I'll go block this stock market stuff and I guess I'll go block this porn stuff and I guess I'll go block this freedom stuff and then maybe the next day he'll realize he should block something else and maybe the next day he'll change his mind and unblock the stock market stuff. So there's a lot of unpredictability in terms of what gets blocked where. And that really is because there isn't any set of instructions about what you should block. In India, I think they've sent out, these are the 18 IP addresses that are bad, bad, bad. Block these and only these. Whereas in China, everybody sort of makes it up as they go. And then another thing to keep in mind is that the attacker can influence other countries and other companies to help them keep track of users. A year or so ago, China went to Yahoo and said, hey, there's this guy, he's a citizen of China and he's working against China. Can you tell us who he is? And Yahoo said, oh yeah, certainly. I'll go check my logs. Yeah, here's the IP address. Here's all the mail he sent. That sucks. But it's how the world works. And Google is also trapped right there where China says, we'd be happy to have you in China but we really do want you to filter everything that we want you to filter and we can kick you out whenever we change our mind. So that's also a challenging set of assumptions to work with but it's where we are. Okay, and we also need to assume that the users are not attacked by their hardware and software. If you walk into an internet cafe and there's a video camera behind you and there's a guy looking over your shoulder, this may not be a solution for you. We need to assume that there's no spyware installed, no cameras, stuff like that. I was talking to a group of dissidents from an eastern Asian communist country a couple of months ago. And they brought me there and I was about to do a security talk for them and I was all set to say, so here's how crypto works, 40-bit bad, 128-bit good, let me teach you about which software is compromised and maybe Windows may not be the best choice for you. And they were getting phone calls saying, so-and-so just got arrested, what do we do? And so I realized that I wasn't there to talk to them. I was there to talk to them about infosec. I was there to talk to them about opsec and I don't know very much about opsec. But there are a lot of situations that infosec isn't going to help you very much. They were explaining after a while, yes, when I go to the bathroom, people walk into my house and they answer my Skype calls. There's a guy across the street with a parabolic microphone listening to everything I say. They steal my laptop, they install stuff, they put it back. I can't help these people. It's a possible problem at a time. So, yes, there are some situations where we can work on stuff and there are a lot of situations that are still beyond our reach. And then another assumption we want to make, assume that the user can get an actual copy of Tor. If you happen to be in Thailand and they give you Thailand's new official Tor and you use that one instead, then there's nothing I can do, you're using their software, you lose. So maybe we can help this a little bit with PGP signatures. I've got business cards up here that have the PGP key that signs the Tor source code. That works great for people who've met me. It works okay for people who've met people who've met me. It doesn't work so well for some guy in India or Thailand who doesn't ever leave his country. So there is a big challenge there in terms of how we get the real software out and how people know which software is the real software. Okay, so far so good. That's a little bit of background on what we should start out assuming and what sort of goals we've got in mind. Okay, so what does Tor offer now? What do we have that we can build off of? So the first step is we've got an anonymity system. And there are, I guess, three pieces of the anonymity that we want to pay attention to here. The first one is a local attacker on your network can't watch you and figure out what you're doing. And he also can't influence what you're doing. He can't say, oh, you want to go to that page? No. Oh, you want to go to that page? That's okay. So this is clearly useful for circumvention or blocking resistance. It's the property that we want most. But there are a couple of other ones. The other one is no single link, no single relay in the path learns about both you and your destination. And that means that there isn't as much of an incentive for the attacker to show up and sign up a lot of relays. If we were just a one-hop proxy, then I would expect the attacker to say, oh, yeah, I signed up 80% of their network. Feel free to use the Tor network. It'll be great. I'll be watching everything you do. And in fact, they don't even have to do that. They just tell people they did. They just say, oh, yeah, the Tor network, that's a one-hop design. Yeah, we took care of that. So by having multiple hops, we make it harder for people to actually attack the network in that way. And then the third one, the destination or somebody looking at it can't figure out where you're coming from. This may not quite matter yet, but imagine if the destination could figure out where you're coming from. Then imagine that China goes to Google and says, so I know that you really want to be liked by China, so why don't you go ahead and filter everything from people coming from China, whether or not they're using the Tor network. Anybody who comes in from China, anywhere they happen to be coming from, even if they're actually being relayed through Ohio, go ahead and filter them anyway, or we'll start hating you. So we really want to make it so that the, I mean, this goes into a debate about network neutrality, but we really want to make it so that people coming to websites don't reveal where in the world they're coming from. Okay, so there are a lot of other things that we have to build with, to build on from what we've got so far. We've got a well-analyzed, well-understood discovery component, and those are the directory servers that we were talking about before. So thank you. And then they automatically aggregate and test and publish information about all the different servers in the network. And then the clients can go and fetch these lists, and then they can learn which relays they should use. And it's important that they fetch the same lists so that they're able to use the same network, otherwise you've got a lot of anonymity people here and here and here, and they don't overlap, and that means they can't blend with each other very well. And so another piece of this is that the directory information is cached throughout the network, it's maybe a trust bottleneck. Nick talked about that a little bit more in his previous talks, but it's not so much of a bandwidth bottleneck. Okay, so another important feature is, yes, the five directory authorities are hard-coded. You've got the defaults right in the code. If you don't specify any, you'll use the default Tor network. But if you do specify some, then you go off and you use some other Tor network. So you can say, I don't want to use that other one, I want to use these five directory authorities, my own. I want to run a separate Tor network. And it's pretty easy to set up your own Tor network. Several people have done it for research purposes. Somebody started one up inside China for a little while. So, I mean, it's pretty flexible in that respect. You don't have to use our network. We just give you a tool, and it can hook up to any network it wants to. But you don't want to split the anonymity set too much. You don't want to all be running your own networks, because then you won't be blending with each other very much. Okay, so another feature, Tor automatically builds paths if you give it a set of servers. So we're really just a tool. You tell me about some servers, and I'll build a path through them. And I don't care how I learn about the servers. Maybe I learn about them through this directory thing. Maybe I learn about them through some other mechanism for inputting server information. So there's a project at Harvard called Blossom from a grad student who graduated recently. And so he doesn't care about the anonymity properties of Tor. He cares about the reachability properties of Tor. He wants to say, I want to see CNN from iOS. So Blossom will use the Tor network to build a path that ends in Iceland and then go to CNN. Horry wants to be able to say, give me the resource called the website from the location called Jeff's apartment. And it will automatically figure out which Tor server is running in Jeff's apartment. It'll exit from there and ask for the website. So he calls this a perspective access network. And it's also useful for people who want to study filtering around the Internet, because there are maybe 20 or so fast Tor exit nodes in China right now. And you can exit from them and see what works and what doesn't work. So there are researchers at Harvard and other places who are looking into using this to do automated scanning to figure out what's filtered today and what's filtered tomorrow. Okay, so another feature. We separate the role of internal relay from the role of exit relay. Another way of phrasing that is, Tor has these things called exit policies. Every Tor server can specify which IP addresses and ports it wants to let people connect out to the rest of the Internet to. So some people say, yeah, I'll let anybody browse the web through me. And some people say, my admin already hates me enough. I don't want to get him harassed anymore. I don't want him to harass me. I'm just going to be a middle node. I'm going to be a non-exit node. So there are maybe half the people out there who say, sure, I'll run the default exit policy. And half of them say, I don't want to deal with any of that. I'm just going to relay traffic from Tor to Tor. And that means that we've got twice as many users, three times as many, I'm sorry, servers, twice as many servers, three times as many servers as we would have otherwise. And remember that the security properties for Tor are the larger the network gets, the more diverse the network gets, the better we are against an adversary who wants to see both sides of some circuit. So yes, this diversity is what gives us our anonymity. And it's helpful to have a lot of different servers out there. Okay, so another feature we've got to work with. We exist. We're pretty sustainable. We're based on volunteers. A lot of anonymity systems in the past have said, okay, well we'll start with $30 million of VC funding and we'll get a lot of servers out there at ISPs and we'll pay them all thousands of dollars a month and then we'll collect 50 bucks from every user and everybody will get rich. Those systems are pretty much dead by now. So without getting too much into the commercial side of that, we think we're a little bit more sustainable in that we rely on volunteers. There are a thousand people all around the world who say, anonymity is really important. I've got this extra bandwidth. I've got this server over here. I'm going to set it up and I'm going to help save the world and hopefully there will be more people next year if I can't keep doing this next year. So that sort of community effort means that it's more than just me and Nick working on this. It means that we're working together. There are hundreds of developers who show up. Some of them are anonymous. There are three or four really good developers. I still don't know where they are. They use Tor to go to the IRC channel. They use Tor to communicate their patches. I don't know who these people are. And that means I really do need to look very carefully at their patches. But on the other hand, they're really good people and they find bugs. So we've got a big community of people who help out in a lot of different ways. And a lot of this is because of the open design. A lot of this is we tell you exactly how it works. And that means that some security researcher who doesn't care about code can show up and look at our design and look at our specifications and say, I'm pretty sure you've got a problem here. I didn't look at the code. And it also means that some exploit researcher can show up and look at the code and look at the specs and say, I don't know what this is for, but it doesn't do what you say it does. And I think there's a problem there. So hopefully that means that we'll be around for many more years. Yes, question. I think if these developers are anonymous, how do you know there are three or four? If these developers are anonymous, how do you know there are three or four? One answer is I don't. Another answer is they seem to have different PGP keys. That doesn't mean that there are only three or four. But they seem to be different personalities. If they really do have enough time to have lots of different personalities and to dupe us, I wish they'd spend more time working on Tor. There are some great anonymous contributions. Nick made a mention a little while ago about the fellow who pointed out the Diffie-Hellman key exchange bug for us. This was right after What the Hack a few years ago. And I talked to an audience of 1,500 people, and I said, hey, if you find any problems in Tor, please let us know. And several people said, yeah, well, I'd like to, but my employer doesn't let me do that. And I said, hey, we have an anonymity system. And then the next week, some guy showed up on IRC using Tor, pasted a little GPG encrypted blob, and said, get this to Roger, and left. And that was the big handshake vulnerability. Anybody who wanted to could man in the middle any Tor server. And whoever that was, I'm happy that they told us about that. And I imagine we'll have more anonymously contributed bugs now that we've got an anonymity system. Did that answer the question? Okay. Okay. So great. That's hopefully something that we can build off of. We've got a sustainable community. So even if one or two developers disappear, Tor is not going away anytime soon. Okay. Other features. We've got a few hundred thousand users out there. Now, this gives us two things. One of them is it gives us more sustainability. It means that if people start threatening anonymity legally or socially, we're going to have a lot of people standing up saying, hey, you can't take away my communication security. Or, hey, I use that traffic analysis resistant property. You can't make Tor go away. There are Navy soldiers in the Middle East right now who are using Tor. And they don't use it for anonymity. They don't care about that or privacy or whatever. They want to check their mail in Maryland. And they want to do it securely. They really do want to authenticate. But they don't want somebody watching the house they're in in Iraq to learn what their affiliation is. And they don't want somebody watching the mail servers in Maryland to learn what their location is. So as long as we've got a large community of military, law enforcement, corporations, individuals, activists, human rights, civil rights, the list goes on and on, then it's going to be a lot harder for people to say, anonymity is only for bad people. We've got to outlaw it. Because there are so many people using it simply for good data hygiene. I mean, do you really want to be in Amazon's logs? I don't know what they're going to do with their logs in two years or whether they're going to leak them like AOL or I can list 40 corporations that accidentally lost their whole database. But that's also a separate talk. So one feature of having all these users is that sustainability. Another feature is we've got a whole heck of a lot of IP addresses that we can work with. And maybe we'll be able to make use of those in later parts of this talk. Okay. And a little aside, I talk to a lot of people working on circumvention systems. And they say, anonymity is stupid. And hard. And I don't want any of that. I just want to do circumvention. So let me tell you a few scenarios where it might matter. A lot of these other systems involve, let's imagine Alice is a factory worker in China and she really wants to blog about what's going on in her country. So her uncle happens to live in Ohio. And she calls up her uncle and says, hey, can you run a relay for me? And he does. And she posts her blog through him. And then the big bad adversary says, oh dear, somebody posted a blog entry about this. I really want to know who it is. I tracked it down to this guy in Ohio. Wait a minute. He's related to somebody at the factory. I know who published that. So that's an area where anonymity really matters in addition to the circumvention. Not only do you want some way of getting the packets out, but you also need to make sure that the origin of the packets is not correlated with where they end up. And then another side of this. Is if you don't have any anonymity in your system, then the attacker really should sign up as much of the system as they can. And then they get to learn, well this Alice posted about this. This Alice posted about this. And so on. And they can just start building profiles of the users in the network. Or just spread suspicion that they have. They don't actually have to attack things. They can just tell you they did. And now everybody will say, I'm not really sure I should use that Tor thing. Maybe I'll use nothing instead and I'll just try it directly. Or who knows what the alternative is. What the alternatives are. Okay. So far so good. That's what Tor offers now. I suspect I'll have plenty of time for Q&A if we keep going at this pace. So feel free to interrupt me whenever you like. And I'm going to talk a little bit about. Yes, question. So the question is can people tell that somebody is coming from Tor generally? The answer is yes. So for example, Wikipedia. We give them a very simple script to say run this little thing over the directory. And compare the IP address you're looking at to the directory. And it will tell you whether that's a Tor exit node they're coming from or not. And so the reason for that is we don't want to bully every internet service in the world into accepting anonymous users. We really want to let every website out there decide whether they can handle. Anonymous users or not. And plenty of them can. They have this weird concept called accounts where they let people log in. And then they can interact. And if you don't have an account then you can't log in. And they don't care where in the world they're coming from. But there are some services out there like Wikipedia that they really don't want to work on the account model. And they really do want to let random people from around the world show up and scribble on their web page. And we don't want to force them into doing that. We can. We're trying to work with them. We're trying to teach them about this weird new modern notion called authentication. And once they get it then hopefully they'll allow Tor users. And until then we don't want to beat them up. Yes? I have a question related to the side user base. In Austria, for example, in the middle of the night, I most likely will be the only one in the door. And if I access the local website that is only interesting for people from Austria. And they're accessing my current traffic in regards to who communicates what format work and which Tor access they'll access which websites. They know it's me. Yep. It's worse than that. If they're actually watching you and they're watching the website, I don't think it matters that there are other Tor users out there in the world. I don't think it matters that other people are using Tor at the same time. If they're watching your traffic. And they're watching your destination. You're in bad shape. And unfortunately, this is a property of all low latency anonymity systems. If you want to be fast enough that your users don't hate you and leave, then you need to be vulnerable to this end-to-end correlation attack. And it's an open research question whether we can address that. But I haven't seen any approaches yet that don't involve saying how about you wait three hours. And then your web page may or may not arrive. And nobody really likes that design. So yes, you're right. You're vulnerable. Let me give you another example that's maybe a little bit more extreme. Let's imagine there's a poor person in the Sudan. And they're in some camp because they happen to be the wrong community or gender or race or something like that. And they have a blog. There's one person in the Sudan who knows how to blog and knows how to use Tor. They use Tor. Something shows up on a blog post using Tor. And then the authorities think, well, gosh, I don't think I want that to have been published. Who is that person who knows how to use Tor again? At that point, she's in bad shape, too. So part of that, I think, can be addressed by the design I'm going to tell you in a bit where it's not nearly as obvious that you're connecting to the Tor network. And I should also clarify answering the question over there. There's a difference between the two. There's a difference between connecting to the Tor network and trying to prevent people or allow people from doing that and connecting from the Tor network to a website. We really want to allow websites to decide whether they allow Tor connections. But we really want to allow Alice to decide whether she can get to Tor. So it's a matter of personal allowing people to do things. There are many questions. Yes, great. Okay, so the question was, can you talk a little bit about Vidalia, which is a Tor GUI, and how it protects DNS queries, which is a Tor issue? They are totally separate things. Vidalia is a program that gives you a slick little GUI, and you've got a little map of the world. It puts little red dots where the Tor servers are. It draws little arrows and stuff for which Tor servers you're using. It also lets you configure things. There's a great little window that we put in recently where there's a checkbox that says, turn me into a Tor relay. Click. And that's it. That's all there is to becoming a Tor server. So that's Vidalia. Separately from that is the DNS leak issue, which has nothing to do with the Tor GUI. It has to do with the applications. I'll cover it very briefly because it isn't quite on topic here, but it's worth knowing about. So one of the problems with the very early configurations that people had for Tor, if you, for example, point your Internet Explorer directly to Tor, your Internet Explorer does the DNS resolve itself. And then it goes to the SOX proxy. And that means that from the perspective of somebody watching you on the network, you shout out, hey, guys, what's the IP address for Google.com? And then you anonymously go somewhere. You're saying, is this something that's going to grow around the network? And I give you an idea of how the network is going to grow around the network. And then you did that. It actually, again, automatically goes to the server here and writes you an IP address. Now, the problem, again, is that you're going to do it on the system. It's going to be something that's going to make sure that that information is going to be available. It's going to be something that will help you delete everything. And then if you're not looking for a very strong VM, you're going to have to go to the server and delete everything. And again, this is because your software is already running in that system. So no matter how many generations you have, you're going to have to boot into your system, and that's actually going to be abominable. where the kernel redirects any outgoing TCP connection to your port, and then there's a little system call that you say, hey, that connection you just gave me, what was it supposed to go to really? And then you pretend that you just intercepted it yourself and you send them to Google, and there is no DNS leak. So that sort of addresses that. But again, that relies on users not shooting themselves in the foot, which is rarely a good move. Yes? Yes, so the question is, is fixing the DNS leak problem related to the circumvention problem? And the answer is yes, because it's yet another way that some poor guy in China can screw himself. In particular, in China, if they do DNS interception, then they give you a different IP address, and then you anonymously would go to that, and you would anonymously go to the page that says, we are watching you. We really don't want you to learn about that. And that's probably also not what you had in mind. Okay, so I'm going to rush forward a little bit and do some more, and I'll answer your question maybe at the next section, because maybe I do have enough material to fill two or three hours. Okay, so what do we have to work with here? What are the various components that we can take advantage of to work on our solution? So let's take a step back. There are sort of two pieces to each of these circumvention tools. There's the relay piece, which is how do I build the paths? How do I get the crypto right? How do all these mechanisms work? And then there's the discovery component, which is how do I learn the first place to connect to? How do I bootstrap into the system? And we really can separate these two, because a lot of the different systems have one relay component and then some other discovery component. And we can look at these separately and mix and match. Okay, so one thing to look at. There are centrally controlled shared proxies, stuff like anonymizer.com. They've got a computer out there, or maybe they've got 25 different proxies out there, and they control all of them centrally. And another feature here is that they aggregate a lot of users into each of those proxies. So they've got weak security compared to distributed trust designs, compared to something like Tor, where you have several hops, because every one of those proxies is the point of vulnerability. On the other hand, they're really easy to deploy, because the user is already totally trusting the proxy, so you don't even need any client software. You just set up the proxy, you say that's the address, go ahead and tell that guy everything you want, and he'll take care of you. And users love that, because it's easy to do, except when you have anonymity problems. So this is something we can build with, and it's certainly something that's out there right now. On the other end of the spectrum are things like circumventor, or siphon, or CGI properties. These are totally independent personal proxies. They're the Alice gets her uncle to run a relay type of thing. So they've got the same relay strategy. The relay is, there's a proxy and you use it. But the discovery strategy is no longer, we tell you the domain name and we hope that you can reach it. The new discovery strategy is, I'm going to tell you personally about this relay address, and then you can use it, and please don't tell the world. So these are great for blocking resistance. Nobody's ever going to know that this guy in Ohio is running a relay, because only one or two people are using it. On the other hand, there's a huge scalability question. Let's imagine you don't know somebody in Ohio, and you really need a relay. What do you do? How do you find somebody to run one of these things for you? And on the flip side, let's imagine you're in Ohio, and you really want to help somebody. How do you meet up with somebody who needs a relay? So that, it's great for blocking resistance, but there's a scalability issue, and we'll try to tackle that one also. And then there are open proxies. I don't have to tell the DEF CON crowd what an open proxy is, but Google for open proxy list, you'll get plenty of them. There are Russian corporations that refine the lists. They test them all. They give you ones that are guaranteed to be up, and guaranteed to be at least 50 kilobytes a second, and I'm not sure, but they probably give you ones that are guaranteed to be inside U.S. military institutions, and whatever lists they happen to want to give you. So they've got a lot of different bandwidth and stability and reliability. It's hard to say legally whether you're supposed to be using them, whether people meant for you to be using them. A lot of open proxies really didn't have you in mind. And they're not encrypted in a lot of cases, which means that keyword filtering is still going to work. And then a lot of people say, aren't these a little bit too convenient? Who's running them? Why are we using them? I was actually just talking to an NSA person last week, and he was lamenting that a lot of people in his lab, were saying, oh yeah, we get great anonymity. We found this thing called open proxies, and we're using them. And like, we're using SSL, so we're all secure. And he's like, you're using SSL to some guy on the internet who said he'd be happy to relay your traffic? Something's wrong here. So there are many lessons to be learned all around. But that's another building block, and maybe we'll be able to make use of it. And then there's an anonymity system in Germany called the Java Anon Proxy, or YAP. And they're quite similar to Tor in a lot of respects. They use several hops and things like that. We can certainly get into discussing the details of why our design is more scalable and more robust than theirs. But they also are working on a blocking resistance scheme. They're also working on some sort of, how do we let the folks from Iran who want to get to the YAP network actually get there? And they basically have a CAPTCHA mechanism, where you go to the website, and they give you a little picture with some letters that are hard to read. And if you type the letters in correctly, then they tell you an IP address that they haven't told very many other people. So this is a great mechanism. I mean, it's not perfect. I hear that some large governments can employ people to fill out CAPTCHAs. But it's a start. And then there's Skype. It does port switching and encryption and lots of other stuff so that it's not trivial to filter. On the other hand, it has a central login server. I was talking to a woman from Iran a little while ago who said, Skype is really great, but I can't do any of those things that cost money because I can't get to the place to pay Skype. So I can only do the free Skype things, and that doesn't actually let me talk to all the people I need to talk to. So we can certainly take lessons from it, but it also has problems. It doesn't solve the whole thing. And then there's Tor itself. Tor's website is blocked in a lot of places. It's blocked in Iran. It's blocked by the LA Times, which is sort of an adventure because I was doing an interview with a reporter from LA Times a few years ago, and he wanted to go look at the website and he couldn't because they were contracting out to one of those filtering companies that doesn't let you look at scary things on the internet. And apparently we were a scary thing on the internet. So it's blocked in a lot of places. But the Tor network itself actually isn't blocked in very many places. I think UAE very recently decided that they cared and they're starting to do something about it. But China doesn't block it at all. So the question is why is that? It would seem that if there are 30,000 people using it right now, why haven't they done something about it already? So the short answer is, golly, I don't know. I haven't asked them. But there are a couple of other guesses we can make. One of them is tens of thousands of users? Who cares? We've got a billion people here. That's nothing. Nobody's using it. Another answer is the perception. We've been talking to people for a while, and a lot of people figure that Tor is for experts. There's this weird thing called a text file, and you sometimes have to edit it if you want your Tor to work right. And that means that most users are never going to touch it. And as long as the perception is that Tor is for experts, then they don't have to worry about blocking it. It's not a threat to them. And then the corollary to that is we haven't publicly threatened their control. As long as I keep talking to people about how Tor is for civil liberties and free countries, and it's about not getting in Amazon's database, and not being the one that AOL makes fun of when they try to anonymize their database and publish 40 million records or whatever it was they published. Pardon? Okay. Then as long as we're talking about stuff in the free world, then nobody's going to care over there. As long as we're not saying this is for human rights, not civil rights, then we don't look like the sort of thing that they have to filter. We're not threatening them. But I guess the key point here is that we should realize we're already in the arms race. It's not that we're up against an attacker who is all-powerful and all-caring. We're already in the arms race. There are 30,000 people using Tor right now, and they haven't taken action. So maybe that's something we can take a lesson from also. Okay. So those are the current systems. And I'll take another little break because I saw some questions. And we'll go from there. Yeah. Does Tor have anything to prevent DOS attacks? Does Tor have anything to prevent DOS attacks? And I guess there are two questions in there. One of them is can you DOS people through Tor? And the answer to that is, golly, it'll be slow. I don't think they'll mind. And then the other half of that is Tor only transports correctly formed TCP streams. So it's not like you can send a bunch of UDP packets through it. You're going to be, you know, making a connection, and then a little while later you're going to be making another. If you're the sort of person who likes to DOS people, there are a lot of better options out there. Go build yourself a six-node botnet, and you'll be in better shape. So that's the first answer. And the other answer is does Tor have any protection against people DOSing it? And one answer is there are 1,000 servers out there, and DOSing 1,000 servers, especially when many of them are run by ISPs, is a little bit tricky. There are five directory authorities. Nobody's ever knocked down all of them at once. Don't take that as a challenge, please. On the other hand, I mean, sometimes Tor exit nodes do get knocked down. If a Tor exit node happens to allow connections to IRC and some dude shows up on IRC and starts making fun of people, then the community reaction in IRC is, I hate you, I'm going to make you go away. And if the exit node happens to be at a university, then nothing happens, and the guy doesn't go away. And if the exit node happens to be on Comcast, then he vanishes, and you never hear from him again. And it really depends on the exit node. . What do you mean, tell the difference? . . Okay, so the question has to do with padding. The suggestion is, why don't we pad the link from Alice to the Tor network all the time, and that way the attacker won't be able to do this end-to-end correlation attack as well. So the first answer to that is, golly, that's expensive. If every Alice is padding every link to the Tor server she's going to enter the network at, then suddenly the gigabit per second average traffic we push is going to be hundreds of times higher than that, and Tor is going to suck even more than it does right now. So we're sort of at a tension between trying to provide good anonymity and trying to provide enough performance that the several hundred thousand users we've got are still going to stick around. And it's still an open research question how much padding you have to add until you get any resistance to this end-to-end attack, but as far as I can tell, it's quite a bit. It isn't add 10% more, it's add thousands percent more, and that gets really expensive. And then the other side of that is, even if you do that, even if you've got full padding, the internet's not perfect. You're still going to have little dips in the link from Alice to the Tor network. And so rather than looking for presence of packets and doing the correlation there, now it's just look for absence of packets and do the correlation there. And the math is the same. So you have to be perfect if you want to do padding, otherwise you're still vulnerable to these attacks. And then the question is, okay, but how long does it take? Does it take any less time or more time if you do that? And I don't know. That's still open research questions, but I'm not optimistic. Other questions, or should I move on to the next section? Oh, I see a big hand in the back, and you're going to have to shout really loudly. What sort of trust is necessary to become an exit node or really any node in the Tor network? Once upon a time, you had to send me mail and say, hey, Roger, I'm that guy you met at the conference who said he was going to set up a Tor server. That scaled even less well than I thought it would. So that was back in 2003 or so that we stopped doing that. And now you can show up to the Tor network and you can run your server and you automatically join. And if you're an exit node, then you automatically are used as an exit node. See Mike Perry's talk at, I think, 5 o'clock on what he's working on in terms of scanning the Tor network to try to find evil people who are lying to users. But yeah, you want to sign up to the Tor network, go ahead. If we notice you're doing something wrong, then we'll either break your kneecaps if we know you or we'll lock you out of the network by setting flags on the directory authorities. But that's certainly a big issue because we're busy developing Tor rather than trying to police the current Tor network. And if you've got any ideas on how to make that work better, please let us know. Okay, I'm going to go to the next section and then go for... a few more questions. Okay, so I talked a lot about what we've got to work with and now the big question is what do we add so that we can actually start providing some blocking resistance. So the first thing is bridge relays. We've got a few hundred thousand users out there. What would happen if we give them a little button in the GUI in Vidalia that says Tor for Freedom or something like that? I used to imagine we should call it Help China, but that sounds too much like Tor Project Declares War on China. So let's imagine there's a button that says Tor for Freedom. And you click the button and you sign yourself up to be a relay. You don't sign yourself up in the public directory because that's easy to block. They just fetch the list and block it. Instead, you sign yourself up on a different directory authority, a bridge directory authority, and you don't give that whole list out to people. You just give it out in some way that I'm going to talk about later. So these guys, they don't have to be exit nodes. They can just be relays. They just bridge from some person in a blocked area to them to the rest of the network. And they can also rate limit to maybe 20 kilobytes a second or something. So here's sort of a diagram of how it might work. And we're still in the research phases of deciding whether we need R1 there or maybe we can cut that out and just have three hops, including Alice, for the blocked user. I think we can get away with that, which will make them a lot happier. So that's the basic idea. We've got all these users out there. We can turn each of them into a little what we call bridge, a little Tor server that's not in the main network. It's not an exit node. They just move a little bit of traffic back and forth. And 20 kilobytes a second is cheap for somebody on Comcast, and it's a whole lot for a guy in Iran on a modem who's got no other connection otherwise. Okay, so on top of that, we also need bridge directory authorities. We need some sort of specialized directory authority that behaves almost like the current ones. You want it to collect server descriptors. You want it to do tests to see which ones are up. You want it to answer questions when somebody shows up and says, I know about a relay. Here's its identity key. Tell me the newest descriptor you've got. And that has stuff like the exit policy. It has the IP address and port. It has the keys, useful things like that. So we want it to answer questions if you already know the identity key you're asking about, but we don't want it to answer questions if you show up and say, hey, can you tell me every bridge because I'm just curious. So that's pretty easy to do. We've done, a few weeks ago, I implemented the bridge stuff and also the bridge directory authority stuff. So those are out and you can play with them right now. And we want to eventually choose an official bridge authority so that people can actually have a bridge authority hard-coded so that when they say, I'm a bridge, please upload this to the bridge people, then it all goes to the same place. And that's the same place that people go to when they want to ask questions. I thought for a while about running the bridge authority on my computer at MIT, but it's already running two of the main directory authorities and we shouldn't centralize everything on it. So if you know me and you've got a fast, stable computer and you want to run a bridge authority, let me know afterwards. And then bridges should publish using Tor so the attacker can't just go monitor the network of the bridge authority and watch as everybody shows up saying, I want to be a bridge, I want to be a bridge, I want to be a bridge, because that would be a great way to build your own list of things you should filter. Okay, so there are a couple of interesting points here that make the problem a little bit easier. One key point is one bridge is enough. Once you've got one working bridge, once you've somehow bootstrapped into knowing about a bridge you can use, then you're in business. From there you can get to the main Tor network and you can get out to any website that Tor can get to. From there you can get to the main Tor directory authorities and you can get updates about the Tor network. So all of this happens in the background. Once the blocked user gets some bridge, then she's in business. So we've sort of switched the challenge. It used to be how does the poor user in whatever country this is circumvent her firewall for every single transaction that she does and trust the webpages she gets back and hope that she doesn't get DNS spoofed and all the other problems. We've changed that to, how do we learn about one working bridge? How do we bootstrap into the system? We want to get around the firewall somehow once, but after that it's all automated. Okay, so another issue, taking a little aside, is the Tor network fingerprint question. And I'm going to skip over this because we don't have three hours. We've only got two. So there are a couple of issues here. One of them is right now in Tor we speak two different protocols on the wire. We speak HTTP to do direct communication with directory fetches, and we speak HTTPS or SSL or TLS to actually do connections to the Tor servers. So the first one was a really bad idea in terms of blocking resistance, because right now if you're a Tor client, the first thing you're going to do is you're going to start up and you're going to go to some place, it might be port 80, it might not be, and you're going to say, get slash Tor slash server slash something or other. And it doesn't take very many smart filtering companies to figure out that if they look for that string, then they've found a Tor client and they can just block that Tor client out and they never get any directory answers and that poor guy is never going to bootstrap because he'll never actually talk to the directory authorities and then things will go bad. So the first step is we need to change it so that all the directory fetches are tunneled inside the TLS connection. So what you do when you want to do a directory connection with somebody is you make a TLS connection, you make an ordinary Tor connection, and then inside of that you send a little packet saying, hey, I want to do a directory request and this is the string that I'd like to ask. So now it's all encrypted and it's all authenticated and it's a little bit harder to filter by a fingerprint. Okay, so that's step one. And we've done that, though it's not default yet because I'm not sure I want to push the arms race that quick. There are a few filter companies here and there who have said to themselves, oh good, we finally took care of that stupid Tor thing. I'd like them to keep thinking that for a little while. And then the next step, maybe we want to pick a good default port. Maybe port 443 or something like that. Because right now the default port for Tor connections is 9001, which is just some port we picked out of nowhere. But it doesn't look much like you're browsing your bank's website if you connect to port 9001, even if you use SSL. And then the next question, we really want to make the TLS handshake look a lot more like an ordinary secure web browsing session. So first of all, we really want to send, you show up as a client and you say, no, I'm just a web browser, I don't have any certificates. And then the web server says, I'm just a web server, here's one certificate. Right now in Tor's handshake, we give two certificates as a client and receive two certificates as a server. And that's so we can get our authentication and our perfect forward secrecy and all the great security properties that people browsing the web don't get. But there's a trade-off there. So I think what we want to do is we want to make the handshake look like browsing the web, and then inside that we want to exchange a lot of other things to make sure we get our crypto right after we've done the handshake that looks like we're connecting to a bank. And that's great, except if they really look at the communication and they say, you know, when people connect to the bank and do a secure transaction, usually what they do is they send a little thing and then they get a big thing and then they hang up. This guy has sent a big thing and got a big thing and sent a big thing and he's done. He's been doing that for a while now. That's probably not somebody logging into his bank. So this is a little arms race in itself. And I'm not sure what we'll do about it if anybody gets to that stage. It may be that looking like an SSL transaction, looking like you're logging into a bank, is not the best sort of behavior to blend with. Maybe we need to take a look at how Skype works. Because Skype has maybe a different pattern of its timing and packet volume and stuff and maybe it's easier for us to blend with that pattern than it is for blending with the I'm logging into my bank pattern. Of course, we don't want to look like a secure file sharing system because people already think that maybe they're not sure they want to support Tor. And if we disguise ourselves as that thing that they already hate a whole lot, that's probably also not a good move. Okay, so that's a short summary into the arms race for hiding our network signature or fingerprint. Feel free to ask questions about that one afterwards, too. Okay, so how do we discover working bridge relays? So I talked a little bit about the relay component before. Most of what we've worked on with Tor is the relay component. How do we build the paths? How do we get the crypto right? And then we just tacked on a little discovery component at the end. We said, well, how do we learn about the servers? Let's have directory servers. They'll tell you about the servers. So Tor is really two different pieces. It's the relay piece and the discovery piece. And I just told you about how to extend the relay piece. You take what we used in Tor before, and then you add a little bridge component so there's one more hop, or at least a different hop. So then how do we do the discovery component? How do we fix this whole directory server stuff? An easy answer is, since it's modular, we can do anything. We can do any discovery component we'd like. Unfortunately, it's still going to be an arms race. But we have fixed the problem a little bit. With this bridge relay thing and the big list of possible bridge relays, we changed the arms race from how do I keep 1,000 public IP addresses out of the hands of the Chinese government, which seems like an impossible problem, to I've got 30,000 or 40,000 IP addresses. How do I give them out one at a time to the good guys without letting the bad guys learn all of them? And that's an arms race that I hope I can handle. Okay, so the bootstrapping step. We assume that users already know how to get around their firewall a little bit. It's not hard to SSH through certain firewalls. You can use Skype. You can use SMS. You can use instant messaging. There's a whole community of people on World of Warcraft that connect, and they don't play the game. They don't care how the game works. They all get in one place, and they tell each other IP addresses and ports that work to get through their firewall. And there are whole communities of people who work this way, and they've got great ways of getting around their firewall, and we're going to take advantage of that. I don't know what the best way of getting around whatever filters there are in Thailand, but I hope that some guy in Thailand does know how to do that. And our goal is to make it a lot more convenient for him after he's done it the first time. He does whatever it is he does normally to get his first bridge address, his first bridge relay. And once he's done that, then Tor takes it from there, and it can bootstrap and learn more and so on. So we hope that the user knows how to get around his firewall at least once. And if he doesn't, then hopefully he has a friend who does, and if he doesn't know anybody, then he should get out more and meet a few more people. Okay, so what are some other discovery components we could use here? One of them is independent bridges with no central discovery. This is just like the CGI proxy and the Syphon model that I was talking about before. So some guy in Ohio runs a bridge, and the user is bootstrapped by knowing him. Maybe my uncle's in Ohio, and I use his bridge, and I call him up on the phone, and I learn his IP address and port, and I plug that into my software, and now I'm good to go. I can use his bridge. Or maybe you learn it from a friend down the street. You go over and you say, Hey, Roger, I know you've got a bunch of bridges because you've got all these relatives everywhere. Can I have one? Can I learn one because I don't know anything? Can I bootstrap from you? And that's great because that means that a social network can help people be able to bootstrap. And the incentives are also pretty well lined up because if you're the sort of person who has really bad security and you always screw up and publish everything to the authorities, then I'm not going to tell you my bridge because soon after I tell you, it's going to stop working. You're going to get it filtered. So I'm only going to tell you if I trust you enough. And those incentives are good. But there's a downside here, which is you're helping the attacker map your social network. Let's imagine I know a bridge, and it's a good bridge, and it works great, and I tell my 17 closest friends in my dissident community, and now we're all using the bridge, and it's great, and then the attacker learns that somebody's using this bridge, and they go watch the bridge, and they, over time, see 18 different people connect to it. And the attacker says, Hey, I didn't know those 18 people were friends. That's interesting new information. So that's a downside of this social network approach for learning about things. But this is a building block, and it's a start, and it's already built at this point, so people can use it if they want to because it's really easy to... This is a trivial discovery approach, the discovery approach is go tell somebody your IP address and port. Okay, so this is great, but there are a couple of problems with it. One of the big ones is what happens if your uncle, who's on Comcast with a dynamic IP address, reboots his router? He gets a new IP address. He's gone. You have no idea where he is now. So the answer is you have to bootstrap again. You have to call him up on the phone and say, Hey, can you read your IP address to me again? Or something like that. So the next answer is families of bridges. The idea is maybe I've got a lot of computers, I run 30 of them, or maybe the Linux users group in Las Vegas each runs one bridge, and they're all in one big family. And you tell the user all of these bridge addresses. So now he's got 30 bridges to use. And the idea is that as long as one of these bridges is still working, then you can use that bridge to rebootstrap. You can use that bridge to connect up and say, Hey, I know there are 30, and like 27 of them have probably changed IP addresses by now. Can you tell me where the new ones are? And remember that this automatically happens in the background. Tor can look at it and say, Hey, we're running low on bridges. It's time to rebootstrap. It's time to learn new information. So this is a fine plan. And we're probably going to build this one next because it seems pretty easy to do. And at this point we're going to be doing pretty well compared to the currently deployed solutions. Okay, so that's great for the no central discovery approach. But there are a lot of people around the world who don't have contacts in free countries who want to set up relays for them. And there are a lot of people in free countries who really want to help out, but they haven't been to whatever country they want to help out. So what about bridges who don't know users? What about users who don't know bridges? What can we do about them? And that's where the arms race gets exciting. So the idea here, and I'll sort of sketch it out in a nutshell, is we take all these volunteers. Let's imagine we've got 40,000 volunteer IP addresses. And we break them up into a bunch of different distribution buckets. And the idea is that each bucket has a different strategy, a different scarce resource that we're going to try to make the attacker prove that he has. So maybe one of them you prove you've got a lot of IP addresses. One of them you prove you've got a lot of time on your hands. And so on. And as long as there are a bunch of different strategies, then hopefully the attacker won't be able to break every one of them. So I'll give you some intuition about what sort of strategies we might choose. The first one is time release So we take our bucket with, you know, a thousand bridge addresses in it. And we break it up so that between noon and 1 p.m., you only get this subset of the bucket. And between 1 p.m. and 2 p.m., you get this other subset. And between 2 p.m. and 3 p.m., you get this other subset. So this means whenever Alice shows up and says, I need a bridge address, she's going to get some address. But whenever the adversary shows up and says, I need all of them, give me all of them right now, he's only going to get that little subset. And he has to come back next hour to do it again, or some other subset. So this seems like a fine start. Unfortunately, I hear that some attackers can hire people to wait an hour and do things again. So it's not going to be a perfect solution. But at least it's going to help us bootstrap until it gets blocked. And it won't be blocked at the same time by every adversary. So this is a good start. And then the next one is by IP address. So you take the pool of bridge relays, just like before, and depending on where on the Internet they're coming from, you give them from a certain subset. So if you're coming from MITNet, then you get this subset. If you're coming from Bangladesh, then you get this subset, and so on. And this means that, again, if Alice wants some bridge address, she shows up and she gets one. But if the adversary wants all of them, then he has to show up from a lot of different places on the Internet in order to learn all of them. So far so good? Okay. And then we really don't want to build the first two. There's no point in that, because we should combine them. And now there's whenever you show up from a certain IP address and at a certain time, there's a deterministic answer for you. You keep asking and you keep getting the same answer. And that means, again, whenever Alice shows up, she's going to get an answer. But if the attacker wants to learn every possible answer, then he has to keep showing up from different places on the Internet at a lot of different times of day and night in order to learn all the possible answers. So hopefully this is a way that makes it pretty easy for a lot of users to be able to learn one bridge without making it easy for a large attacker to be able to learn all of them, or at least a medium-sized attacker. Okay. So those are three strategies we might use. There's another one. There's a system out there called Circumventor, and they have this newfangled concept called a mailing list. And people sign up to the mailing list, and every three days or so, they send out new bridge addresses. And mostly they use this against China. And right now they've found that it takes China about three days to block the bridge addresses they send out. So every three days they send out a new list, and people on the mailing list use those until they get blocked, and then they wait for a new mailing list post. So this is fine. It might work. I have no idea. I would speculate that as it becomes more popular, more and more firewall people will sign up to the list, and they'll try to block them as quickly as they can. Maybe it'll move from three days to two days, and from two days to one day as it gets popular. And then it's unclear to me if it's going to move down to it gets filtered within three and a half seconds, or if there's always going to be some lower bound of it takes them at least 30 minutes to get around to filling out the form. I don't know. Maybe it'll work. Maybe it won't work. But we should deploy it and find out. And then another strategy we might use, you send us an email, and we send you a bridge address. And of course we don't ever want to answer a given email address more than once, so we keep track of who we've answered, and if you send us a new email address, then we answer. And of course we don't want to make it trivial for you to make 100 million email addresses, so we want you to fill out a captcha. We want you to get a little picture, and you type in the letters you see in there. And I don't want to build any captcha stuff, but fortunately there are great people at Google and Yahoo who work hard at making sure that people can't create too many Gmail accounts and too many Yahoo accounts. So I'm just going to leave it to them to rate limit the number of Gmail accounts and Yahoo accounts that get created. And if you send me an email from Gmail or Yahoo, then I'll send you a bridge. And good thing there are smart experts at Google and Yahoo who can help me out here. So that's another strategy. I don't know if it'll work, but I bet it'll work for a little while. And then just to give you a sense of how complex we can make it, imagine a social network reputation system. So the idea is, imagine we have 20 people that we really, really trust. So we give each of them 50 bridge addresses, and we give each of them maybe 10 little delegation tokens. And each token lets the fellow they give it to connect to the database and build a new account. And the idea is accounts in good standing learn about new bridge addresses. And if you're not in good standing, then you don't learn about new ones. And what do we mean by good standing? Did you get the last ones blocked? If we gave you a lot of bridge addresses and they don't work anymore, then we blame you. And if they still work, then we give you more. This isn't perfect. There are some flaws to it. But it's certainly something that's a fun, open research question, and we could imagine all sorts of pieces of the arms race there. Maybe people could track reputation between accounts, and if somebody gets something blocked, then you blame him and the guy who recommended him. Or maybe that's a bad idea. It gets really messy, but that's an example of other stuff we could do to try to fix it. We could force the attacker to have scarce resources compared to the user community. And then the other strategies, we'd like to hold in reserve. I don't know what they should be yet, but I really don't want the attacker to break strategies one, two, three, four, five, six, and then put out a press release saying, you know that Tor thing? We took care of it. It's all settled. Nobody can use it anymore. Because if they do that, then we have to rush and pick a new strategy and come up with some scarce resource that we're pretty sure they aren't able to break. And even if we do that, we've got no bridge addresses to work with because they just learned all of ours. So if we keep all of these in reserve, then we can come up with new tricks on the day that they break all the old tricks and we'll have a lot of bridge addresses we can use. So I'd like to ask all of you to start pondering scarce resources that are things we haven't listed already. For example, SMS messages. Gmail used to use this for rate-limiting people creating accounts. You have to submit a new phone number that people haven't submitted before and demonstrate possession of it. Or maybe there was a fellow at Cambridge University who said, what about a proof-of-work scheme? I give you something encrypted with a very small key and you have to break the encryption and then inside is a relay address. So this means that Alice is willing to download the thing and spend six hours cranking on it and then she learns an address. But maybe the adversary doesn't want to buy a few dozen supercomputers to do this. Or at least it forces him to actually do that. It forces him to spend those resources in trying to break that. So that's maybe another way that we can leverage the fact that there's one adversary and many, many users. One of the great things here is that deploying all the solutions at once actually makes everything easier. Usually I'm on the defense side. Usually I'm the guy reading the new attack from Cambridge University who says, I finally found a problem with their protocol and here it is and I can exploit it. Usually I'm the guy who has to defend in every single possible way. Now I'm finally on the offense. I've got eight different strategies and as long as one of them works then I'm in business. And the attacker has to figure out how to allocate his resources between all of these. I don't know which ones are going to be hard to defend against or which ones are going to work really well. So I presume that he doesn't know that either. He's going to have to guess which ones to spend his money on. And if he guesses wrong and doesn't spend enough money on strategy three or five or whichever one he misses, then one of them works and those users are happy and we can continue to send those bridge addresses out without all of them being learned. So by deploying all of them at once, and this is sort of an economic side argument, all of them become more secure because they distract him from all the other ones. So far so good? Okay. So that was what we need to add to Tor. I've got a little bit of time left. So one or two questions and then I'll hit all the parts that make me wrong about what I've said so far. Yes. Yep. Okay. So the question is, that's great, Roger. You've got these fine strategies for giving out relay addresses. But why don't I just nail you on looking at the fingerprint on the network? And then I know you're using Tor and I don't care how you learn the bridge address. You're right. We need to solve both of them. We need to solve all of these at once. But if I only solve the network fingerprint and I don't solve the discovery problem, then I lose. And also if I only solve the discovery problem and I don't solve the network fingerprint problem, I also lose. So you're right. There are several arms races we're doing in parallel at this point. Okay. So that was an easy theory in terms of how things work. But what are the ways in which things are broken? One of them is how do we learn if a bridge address has been blocked? We can imagine active testing. We can imagine there are some users inside China and we build a path through them like Blossom does and then we connect out to the bridge. And if it works, then it's still working. If it doesn't work, then I guess it's blocked. So that's a bit tricky because how do we choose who to test through? It's also a bit tricky because if we have, you know, determined, dedicated testers, then I imagine the adversary will say, hey, there's this guy who keeps, you know, scanning the whole internet and maybe I should watch him and learn who he's scanning and then I'll know the bridges. Or we could do some passive testing. I imagine that the bridges should install GOIP databases and now they can look at all the different countries they get hits from and then they can say, yes, today's summary was 73,000 connections from China, 2,200 connections from Iran, and 12 connections from Uzbekistan. And tomorrow's summary is zero connections from China, 2,300 connections from Iran, and so on. And at that point, if we see something going along high and there's a sharp dip, then we can get suspicious and wonder if nobody in that country is able to get there. Or maybe that will never work because we will never have numbers that high. The numbers will be 22010 and when we get a zero, I don't know if that means that the guy who uses Tor in Burma is asleep or he couldn't get there or what. I'm not sure how that'll work. I imagine that we'll probably want some combination of active and passive testing. And it gets complex also because it's not just one big country. There are a lot of different zones that are blocked in a lot of different ways. There are a lot of different places that could be a problem for the bridge. Another attack I worry about is the attacker should sign up thousands and thousands of great bridges that he's already blocked. And now Alice shows up and she gets a bridge address and it doesn't work and she hates me and then she gets another bridge address and it doesn't work and she gives up. And she says, that Tor thing is stupid. Those security guys say it works but it clearly doesn't. So how do we, I mean, do we pre-test everything? How much testing do we do? I guess that'll depend on how many attacks we see. But eventually, it'll be some combination of active and passive, I guess. Another thing that comes up a lot. People talk about how using Tor in oppressed situations means that they're going to get hunted down and killed. And the more oppressive the situation gets, the fewer and fewer people are going to be willing to use Tor. I think it's exactly the opposite. I think that as countries get more oppressive, there are going to be more important people who, I was able to read my webcomics yesterday and now my stupid firewall doesn't let me read my webcomics. There's a guy down the street with this little tool. I'm going to go use that. So it isn't that you're going to create more and more dissidents who are using Tor. It's that you're going to create more and more ordinary citizens who happen to be using it to read their websites. So the median use is going to become more acceptable as the firewall cracks down. That's my theory. I guess we'll see how it goes. And then another challenge. Internet cafes, USB packages, live CD packages, VMware packages. How do we make Tor more usable in a situation where the guy has, where the guy is using the village's Windows 98 computer? There are a lot of very challenging security issues in there and so far I've been talking about Alice takes her laptop and, and in some countries that works great and in some countries they don't have laptops and they don't have their own hardware and they don't have their own internet connection to their own hardware. How many bridges do you need to know about to stay connected? Let's say you have five bridges and they're on Comcast. What's the rate of churn of Comcast IP addresses? How quickly do they go away? What's the rate of churn of Windows users on Comcast IP? How quickly do they reboot or disappear? How long is a bridge going to be around? How many bridges do you need to know about with this natural churn? And then there's the question of how quick, how often is it that a bridge gets filtered or blocked? How do we come up with these numbers so we figure out if five is a small number and we really need to get more or if five is plenty and two is a small number? All this quantitative stuff is going to be really hard. And then the other side of that is how often do I fetch updates? Do I wait for a day and then say, hey, did you move? Or do I say every six seconds, hey, did you move yet? Did you move yet? Did you move yet? I would imagine I'd be more well connected with the latter, but that might not be good. Cable modems don't usually run big websites. If all my bridges end up on Comcast and Comcast or Verizon or whatever wants to do business with China and China says, we'd be happy to have you show up here, but you've got to get rid of those bridges. And so, if all of my users are on user style, if all the bridges are on user style internet connections, then people may have no problem just blocking the whole Comcast range. It's not like they run useful things anyway. That's a worry to pay attention to. And then scanning resistance. What if the attacker wants to check whether a given computer is a bridge? Should I make port 443 say, hello, you've connected to an unconfigured Apache web server? Unless you give it the secret handshake? How do I give it the secret handshake without looking different from some guy connecting to his bank? And then the other question there is, what if the attacker wants to search the whole internet for bridges? And again, he doesn't have to search the whole internet for bridges. He just searches Comcast and Verizon and the common places where you find bridges. And if he finds 95% of those and filters them, then this isn't going to work. So we need some way of making it so that you can't check or at least can't check easily whether a bridge is something, whether a bridge is a bridge. Maybe another answer is you show up and it asks you for authentication. There are plenty of people on Comcast who are running secure web servers that display all the photos they've taken in the past six years. And they demand that their friends log in and maybe I'll look like one of those and I'll demand that my friends log in and maybe that'll be common enough that, or maybe China will just block everybody who demands a password on port 443 on Comcast. Golly, I don't know. And then the other challenge here of many is publicity attracts attention. A lot of circumvention tools launch with a huge media splash and they say we're going to take on all the communist governments in the world and we're going to take them all down with this new funding we got from these VCs and this new tool we got with this undergrad who's writing it. And the media loves this. They love writing articles about how two guys in a basement are taking on a government. Unfortunately, let's go back to that slide I had towards the beginning of the talk. There are only really two categories of tools that really end up getting blocked. One of them is if they really work really well and the other one is if they are high profile. And we can choose the pace of the arms race. We can control whether they consider us high profile or not. So if you're an engineer or a security person, you're the audience I'm talking to. So I'd really love to have some feedback on whether you think this would work. Please run a bridge. Please help out. If you're a journalist, I beg of you, please don't describe us as taking on the Chinese government or other large governments because that will harm the goals of the project. I'd be happy to give you other news articles. I can tell you all about civil liberties. I can tell you all about how dumb AOL was a few months ago. There are plenty of other fine stories about privacy around the world. And I'd be happy to help you out with those, but please don't write about this one. Okay. So there are a lot of different things that I've told you about and we'll have a little bit of time for questions. But I should point out as a summary, technical solutions are not going to solve the whole problem. Right now, these firewalls are socially very accepted, socially very successful. It's not like all the people in Thailand or Iran or whatever are saying, I hate my government. I hate the fact that they filter the internet. I really want to be able to read BBC. Very few of them are saying that. Most of them are saying that, saying, I'm so glad my government filters the internet, otherwise I'd be seeing all that scary stuff that nobody should be seeing. And as long as most of them are saying that, then a technical solution is not going to solve the problem. Now, there are many people, millions of people in each of these countries that do care a little bit and they wouldn't mind being able to read a little bit more about what's really going on in the outside world. So that's what we're aiming for now. Hopefully, the technical solutions will be a piece of the bigger puzzle. There are plenty of other people working on the social side of things. And we've deployed some of it. Go check out the mailing list post I did a few days ago for details of how to configure yourself as a bridge or details of how to use somebody else's bridge. And I'll be building the distribution strategy soon. And then you can just click a button that says, hey, I want to be a bridge and I don't want to deal with meeting anybody. Or hey, I need a bridge and I don't know anybody. And we can go from there. So another brief discussion. And Tor itself needs to survive. One of the big questions that's going on around the world these days is privacy or security or anonymity or whatever you want to call it. Is it worthwhile? Don't bad people use anonymity and good people don't need it? A while ago, we had the same discussion about crypto, the whole crypto war discussion in the late 90s where people said only bad people need security. But now you wouldn't dream of logging into your bank or your E-Trade or whatever without that little button at the bottom of the web browser that says, this is an SSL connection. So maybe in five or ten years, people wouldn't dream of using the internet without that other little button that says, this is a secured connection or a private connection or whatever. We're a long way from doing that, but we need to live in a civilization where that's a reasonable thing to want rather than a civilization where they assume that the only thing that people who want actual security on the internet are the criminals and the good guys are happy going in every single database and happy to be advertised to and happy to be compromised all over the place. And then, data retention, it's an issue in Europe right now. A lot of people in America say, oh, that's not my problem. It is your problem for a couple of reasons. One of them is Europe's not actually that far away and they're collecting your data too and they're putting it in huge databases and then losing it. So if you're worried about your privacy over here, you should be worried about your privacy The other thing is I read an article that somebody wrote a little while ago saying that the U.S. is looking at forcing search engines to log their traffic. And so I read that and thought, okay, search engines, maybe that's reasonable. Search engines such as Microsoft, okay, Verizon, wait a minute, Comcast, hey, wait a minute. So they're phrasing it as search engines but they're not talking about search engines they're saying wouldn't it be nice if every user-oriented ISP around the country wrote down everything that happened because hey, that might be handy sometime. So that's a fight that we're probably going to have in the next couple of years and if I weren't working on anonymity systems then I'd be working on fighting data retention. So hopefully we won't have to have 10 talks in a few years at DEF CON on why data retention is so horrible. And we need your help. If you want to help out with coding or finding bugs, or running servers, or volunteering, documentation, funding, if you know any large organizations who need their anonymity or their privacy or their security or their traffic analysis resistance, let me know. And I think we've got some time for questions. There's one on the way back, you've got to shout. Okay, so the question is can I run a Tor server on the main public directory as well as a bridge? And yes, but it wouldn't work very well because that IP address is going to get, is going to be in the first list that they filter. So it would be extra smart to run your bridge somewhere else. But in terms of testing things, by all means, run them on the same system and if one of them falls apart in an interesting way, please let me know. Yes? How are we going to stay low profile and attract a lot of users? Well, we're pretty low profile right now and we've got 200,000 people using the Tor network. I mean, the DEF CON audience knows about us, but if you go up to some random person on the street, then they have no idea what Tor is. I mean, much of what we've been doing lately is I want to finish. I want to build an anonymity system that actually works, that's usable, that's scalable. We've only got 200,000 users right now, not because people in the world care about anonymity and the rest of them think it's stupid. We've only got 200,000 users because that's all the network can handle. There are millions of people who've tried Tor and said, this is not for me yet. And they're sitting around waiting for us to get it better. So I want to make Tor good and then we'll have solved the problem and the world will save itself from there. And in terms of making the right people know about it, social communication is the way it works. Go tell people tell your friends who need one of these or go tell your friends who are in a position to run a bridge. And word can spread through that without having to be on the front page of any newspaper. And I imagine the social connections are much more robust, at least in America, against infiltration and observation from various attackers. I guess I'll find out. I saw another hand around somewhere. Yes. Okay, so the question is, if you're already going to be using these nodes as bridges and they're temporary but they seem pretty useful, why don't you just make the Tor network bigger? Why don't you just have a much larger Tor network? So one answer is, sometimes people don't want to be listed in the Tor network. Sometimes people say, but I'm in that big list and somebody's going to think that I like anonymity and I'm not willing to commit to that. So we've got to use for those. Another answer is, bridges can be quite small. They can be, you know, 10 kilobytes a second, 20 kilobytes a second. That's not all that useful on the main Tor network where we have, you know, 50 servers that are five megabytes a second. But if you're small and you want to be useful and you're not willing to be in the main directory, then being a bridge is the perfect thing to do. And that brings on another challenge, which is, what I really want to do is I want to have a button that says help out. And it should decide in what way you help out. It should, you know, check out your bandwidth and check out your stability and if you're really good and really stable, then you should jump up and be a real Tor server and otherwise you should be a bridge. And the only challenge to that is that I really shouldn't have it so everybody joins the main Tor network and if they suck then they become a bridge because then we just made a list of all the people who were about to become bridges. So it's a little bit tricky, but I think I can manage it. Other questions, comments, thoughts? Same one. Okay, so the question is have you thought about making it harder to get the list of main Tor servers? Or have you thought about making it harder to get the whole list? We thought about it for a while but I guess there are two questions, two issues with that. One of them is Tor clients really do want to easily get a list of the Tor servers because otherwise they don't know who to build their circuits through and they really don't want to get a different set for each user. If you looked at Nick's talk in the last session, if you end up with this Alice knowing this subset of the network and this Alice knowing this subset of the network and they don't overlap completely, then you start leaking information about, well, somebody used that server and only these guys knew about that one and they came from here and only this very small subset knew about both this one and this one, suddenly you can start to narrow down who your users are based on what subset of the directory they know about. So we really need to make sure that every user is working on the same set of information and the easy way of doing that is making sure they all know all of it. A more exciting way of doing that which we'll be working on in the next few years is maybe we can work on breaking the directory up into ten chunks and then Alice flips a coin, a ten-sided coin, and if she flips a four, then she goes and behaves like all the Alices that also flipped a four. So it isn't that everybody has a random subset, it's that we partition the directory and we partition the users. And then we can start wondering about how do we blend them together, how do we make the people who chose four share the same anonymity set or some anonymity with the people who chose six. That's our goal and it's also a tough scalability question but we're going to have to do something about that because right now we've got a thousand servers and every server can connect to every other server and that's a file descriptor per server and the default number of file descriptors you can have open is 1024 on Linux and BSD and so on. And it's easy to fix. You just go edit a text file but boy do users not like the phrase you just go edit a text file. So we'll have to do something about that. Did that answer the question? There were many versions of it and I answered many things. Try again if it didn't. Okay. Other questions, comments, last thoughts? I'm going to a breakout room. There's a big guy in a red shirt over there who's going to drag me off and if you follow me you'll find out where I end up also. I don't know where it is but it will be breakout room four I guess or QA room four or so yeah. As another announcement there was an interesting new attack that we found out just a few days ago on the Tor network and we have patched it with the new stable and the new alpha releases and if you are a Tor user and you also use Vidalia or other things that involve having an open control port and if you don't know what that is you are one of those people. Upgrade. No really upgrade. We'll tell you in a few weeks the details but we're giving you our 200,000 users a little while to upgrade. Isn't DEF CON fun? Okay. Last chance. Thank you. I'll be around for the next...