by pavel | September 5, 2024
We are excited to officially welcome Mediapart.fr, an independent French investigative online newspaper, to the growing list of news outlets that have adopted a .onion site on the Tor network. By leveraging Tor technology, Mediapart ensures that its reporting can reach everyone, everywhere, regardless of the political climate.
Readers can now access Mediapart's reporting via https://www.mediapartrvj4bsgolbxixw57ru7fh4jqckparke4vs365guu6ho64yd.onion/.
Protecting readers, defending independent journalism
Freedom of expression, access to information, and freedom of the press are fundamental rights that Mediapart has upheld since its creation in 2008 through its extensive investigative reporting. In some countries however, authorities restrict access to the free press, as seen recently with the blocking of European media outlets in Russia. This ultimately prompted the launch of Mediapart's onion: to counter such censorship and stand up to those "that hate checks and balances," says Carine Fouteau, the publication's president and publishing editor.
"Following Emmanuel Macron's dissolution of the French National Assembly in June 2024, the risk of the far right forming a government in France has prompted us to prepare for the worst," continues Carine. "By being available on the Tor network, we guarantee that our readers can access our information freely, regardless of the political circumstances. We are also thinking of our readers living abroad. Mediapart is a newspaper without borders: our subscribers need to be able to read us securely wherever they live."
Making the move to the Tor network
To dive deeper into the technical side of launching the .onion domain, we spoke with Yassine Zouggari, DevSecOps Engineer for the outlet, about setting up the Onion Service using Onionspray. This tool simplifies the process by setting up HTTPS rewriting proxies between existing websites and Tor users. Onionspray provides an extra protocol layer for accessing public sites. By relying on the Onion Services technology, it protects the user location information and the website against censorship as long as both the website and users can access the Tor network.
The Tor Project: Why did you decide to launch a .onion site now? Is it solving any problems you were experiencing?
Yassine Zouggari: One of our main objectives has been to provide a convenient way for our users to securely connect to our website. Launching the Onion Service also enables us to more easily allow legitimate Tor traffic to our site, as using our clearnet website with Tor is sometimes blocked by our website's own defenses.
What prompted us to launch this service at this particular moment in time were the recent European elections and the French Parliament's dissolution. We want to make sure that we have tools in place that make it as easy as possible for our readers to circumvent censorship of our clearnet website, should it occur in the future.
TP: How was your experience using Onionspray? Did you find it easy to use?
Yassine: Onionspray made it straightforward for us to deploy the .onion domain without much effort. We had a basic version working pretty much out-of-the-box, with very minimal setup to make it work flawlessly. The software comes equipped with all the necessary tools and configurations, and the documentation is precise and helpful.
The bulk of the work has been 1) adapting our security measures to rate-limit requests per-user if coming through our Onionspray proxy, so that one brute-forcer does not impact the whole Onion Service; and 2) making Onionspray easier to deploy in our infrastructure as code (IaC) context. To make such a deployment easier for others, we have open sourced our Ansible role, which handles the full setup.
TP: Overall, how much time did you spend setting up your Onion Service? Would you say that it is a worthwhile investment for other websites and news outlets?
Yassine: All in all, the technical setup took about a week for one engineer. We also hope that our contributed Ansible role will significantly speed up this process for others--especially for other organizations with similar requirements to ours.
I believe this is a worthwhile investment: Ensuring that people around the world have access to trustworthy news sources is paramount, regardless of the political context and what might be allowed in their country. The more people use Tor, the more effective it becomes at anonymizing traffic. Setting up an Onion Service promotes the use of Tor and therefore will also contribute to the fight against mass surveillance.
If you are a news outlet or organization interested in enhancing access and security to your website, visit Onionspray to learn more about simplifying the setup of Onion Services for public websites.
This is a companion discussion topic for the original entry at https://blog.torproject.org/mediapart-launches-onion-service