start	end	text
6370	11370	Okay. Wow. This microphone is really loud. Awesome. Welcome
11370	16230	everybody to another Tor Talk. I'm Roger. This is Sylvia. And
16230	19370	we're going to tell you about the Tor metrics, how to
19370	22850	understand what's going on in the network, and in general how
22850	25530	to grow the community that we're going. So part of what I'm
25530	29990	trying to do here, many of you have seen only me as a Tor
29990	32670	speaker. I'd like to show you that there are other Tor people
32670	35730	in the world who actually do things. And eventually there
35730	39130	will be more voices of Tor than just me, and maybe eventually
39130	45710	not even me. Okay, so some motivation, some things to think
45710	51290	about. Here is a fellow who was elected in Iran back in 2009,
51290	54950	but he ended up not in charge. And many of you might remember
54950	58700	the Green Party movement. So long ago, I was talking to a
58700	62840	friend who was doing trainings of how to be safe in Iran, how
62840	65660	to get around censorship, and he was teaching people open
65660	71300	proxies, VPNs, Tor, Syphon, other tools. And then he
71300	74640	realized, everybody that I've taught anything other than Tor
74640	79460	to is now dead or in jail. So I'm only going to teach Tor. And
79460	82540	that was an eye-opening story when I heard it. And there are
82540	85900	two lessons there that we take here. One of them is we really
85900	89460	need to understand what's going on in the Tor network. So when
89620	92000	a lot of users show up from certain countries, we know that
92000	95580	it's happening. But also, we need to do it safely. We need to
95580	99100	be aware of how we can measure things and understand things
99100	105120	without putting users at risk. So we've got four main topics
105120	107860	we're going to talk about today. The first one is introduction
107860	111180	to Tor for the people who need a refresher. And then we're going
111180	114940	to talk more about the relay community and who runs the
114940	117820	relays and how we grow that as a community. And then we're going
117820	121500	to talk about understanding what's going on with metrics and
121500	125120	measurements and data sets. And at the end, we'll ask you to
125120	132760	help us save the world. Okay. Did I? Yes. Okay. So Tor is a lot
132760	136580	of different things. Tor is a nonprofit. It's a free software
136580	140780	project. It's a network of volunteers. So raise your hand
140780	144360	if any of the following apply to you. Anybody here run a Tor
144360	149060	relay or a bridge or snowflake? Anybody here help with research
149060	153200	or helping in like writing research papers? Anybody here
153200	157100	use Tor? Use Tor browser? Anybody here find themselves
157100	160240	explaining to their relatives why I have nothing to hide
160240	164740	makes no sense? Excellent. You're all part of Tor. Tor is
164740	169040	an ecosystem of people trying to fix the fact that people need
169040	174120	privacy and not enough of them have it. Okay. So I use the
174120	177180	word anonymity when I'm talking to researchers, but really it
177180	181160	comes down to communications metadata. And here's creepy NSA
181160	183760	guy that we learned a lot more about from the Snowden
183760	186960	documents. And he actually said, we kill people based on
186960	191460	metadata. So that's where we're starting from. And the goal of
191460	196200	Tor is to protect that metadata so that it's hard for people to
196200	200760	tell who's doing what. So I only use the word anonymity talking
200760	203160	to researchers. When I'm talking to my parents and
203160	207200	grandparents, I work on privacy systems. Because anonymity, I
207200	209800	don't know, that's kind of scary. But privacy is an
209800	212980	important value. Everybody should have privacy. And then
213660	217200	when I'm talking to corporations, Google, Walmart and
217200	221360	so on, I work on communication security. Because privacy is
221360	224280	dead, anonymity, why would they want that? But of course they
224280	228020	want security. And then when I'm talking to governments, I work
228020	231520	on traffic analysis resistant communication networks. And
231520	234560	again, it's the same system, the same security properties. The
234560	238020	goal is to get all these users together so you have your cancer
238020	241580	survivors and your Egyptian activists and other groups all
241580	244600	inside the same network. And then there's the fourth
244600	247380	category that we've been thinking a lot about recently,
247380	251540	which is the reachability side. The people in Vietnam who can't
251540	255480	get to BBC or people trying to reach the Tor network even
255480	258660	though sensors are trying to block it. So the goal here is to
258660	261520	get all of these different groups into the same anonymity
261520	265400	system so that they can blend together. Otherwise, if you just
265400	269320	had an anonymity system for cancer survivors, then people
269320	275020	would know why you installed it, why you're using it. Okay. So
275020	278520	how do you actually build one of these? How do you build a
278520	282100	metadata, communications metadata privacy system? The easy
282100	285400	answer is you have some centralized system like a VPN
285400	289380	and all the users connect to it and request some web page or
289380	292480	something. And a bunch of things can go wrong here. The first
292480	297200	thing that can go wrong is what if that central point of failure
297200	301300	fails? So we hear this all the time. There's some new VPN
301300	304920	company that says, we promise we won't look at any of your
304920	308280	traffic. Okay. Actually, we do look at all of your traffic. We
308280	311800	promise we won't log anything. Okay. Actually, we do write all
311800	314900	of it down. We promise we won't tell anybody. Oh, of course we
314900	320220	answer subpoenas. So the problem there is you don't know. It's a
320220	323380	centralized system. They promise they won't screw you, but they
323380	326900	have the data. They know you. They know what you do. It's
326900	333180	privacy by promise. And it's worse than that. Even if that
333180	337000	centralized provider is somehow magically honest in all ways,
337000	340120	it's still one point. And the cable goes in, the same cable
340120	342980	comes out, and if you can get access to that, then you can
342980	347120	start doing timing and volume analysis to say that user wanted
347120	350760	to get that web page. So even if the central point is totally
350760	355960	honest, it's still bad news. So the goal of Tor is to distribute
355960	359760	the trust over multiple relays so there's no single point that
359760	363200	knows both you and what you're doing. So it's privacy by
363200	367420	design, privacy by architecture, rather than privacy by promise.
367420	371320	And part of the goal is we've got these... you're able to see
371320	374560	the slides, right? Even though they're not here? Okay, good. So
374560	377640	part of the goal is that we've got these three relays and you
377640	381380	build your path through the three relays and no single point
381380	384920	in the network is able to learn both who you are and what
384920	389420	destinations you're going to. And another key point here,
389420	392220	transparency for Tor is really important. Yes, it's open
392220	394960	source, it's free software. Yes, we give you the design
394960	398340	documents and the specifications and the research papers. And
398340	402860	yes, we say, hi, I'm Roger, this is Sylvia, we're people, we're
402860	406060	actually developers who are happy to publicly identify
406060	409960	ourselves. And the key to that is transparency is really
409960	413640	important. Every time I talk to somebody, they say, oh, ha ha,
413640	416280	the privacy people are talking about transparency. That doesn't
416280	420220	make any sense. And the reason why it makes sense is privacy is
420220	424440	about choice. Transparency is about choice. Our goal here is
424440	427680	we choose to be transparent in order to build a stronger
427680	431100	community, in order for people to be able to trust what we're
431100	437320	doing and to become part of our community. Okay. So here's our
437320	441020	first graph. This is a graph of the capacity and the load on the
441020	444720	Tor network over the past ten years. The green line is what
444720	447920	sort of capacity we have. And the purple line is the load on
447920	453320	the network. And we're up at 250 gigabits per second of actual
453320	456600	load on the network, which is a pretty big global network at
456600	459620	this point. On the other hand, the capacity has still been
459620	462960	growing. And the purple line, the load line, has sort of
462960	465440	flattened out over the past couple of years. So we can
465440	469120	definitely talk about how to scale and how the performance
469120	479200	should work. Not yet. No? Keep going?
480020	489960	That's fine. That works? Hello? That's fine. Okay. So this is
489960	493380	the number of relays per flags that we have. Flags are like
493380	498140	roles that relay can have on the network. And for example, if we
498140	501480	have a stable relay, that usually is going to be guard as
501480	504040	well, meaning that that's the relay that the Tor browser picks
504560	508800	when entering the network. And some of you might notice there
508800	514780	is an interesting curve here. It's the HS tier graph here. In
514780	518300	the middle we have 4,000 relays and then sometimes around June
518300	523040	something happens and we lose 2,000 of those relays. And why
523040	528020	does that happen? So there was a Debian update. There was a
528020	530900	library that had a few dependencies in common with Tor.
530900	534780	So that updated and the Tor daemon restarted and the relays
534780	538900	lose the flag. And this introduced us to a topic that is
538900	542740	important for the Tor network which is diversity. And actually
542740	546980	shows that we have a little bit of a monoculture issue when it
546980	551920	comes to Tor relays. A lot of them don't run Debian. And that
551920	557500	is because the easiest way to run a Tor relay is you spin up a
557500	560180	Debian machine, you install the package and then you have the
560180	566820	relay. And so it shows these monoculture issues. But, you
566820	569060	know, I think we are not the only one to have a monoculture
569060	573540	issue. I think Microsoft said that they had 8.5 million
573540	580540	devices affected by the crowd strike incident. So anyway. And
580540	583860	this is why we talk about diversity a lot when we talk
583860	587820	about the Tor network. The Tor network is driven by a diverse
587820	594060	community of relay operators. And we have developers, we have
594060	597460	privacy researchers, we have security professionals, we have
597460	602680	academics. And diversity is not just a desirable attribute but
602680	606240	it's a critical component when we talk about the network. And
606240	611020	you might wonder what do we mean by diversity? Why we place so
611020	617660	much emphasis on it? And what mechanism and we do have to
617660	622300	foster this diverse community. So the first thing is when we
622300	626220	talk about the network, we mean diversity of hardware, software
626220	630780	configuration, location, but also of users. Hardware and
630780	634280	software configuration, we saw a little bit when a lot of relays
634280	637820	run the same operating system, they are affected maybe by a bug.
637820	641480	That means a big part of the network is affected by the same
641480	646140	bug. So we strive, our objective is to have a uniform
646140	649720	distribution of operating systems. Of course we're not
649720	654500	there but that's what we aim for. We place a lot of emphasis
654500	657980	on location as well for a variety of reasons. We want
658900	661820	third circuit to spread different geographical location
661820	668120	because it would make harder for an observer to place the region
668120	672240	and the destination of a communication. We want also to
672240	675760	our relays to be spread globally to avoid single point of
675760	680580	failure. Because if there is an issue locally that is affecting
680760	684780	a number of relays, we know that the rest of the network will
684780	689460	maintain the stability. And we also think that by having relay
689460	692580	operators spread around the world, we have a more diverse
692580	696320	community, diverse location, which in the end will help
696320	701600	maintain the network growth and sustainability in the long run.
701600	707940	And we also want diversity of users. So people use TOR for a
707940	712960	variety of reasons. We estimate that we have 400,000 users daily
712960	718340	in the United States. It means that we have diversity of usage
718340	723240	patterns, profiles, interests. We have minority groups using
723240	726920	TOR, social right activists. We have privacy enthusiasts who
726920	729680	would want to be followed by surveillance companies who want
729680	737900	to surf the web. And for many people like activists, people
737900	742020	belonging to different kind, for example, people researching
745500	751920	people researching, people researching like information on
751920	756500	reproductive rights online, people needed looking for
756500	758900	information on domestic violence, for example, TOR
758900	763360	provides a platform to access information and to express
763360	766180	themselves in environments where they could otherwise face
766180	772880	persecution, discrimination, and retaliation. So how do we
772880	778140	actually foster this diverse community in a healthy way? So
778140	781880	we place a lot of emphasis on direct communication. We use
781880	786880	IRC. We use mailing lists. We use forum. We organize online
786880	790440	and in-person meetups, online meetups for our community up and
790440	794460	every month. We get feedback from relay operators, for
794460	799780	example, and we tell them how development is going, if there
799780	804520	is any update, and we get this communication going on. We have
804520	808940	in-person meetups. We are here at DEF CON. In Europe, we know
808940	811280	that there are other events where people in our community
811280	816100	like to gather. So, for example, we have FOSDEM, we have CCC. And
816100	821480	we do develop transparent policies. We have open process
821480	825040	to create and maintain policies for our community, which are
825040	829840	central to how we run the community. This discussion of
829840	833760	how to propose and maintain this policy happened on our back
833760	839300	tracker on GitLab, and everybody is welcome to give feedback. And
839300	843360	it's a way for us to give new tools to the relay community
843360	846520	because in the past, we noticed that they were organizing
846520	852880	informally, and this is a tool to help them with managing
852880	863650	expectation and with governance. So, where do these relays come
863650	867830	from? Originally, it was people that I had met at hacker
867830	870930	conferences like this, and I said Tor is really important,
870930	874130	and you said, how can I help? And I convinced you to run a
874130	878110	relay, and that worked great for the first 50 relays or 100
878110	881830	relays, but if we need to scale the network up to thousands of
881830	884610	relays, and they need to be in diverse locations around the
884610	888510	world, I can't go meet all of the people. In order to have an
888510	892170	actually global safe network, we need to have them everywhere
892170	895630	and run by people that we don't know as well. And the challenge
895630	899750	there, especially in the past few years, the set of reasons
899750	903810	why bad people might want to set up relays has grown. We've
903810	907510	ended up with people in Russia setting up relays in order to
907510	912610	do the man in the middle attacks on exit traffic. We've seen
912610	916390	people running relays, a lot of them for reasons that we still
916390	920510	don't quite understand what's going on. So this is an ongoing
920510	923510	and growing challenge. How do we make sure that the Tor network
923510	927890	has the relays that are doing it for the right reasons? So how
927890	930390	do we do that? How do we actually accomplish that? The
930390	935110	first answer is we need to get rid of application level
935110	938590	vulnerabilities. For example, the reason why those Russian
938590	942830	people could run man in the middle attacks is because some
942830	948350	Tor users were doing HTTP, not HTTPS. So we managed to fix the
948350	953910	browser to do HTTPS by default always and that is a structural
953910	958970	way to resolve that sort of attack. Another angle to look at
958970	962970	this, one of the few tools that we have in this community, in
962970	967350	this social group of relays is the social graph. It's who
967350	971830	knows who. So if we as a community of relay operators get
971830	975430	together and know each other, then we can be stronger against
975430	980850	outsider FBI people or whatever trying to come in and join. And
980850	984290	speaking of that, one of the really successful models over
984290	988650	the past ten years or so is relay operator associations.
988650	992070	These are non-profits around the world. These are individuals
992070	995770	who banded together in their country. One of them exists in
995770	1000050	France, in Switzerland, in Germany. There's one in Sweden.
1000050	1002450	There was one in Luxembourg. There was one in Iceland. There
1002450	1006650	are two in Canada. It's a global phenomenon where non-profit
1006650	1011270	like hacker spaces get together to run Tor exit relays. And one
1011270	1014630	of the great things about this is it's sustainable. You can run
1014630	1017850	really big relays. Another one is they can establish
1017850	1022250	relationships with the local cops so they know how Tor works.
1022330	1025170	And also we know who they are. We meet them at conferences like
1025170	1028910	DEF CON and grow that community. So having them be part of our
1028910	1032650	community is one of the ways we can handle that asymmetry where
1032650	1035910	we need to have a lot of relays around the world, but also we
1035910	1040170	need to know who they are and have them work together. And
1040170	1044530	speaking of that, EFF a year ago launched a campaign to get
1044530	1047610	universities in particular running relays. And part of the
1047610	1049950	reason for that is universities, that's where
1049950	1054310	freedom of speech, freedom of thought is supposed to be. But
1054970	1059210	it's not just the freedom side. Universities are about
1059210	1064190	education. You can run a relay at your university and learn how
1064190	1068430	to put a computer on the actual internet, which is a thing that
1068430	1071690	we all used to do. And now the cloud exists, so not as many
1071690	1074690	people do that. So there's an education side. There's a
1074690	1077130	community side. There's a research side. If you want to
1077130	1080970	help do that, they have these amazing coins that they created
1081150	1084550	a little while ago that I'll show you afterwards, that if you
1084550	1087530	run a relay at your university, they will send you one of these
1087530	1092870	amazing coins. And relay incentives in general is a broad
1092870	1095550	topic that we really need to work harder on. So
1095550	1101690	gamification, like Reddit style, Stack Exchange style, I got a
1101690	1104910	gold badge for my five-year anniversary. I got a silver
1104910	1107790	badge because I was an exit relay. I got a silver badge
1107790	1111790	because I'm in an ISP that there aren't very many other relays
1111790	1116710	in. So coming up with ways to highlight what we need most and
1116710	1119830	make people feel happy and part of a community and check out my
1119830	1123050	gold badge, I can put this on Twitter. Leaderboards, I'm
1123050	1126650	running the 17th fastest tour relay in the world right now. So
1126650	1129850	that's one piece. Another piece is just giving people more
1129850	1134710	attention. Meetups, having time to answer their questions and
1134710	1137910	walk people through how to run relays. And then there are the
1137910	1141070	structural incentives. Like imagine we had a tour design
1141070	1145450	where if you run a relay, you get better performance on tour.
1145570	1149450	So there are a bunch of exciting security problems that come with
1149590	1152350	a lot of these designs. But maybe there's a version of this
1152350	1156590	design where we can get rid of the security flaws while still
1156590	1160590	keeping the incentives. And then the last topic is a lot of
1160590	1163390	cryptocurrency people these days keep saying, you know what you
1163390	1167350	need to do, you need an incentive coin thing so that
1167350	1170590	people will want to run relays because they'll make money,
1170590	1173550	they'll make bitcoins, dollars and so on. And part of the
1173550	1177130	challenge there is the cryptocurrency world, their
1177130	1180570	fundamental building block is capitalism, is maximizing
1180570	1184430	profit. And the tour world, our fundamental building block is
1184430	1187630	altruism. It's I want to make the world a better place, I have
1187630	1193510	extra resources, I can provide them. So these are very
1193510	1197670	different worlds in terms of organic, do you build an organic
1197670	1201370	community of people who want to help each other or are you just
1201370	1204550	trying to everybody for themselves maximize your profit.
1204550	1207610	And in that case, if you want to do it for profit, maybe you'll
1207610	1210770	all go to the cheapest hosting provider so you can spend as
1210770	1213450	little money as possible. Or maybe you'll sell your data on
1213450	1215850	the side to make a little bit more money because capitalism
1215850	1219530	means, you know, maximizing profit. So these are
1219530	1224870	fundamentally incompatible approaches to how to build a
1224870	1228310	community of volunteers around the world who are trying to keep
1228310	1235860	people safe. Okay, so I want to tell you a bit about network
1235860	1239380	health and metrics and what we do. But first I want to tell you
1239520	1243800	about a story because I want to put what we do in context. So
1244420	1249880	between May and June in 2020, we removed a group of Tor exit
1249880	1254000	relays that were doing an SSL strip attack. And we didn't spot
1254000	1257660	this at first because they were leaving all the exit traffic
1257660	1260040	alone, but they were intercepting just a little bit of
1260040	1263620	the traffic that was going to some cryptocurrency exchange
1263620	1270020	websites. So what this were doing was that if the user was
1270020	1274660	visiting the HTTP website, not the HTTPS one, they wouldn't
1274660	1278040	redirect the user and if they wouldn't notice that there was
1278040	1281920	not a lock, for example, in the browser, in the top, they would
1281920	1285900	just continue to send their login information, for example,
1285900	1290560	and this information would be intercepted. So we noticed this.
1290560	1294100	We kicked the relays out and then a few weeks later, in June,
1294100	1298980	another group of relays does the same attack. And we noticed
1298980	1302140	this again and we kicked them out and then we realized that
1302140	1306020	network health is not just about kicking relays out, although
1306020	1308780	that's important because you don't want malicious relay on the
1308780	1313600	network, but it's a little bit more. So we got together with
1313600	1318440	the browser team and because of projects like HTTPS everywhere
1319040	1323040	and a newer version of Firefox that allowed the browser to
1324800	1330460	default to HTTPS and then fall back to HTTP just when needed,
1330460	1334460	we were able to enable HTTPS by default into our browser and
1334460	1337580	protect our user, not just the network level, but also the
1337580	1344500	application level. And so out of incidents like this, that we
1344500	1348360	understood the value of having a network health team, which is
1348360	1351180	basically joining together a group of people that keep track
1351180	1356240	of the network. And part of what we do is kicking relays out of
1356240	1360840	the network. But also part of what we do is community
1360840	1365080	engagement, is working with the relay community, working with
1365080	1370180	activists sometimes in the ground. And the foundation of
1370180	1373140	what we do also is collecting the metrics about the Tor
1373140	1377000	network that gives us an idea of how the network is performing,
1377000	1380660	how the network is doing, and to understand if something is not
1380660	1386700	right. And so when there is a geopolitical event, for
1386700	1390220	example, we are able to spot it because we are able to notice
1390220	1395720	some patterns on the network. And in this case, this is a
1395720	1399840	picture of, it's a graph of directly connecting users from
1399840	1405980	Russia between 2021 and 2022. And we start noticing that there
1405980	1410420	was censorship being applied in Russia between November and
1410420	1414660	December, which is a few months before the Ukraine invasion. And
1414660	1420800	we saw directly connected user decline. And as we saw this
1420800	1424080	happening, we also were able to work with the anti-censorship
1424080	1428180	team, with activists on the ground, we were able to tell the
1428180	1433300	user to use bridges. And so we saw a spike in bridge users in
1433300	1435740	Russia. And that meant that we are able to help these people
1435740	1438940	reach the news and know what is happening outside the country.
1440420	1443300	Yeah. So let me jump in and explain what a bridge is for
1443300	1446780	those who don't know. We've been talking about relays so far.
1446780	1450060	These are public tour relays that are in the list. And that
1450060	1453120	means that the censors can get that list and block all of them.
1453120	1457220	So bridges are relays that aren't in the list. So the goal
1457220	1460620	is to transform the traffic in some way so that it's doing a
1460620	1463540	protocol the censors don't want to block and it's talking to an
1463540	1467020	IP address that the censors don't think is tour. So that's
1467020	1469960	the arms race that we're in there. And there are a bunch of
1469960	1473580	different approaches we have for bridges. One of which is?
1475820	1482720	Yeah. And similar situation in Iran in 2022, the mass protest.
1483180	1488140	So people, we started noticing that there was aggressive
1488760	1491560	censorship happening in the country. People were in the
1491560	1494800	street protesting. They couldn't access the Internet. They
1494800	1497540	couldn't access the news. They couldn't use communication
1498400	1503300	messaging systems. So by working, again, with people on
1503300	1506200	the ground, the activists, the local people, and the
1506200	1510520	anti-censorship team, we were able to teach these users how to
1510520	1516620	use Snowflake. And we saw how the users from Iran spiked
1516620	1521000	during the protest. And for these people, reaching tour was
1521140	1523800	a lifeline in a way because they were able to communicate
1523800	1527520	between one another in ways that it was not possible at the
1527520	1530660	moment with any other tool. And if you're wondering what
1530660	1534440	Snowflake is, so in the tour ecosystem, Snowflake is what we
1534440	1538720	call a pluggable transport. And it's, um, you can think of it
1538720	1542260	like as a tool the tour used to disguise the traffic. And in the
1542260	1546760	case of Snowflake, it used temporary run volunteer proxies.
1546920	1551400	So it's, um, by using the proxies, more difficult for the
1551400	1556660	censors to actually block them. And it helps people in very, um,
1556660	1559400	difficult situation to reach the Internet.
1560480	1564080	Yeah, so two things to point out for this graph in particular.
1564080	1568640	One of them is that Y axis, we're talking 100,000 or maybe
1568640	1572260	hundreds of thousands of people using Snowflake in Iran during
1572260	1576460	that event. So as we're showing more recent graphs, we end up
1576460	1580240	with larger and larger numbers. We're talking about many tens of
1580240	1582560	thousands or hundreds of thousands of people. And the
1582560	1586260	other answer is Snowflake.tourproject.org, you too
1586260	1589340	can volunteer as a Snowflake. You can either install it as a
1589340	1592780	browser extension or there's a headless version for your Linux
1592780	1600540	system based on Go. Please help. And so, um, more recent case, we
1600540	1605320	saw just a few months ago between May and June, we started
1605320	1609840	to see user spikes in Myanmar. And then we got news that the
1609840	1614320	military junta started to apply Internet shutdown. So again,
1614320	1616860	what we did was get together with the browser, the
1616860	1622140	anti-censorship team, and help users connecting to Tor by
1622140	1625840	distributing bridges directly for them in the country. And we
1625840	1630660	saw how from not having almost zero bridge users in the
1630660	1634700	country, we got a spike in a few days to just half a thousand.
1638440	1641940	Yeah, so one of the fascinating things about the graph like
1641940	1646500	this, periodically we see spikes in our user graphs. And here
1646500	1649900	we're like, wow, a whole lot of people from Myanmar just started
1649900	1653640	using Tor over bridges. This is great. But sometimes we see the
1653640	1656520	spikes and we don't know if it actually happened that way. We
1656520	1659600	don't know what happened in the country. So every time we see a
1659600	1662380	spike like this, we're wondering, is there a bug? Is
1662380	1666220	there like a GOIP database mess up where actually these are
1666220	1668920	people in Germany who got misclassified as being in
1668920	1671880	Myanmar for that week? So part of the challenge we have is
1671880	1674500	understanding what actually happened. And one of the
1674500	1678340	principles that we have for that situation is trying to learn the
1678340	1681620	same data points from a bunch of different dimensions from a
1681620	1684960	bunch of different angles, so that we can confirm that what
1684960	1688440	we're seeing actually really did happen. And part of that is
1688440	1691520	angles, including talking to people on the ground and saying,
1691520	1694520	what just happened in your country? Why is it that we're
1694520	1696560	seeing these graphs, these changes in our graphs?
1699340	1704400	Yeah, so we've been talking about user data. And you might
1704400	1705040	have wonder...
1709760	1711020	That's loud.
1711600	1712640	Okay.
1714240	1715980	I go on. Okay.
1715980	1717680	I think they can hear us better than we can.
1717680	1722320	Okay. So you might wonder, towards the anonymity network,
1722320	1727340	how come you have user data? And so the simple answer to that is
1727340	1731500	that we live by a principle that is, we do not collect data that
1731500	1736960	cannot be public. So all our data that we have in metrics is
1736960	1741600	actually public data that we publish. So we do not collect
1741600	1745260	in client data. Our user data that we've been talking about
1745260	1749120	are actual estimations. And I'm gonna say how we do this. But
1749120	1752040	other products like VPN products, they actually count
1752040	1757180	the users and we don't. So what we have is aggregated data
1757180	1762600	from relays. So the Tor browser or Tor clients in general, when
1762600	1765660	they connect to the network, they request a list of relays
1765660	1769080	information and they need this to build the circuits. So we
1769080	1775020	estimate that if... first of all, we count all these requests
1775020	1778320	globally, how they are collected from relays. And then we
1778320	1782540	estimate that if a Tor client was connected 24 hours, it will
1782540	1787060	make 10 requests. So we count all the requests that we get from
1787060	1793860	the relays when they upload their statistics. And we divide
1793860	1797360	them by 10. And we have the user estimation. So in reality, we
1797360	1801040	might be underestimating our user count by an order of
1801040	1804400	magnitude. But that's fine for us. It's the tradeoff that we
1804400	1810960	want to make in order not to put our user at risk. So we do
1810960	1816680	have, though, historical data. And we actually serve this data
1816680	1819860	on collector.torproject.org. You'll find all the documents
1819860	1823640	that are ever, I think, being created on the network. And out
1823640	1828500	of this data, we have network-wide statistics. And we
1828500	1831720	have also the status of individual nodes that will give
1831720	1835820	us an idea of how the network is doing. And then something that
1835820	1839780	we do is making the data accessible to the public, but
1839780	1843440	also presenting the documentation of how we estimate
1843440	1847980	the metrics that we have. And we believe in algorithm
1847980	1850980	transparency so that if you download these star balls and
1850980	1854020	you process this data, you can come up with the same results
1854020	1857240	as we do. And if you don't, you explain to us why you don't have
1857240	1859740	the same results and maybe we have to change something on our
1859740	1866260	side. So this is an overview of how this process works. So the
1866260	1869700	relays have this little piece of information that they upload to
1869700	1872920	directory authorities, which are special nodes in the
1872920	1876500	network. And there is a service that's called Collector, or
1876500	1882400	Collector, which downloads these documents and archives them. And
1882400	1886580	then we have a service that takes all these documents, parses
1886580	1889420	them, puts them in a database, and extracts time series and
1889420	1894800	network statistics. And I said that all the data is public, and
1894800	1897880	this is true, but there are a few exceptions. The first
1897880	1902760	exception is that we are in a race with sensors. And these
1902760	1906220	sensors have a lot of resources, and sometimes we need to protect
1906220	1911120	some of the data in order to keep up with this race. And the
1911120	1915140	other exception that we do is that sometimes we don't publish
1915140	1919720	data when we can put users at risk. For example, if we have a
1919720	1924120	specific country which has very few Tor users, and we believe
1924120	1927520	that publishing those numbers can help somebody else that has
1927520	1930620	other data to anonymize those users, so we don't publish those
1930620	1937610	numbers. And I think the threshold is about 100 users. So
1939350	1942790	we've been talking about metrics for understanding the status of
1942790	1946090	the network, but also we have other metrics that helps us
1946090	1950790	understand if a node is misbehaving, and also give us an
1950790	1954110	idea of how the network is performing from a point of view
1954110	1959630	of performances and bandwidth and so on. So we look at traffic
1959630	1964310	users patterns, we have actual bandwidth measurements, and we
1964310	1969490	have performance measurements. So one thing that we do is
1969490	1973490	bandwidth probing, and we have a service, we actually have a
1973490	1976170	bunch of services that are called bandwidth authorities,
1976170	1980170	and what they do is that they create a two-hop circuit with a
1980170	1983830	measured relay, connect to a web server, download the files, and
1983830	1988510	gives us an idea of the time it takes to download that file, and
1988510	1992350	we can compare this with the bandwidth that actually the
1992350	1997350	relays declares, and when they send their descriptors file to
1997350	2000310	the directory authorities. And in certain cases, we can find
2000310	2002810	out that some relays, for example, is trying to game the
2002810	2005830	system and tell us that they have more bandwidth than they
2005830	2011150	actually do. And another thing that we do is performance
2011150	2015590	measurements, and we do them for two reasons. One of them is we
2015590	2018850	want to know how the network performs from different points
2018850	2023510	in the world. For example, we want to know how the location of
2023630	2027290	a user compared to the location of relays distribution globally
2027290	2034490	affects the bandwidth, affect other measurements. And the
2034490	2038990	other thing is that we want to know for censored regions, how
2038990	2042430	the network performs for those users in those extreme
2042430	2047110	situations. So the way this works is that we have a client
2047110	2051250	and a web server, and we build a server, a circuit directly to
2051250	2054450	the web server, download again a file, and we measure the
2054450	2057270	bandwidth, we measure the time it takes to build the circuit,
2057270	2064910	and if there are errors, for example. And so with all this
2064910	2069890	data, we know it's open, we know it's accessible, we know everyone
2069890	2076510	can start learning about Tor, and it's basically it's
2076510	2079970	documented data, but we also know there is a learning curve,
2079970	2083930	we also know that you need resources sometimes to store
2083930	2088990	this data, you need time to parse it. And so we decided to
2090050	2095130	open a little bit more the way people can access metrics data.
2095130	2098130	We are working on an API which is already embedded, it's
2098130	2103210	already accessible, and we hope that this API can lower the
2103210	2107150	barrier for researchers to start working with metrics data. We
2107150	2110470	have few endpoints available, more coming up soon as we are
2110470	2115450	developing. So you can access metrics-api.torproject.org, the
2115450	2118750	two endpoints that are available are details and summary, and
2118750	2122730	give you some information of relays. I forgot to mention the
2122730	2133070	API is called the Network Status API, or NSA, for short. So one
2133070	2136390	nice thing is that besides that you're querying the NSA to get
2136390	2140790	the information, is that it has a little bit more flexibility
2140790	2144730	compared to parsing the data, or what we are offering right now,
2144730	2149190	and is that you can do, for example, historical queries, so
2149190	2152710	there is a published variable that you can parse in the
2152710	2159090	URL, and you parse, you send a date, just year, month, day, and
2159090	2162490	then you get all the relays and bridges that were in the network
2162490	2167830	within a week of the parsed date. So this is something new, and
2167830	2172270	that I believe can give a lot of flexibility to researchers to
2172270	2176030	start experimenting. I hope it helps relay operators checking
2176030	2179130	the status of their nodes. And you can check out the
2179130	2183890	documentation. We welcome feedback and bugs reports, of
2183890	2191570	course, because expect it to be broken. And yeah, I think it's
2191570	2194590	part of the Tor Project mission to create and develop
2194590	2197810	anonymity and privacy technology, but also to further
2197810	2200750	its understanding, scientific understanding, popular
2200750	2205010	understanding, and this is one step forward in that direction.
2207990	2211870	Okay. So we've learned a bit about the relay community side,
2211870	2215070	and we've learned a bit about the metrics and network
2215070	2219490	measurement side. What can you do to help us? So one big piece
2219490	2223270	is get involved in the relay community and run a relay around
2223270	2228530	the world at your university, at your work, at your VPS, wherever
2228530	2231750	you happen to be. Maybe there are sysadmins in here right now
2231750	2236710	who would love to add an extra relay on their volunteer rack.
2236710	2239690	So part of that is the more relays we have, the more
2239690	2243010	performance we can handle, the more users we can give good
2243010	2245990	performance to. And the other piece of it is the more relays
2245990	2250770	we have run by good people, the smaller the impact is when some
2250770	2254330	bad person shows up to try to run a relay. So the way that we
2254330	2258690	dilute the people trying to do the attacks is we get more and
2258690	2262950	more hacker spaces and individuals and hackers and
2262950	2266690	volunteers to be participating in this community. And yes,
2266690	2270210	location matters. If you can run a relay that's not in Germany
2270210	2274450	or the Netherlands, then you'll be showing up in a part of the
2274450	2277950	Tor network that doesn't have as many relays right now. So for
2277950	2281450	example, the U.S. is nowhere near the top in terms of
2281450	2284450	countries that are contributing to the Tor network. I hear the
2284450	2288150	U.S. has lots of hackers and lots of Internet connections and
2288150	2292470	lots of computers. So there's certainly an opportunity for you
2292470	2296570	to help us make the U.S. more impactful, which in turn makes
2296570	2300730	performance better for users in this hemisphere. So think about
2300730	2304190	diversity of location, but wherever you can run it is
2304190	2307450	great. Please add more relays. And also I'm happy to chat with
2307450	2312510	you more about exit policies and whether you'll end up in IP
2312510	2317250	block lists and so on after this. And the other side of
2317250	2322410	that is community.torproject.org has a lot of how-tos and
2322410	2326550	guides on I want to set up a bridge on Debian. How do I do
2326550	2330010	it? Here are the steps. I want to do a snowflake. Here's the
2330010	2334210	steps. I want to go to a relay operator meetup or learn about
2334210	2338150	the relay associations. Here are the lists and documentation. So
2338150	2341250	there's a lot there. And join the community in general. Come
2341250	2344890	to the relay operator meetups. We don't have a formal official
2344890	2349610	relay operator meetup here at DEF CON this year because this is
2349610	2352650	one enormous room and we didn't figure out how to do the
2352650	2355850	spaces. Maybe next year we'll join privacy village or
2355850	2359690	something. But you can come talk to us afterwards and we'd love
2359690	2362950	to chat with you more about relays. And if you can't run a
2362950	2366710	relay, run a bridge or a snowflake or contribute in other
2366710	2373450	ways. So you can also get involved with the network health
2373450	2377110	team. If you're interested in network data analysis, hunting
2377110	2379610	for bad relays, there's certainly space for that. We
2379610	2383930	hope the API can help you. There is also one thing that we
2383930	2387770	do, which is creating tools for relay operators. For example,
2387770	2391150	tall weather, which gives a notification to operators when
2391150	2394650	something is not right with the relay. But also you can get
2394650	2399130	involved with or have different projects, the network status
2399130	2404550	API, the parser that we use to parse the network documents in
2404550	2408650	Java. And also we are trying to work on a better way to
2408650	2415350	visualize network data. We are trying to move the parser from
2415350	2420730	Java to Rust. There is a link to our wiki. Please get involved.
2420870	2423550	And if you're thinking to contribute to Tor in any
2423550	2427170	possible way, you're helping me, you're helping Roger, you're
2427170	2431050	helping our colleagues. You're helping us fighting the good
2431050	2434430	fight for privacy, anonymity, and internet freedom.
2434430	2434890	Thank you.
2445050	2450010	We've told you a bit about how you can help us. But it is
2450010	2452830	about helping us and it's also about helping all of the
2452830	2456210	activists and people around the world, especially the people who
2456210	2460250	don't have the power to have a military or bodyguards or
2460250	2463790	whatever, yet they want to change their society. So we will
2463790	2468270	be doing an ask us anything you like at the Tor booth in the
2468270	2471750	vendor area right after this. We've got these cool badges and
2471750	2474810	other things available. Or you can just ask us every possible
2474810	2478090	Tor question. We will be there until you have run out of all of
2478090	2482110	your Tor questions and Argoon has kindly volunteered to escort
2482110	2485450	all of us over there and we'll hang out as long as you would
2485450	2488030	like to answer all your questions. Thank you.
