The infinite layers of censorship

ETHCC 7 · 9 Jul 2024 · 22:05

Costanza Gallo of the Swarm Foundation surveys the many forms of internet censorship, from platform takedowns such as GitHub removing the Tornado Cash repository to ISP shutdowns, surveillance and technical blocking, then asks how crypto projects can reduce their exposure. She poses questions such as whether builders are anonymous and whether a project relies on centralized infrastructure. She presents Swarm as a response: files are split into chunks spread across nodes with erasure coding, publishing gives ownership of content, and PSS messaging is said to make messages hard to intercept. In Q&A she says node operators cannot know what they store, and that Swarm is production ready.

Speakers

Topics

From ETHCC 7, hosted by Ethereum France.

Transcript

Hello, can you hear me? Yes. Perfect. Good morning, everyone. My name is Costanza and I work for the Swarm Foundation. It's a centralized and censorship resistant steward and communication network. Today I'll be talking about the various layers of internet censorship and how and where Web3 can help us. So this is because I joined the space as I was attracted by the promises of censorship resistance. And this past year showed me more than ever why we need digital freedoms and to take the power back from central authorities.

Before I start, some disclaimers. Also, everything I'm saying is a personal view, and I do not represent an organization that I am or I was affiliated with. Yeah.

That happened to me as well. And traditional solutions like VPN or Tors, they didn't work. Last time I was in China, I downloaded the VPN I had used in the past in China, combined with DOR, except that VPN and Tor are centralized. That means that they can be blocked or they can be censored by government or by ISPs. And they're not incentivized networks. So that means that there is no guarantee that people will continue to participate in them if they are blocked.

So just like you, I was cut off from the internet. And the past 12 months have seen a surge in chanceship attacks. Chancellorship is the spread of fake news to obfuscate the truth. Think about role farms or someone shouting and that covers your voice. And that also means how can you trust what you see online? Chancellorship doubt in the value of information.

We saw that this winter with Instagram making content related to the word in Gaza less and less visible. Like when governments block access to exchanges, preventing users from accessing their accounts and conducting transactions. Chancership is the platforming, taking down repos.

The most notable example, GitHub taking down the Tornado Cache repo. Chancellor is cutting off people from accessing ISPs. Like during the Arab Spring, the Egyptian government ordered ISPs to shut down internet to disrupt coordinations among productors. Chancership is also cutting off power from ISPs. Like this winter, when Israel made ISP towers in Gaza unusable. Like during the civil war in Syria, where electricity was cut off to disrupt internet and telecommunication services in contested areas.

Chancership is not giving access to people the materials necessary to build hardware. Chancership is spying on people because there is no freedom without privacy. And the US are championing this with NSA surveillance activities that monitor communications and internet activities of every one of us. Again, these are tornado cash and WikiLeaks all over it.

So here we're going to focus on internet chanceship, as in governments chancering crypto projects and how we can mitigate it. So let me ask you a question. How many of you have faced chanceship issues in your projects? Because the truth is it can happen to any of us. And that is why it is important to mitigate the risk. For crypto projects, censorship can be a matter of a brute force attacks or legal compliance.

Censorship of a web3 project can happen at a human level by threatening people, by arresting people, to force them to comply with the laws. So basically playing IRL in real life. So if Bob wants to transfer Alice, he threatens her to comply with his wishes. Or sometimes, in order to transfer Alice, Bob threatens Dave and forces him to change Alice. Think about GitHub taking down the Tornado Cache repo.

Tornado Cache rely on GitHub to host its source code. And by threatening or compelling GitHub, authorities were able to effectively block Tornado Cas by removing its repo from the platform, disrupting access to its code and development activities. Block builders can now deliberately exclude sanctioned crypto addresses, and they do that. So basically they can decide upon the content of the blockchain.

And then there is a technical level. It can be a brute force attack, like the China Greece firewall. So this is the case of many decentralized exchanges like Uniswap that are blocked in some countries by a combination of IP address filtering, sorry, IP address blocking, DNS filtering, URL filtering, deep packet inspection, trapping and traffic shaping, which slow down the connection. So where does that leave us?

If someone is to chance your project, they can do the following. So what can you do to protect yourself? And again, I can't stress enough that this is not legal advice. So looking at chanceship resistance spectrum, we can argue that a project can be fully chanceship resistant or fully gullible. Can you be arrested for the code you're writing?

And that means are you Anon? Or people know you and they can identify you? Because that happens with Wikipedia in France in 2013. And it's the latter. Do you live in a country that has a track record of arresting people? Or you live in a country that respects human rights, like France when they arrested Wikipedia volunteer, for example. Respect human rights. Do you live in a country that will sell you out to the highest bidder if it is the fan?

What about your country of origin? Will they protect you? What about when you travel? Like when you come here. Can it be blocked by a chancer? Does it rely on a centralized infrastructure? So here I will illustrate how to protect yourself against those chanceship elements using the swarm network. How does it work?

There is three key components here to make a chance resistant. When you upload a file, it gets divided into small chunks, and each chunks is stored in a different node in the network of chain. Each chunk is identified by its ash, ensuring data integrity. And chunks are stored in a redundant way across the network. On top of that, you also have a razor code that ensures that data is available when chunks are corrupted. So the first thing is the forward academia.

So this is the way that nodes communicate with each other. The radial distance indicates the number of hubs from the origin to the target node. And it has several advantages compared to the iterative academia, that is the traditional one. With forward academia, you have direct forwarding that reduces the overall lookup time by enabling multi-hub communication. While in iterative academia, you have the acquiring node to wait for the responses.

So it adds light latency. With forwarding academia, intermittent nodes take on forwarding responsibilities, reducing the load on the initiating node. Moreover, the load is distributed amongst nodes in the forwarding path, preventing bottlenecks. And finally, forwarding academia efficiently handles large-scale networks due to its distributed query processing, while iterative academia can struggle with scalability. So that means that node operators cannot be held accountable for the content they're storing, so there is no middleman chanceship.

So what does it mean? No preventing people from accessing the content, not the platforming. And that matters because publishing your website, your application, on the Sworm Network will give you total ownership of your content, making censorship more difficult. And then you also have zero leaks communication. Because chunks allow for zero leaks communication by storing encrypted chunks of content in the nodes that communicate using the academia routing and mixing them up. And this is what we call PSS messaging.

The first element is the Troyan chunks. And that makes it virtually impossible for third parties to track or intercept messages.

They just look like any piece of normal swarm traffic. The second key element for me to communicate with Waldo is the handshake. Encrypted communication requires the handshake to agree to the initial parameters that are used as inputs to its symmetric key generation scheme. So Swarm can assure your privacy, is protected, and your identity is safe. And there is the single owner chunks and fields.

Single owner chunks means that each chunk has an hash address that allows you to retrieve the chunk, and there is also a signature attacked to the chunk that attests that it is yours. And if the other party, so in this case Waldo, knows your signature, they will know that the message comes from you and you can communicate. That also means that you are the sole owner of that chunk, and in this way, you can also check whether the file has been updated. And when a file gets updated multiple times, then you have also a fee that is a pointer to a mutable content.

Again, I don't know why there is no image, it will be way clearer. But I'll show you the documentation later where you can find it. So in this way, um you have zero risk communication and a decentralized storage architecture that will ensure that your code is protected and so is your privacy. So what can you make censorship resistance in this way? AI applications where data integrity is vital, is vital for AI models that rely on a vast amount of data for training and operation. And also that means that no central authority can block or restrict access to the data or the AI that you are developing.

Any front ends, including DeFi, UX and UI to ensure resilience against brute force attacks that make the front end vulnerable to the average user. Video streaming platform, so that they can be stopped and your content can be accessed anywhere. Because honestly, if you don't worry about being chanceship resistant, what are we even doing here? And finally, and this is legal advice.

If you want to protect yourself, get yourself a shadowy super lawyer. Thank you. And including the image that is missing from the presentation. Thanks. Can you please close the door?

It's super noisy. What is this? Oh, didn't even realize it. Um yeah, thanks for the presentation. A lot of valuable info. Uh, my question is on the side of your like, I guess, competitors or people that started in the same decentralized storage uh space around the same time or maybe later. So if we're looking like uh R weave, um uh Filecoin and others, like uh from the beginning I was rooting for Swarm because it kind of started along with Ethereum, yeah, but then the project kind of like um I lost the sight of it. It wasn't anywhere, you guys were working behind the scenes, I wasn't really aware what you were doing.

And so right now, what's the current standing compared to like you know, our weave and uh file coin and others? Okay, um, thank you for the question, first of all. Um I wasn't expecting that. So uh yeah, Swarm started in 2014. A little bit of background for people that don't know what is referring to. Um the Sworm Network is finally production ready. Um we launched a domain, uh so everything is functioning. Uh we launched the eraser coding.

So the product is alive. Thing is that it take it takes a while to develop something like Swarm. And the team wanted to make sure that the code was, you know, um good and deliverable and can and could happen to the promises. Um they didn't want to we don't want to promise something that we cannot deliver. That's why I went silent, but um it kept on working, um the technical team kept on working, and so now you can finally have even erasure code. So when nodes go down, the content is retrievable.

Does that answer your question? Yeah, absolutely. So is there anyone from the um technical team here on site that I can talk to or no? Uh from the technical team, there is uh uh Antonia that is running around, or you can come to me and I can put in contact also depending on which technical question you have. But we also have community members here that have been developing super cool projects on the Sworm Network, like the video streaming platform I was mentioning earlier. I I do have a question about what about my own rights to censor people?

So my own rights to censor people. So if there's an application that I disagree with personally, I may want to censor that. And uh, or there might be legal repercussions for me hosting an application. So uh if I want to prevent Tor nodes from accessing certain sites to uh uh you know reduce my liability, then should I be able to censor the applications that are running on my hardware? So if you are a node operator, or if you are an average user, or if you are a central authorities, who are you? I I I'm a node operator.

So no so basically when you plot a file on the swarm network, um, let me go back. The file gets divided into small chunks. So here you have no idea what you're storing on the network, because you are storing a pixel of a larger file. So you don't know what you're storing. And that is very important because it ensures um plausible deniability. But does that still offer uh uh make me liable for hosting illegal content, for example, if people upload that to the swarm network as a node operator, that makes me uncomfortable. You have no idea what you're storing.

Oh, okay. That's the thing, like the whole idea is that um you take a larger file, it gets divided into small chunks, and each chunks is stored on a different network. Then on top of that, you can also encrypt the chunks. That depends on to you whether you want to encrypt it or not. So you as a node operator have no idea what you're storing on the network, what you're storing on your n on your own node. So there is no way that you can be held accountable for storing a pixel. Okay, let's think.

Thank you.

Related talks