Skip to content
Menu
Open World News Open World News
  • Privacy Policy
Open World News Open World News

Privacy design of f-droid.org webservers

Posted on March 13, 2024 by Michael G

Author: uniqx
Source

F-Droid is committed to upholding privacy-by-design principles. This
commitment has significant architectural implications for all of our
software and systems. Here’s what it means for our web servers.

At present, many websites rely on commercial content delivery network (CDN)
providers. While this simplifies scaling out for website operators, it
centralizes the internet, which has some implications on user privacy. First
and foremost, CDN providers can see all user data. This means that users
need to trust that none of their data is being stored and/or leaked. CDN
providers tend to have strong privacy policies. However, users and website
operators cannot verify how these policies are enforced. Regulations such as
GDPR have reporting requirements that can help, but ultimately trust is
required.

To scale out f-droid.org in a privacy-friendly manner, we rely on mirroring
and adding more servers under our control.

Mirroring has been a successful scaling strategy for many GNU/Linux
distributions. Anyone can host a mirror of our app repository by keeping an
up-to-date copy on their web
server
. Traditionally,
Universities and ISPs provide mirroring to speed up their internet
infrastructure. Our app automatically selects a mirror for each download
based on connection performance. F-Droid carefully curates a list of
official mirrors. Our app gives users complete control over which mirrors
they want to use. We are also exploring ways to provide more information
about mirrors to assist users in making informed trust decisions. Towards
that end, the country where the mirror is located is now
provided
for official mirrors, which the client will soon
use
when choosing
where to download from. Additionally, we require a good privacy policy for
new mirrors, and are working on a way to make that
visible to
users.

As a side note, the popular proprietary CDN provider Cloudflare is
sponsoring a mirror of our website and
repository. If you trust them
you can add this repository as a mirror to your F-Droid App by going to
repository settings and adding the mirror as if you were adding a new
repository. We are working with them to get TLS Encrypted Client Hello
(ECH) enabled on that site. That is the upcoming IETF standard for
protecting metadata in TLS connections, including the domain name in the SNI
field.

We’ve automated our webserver operations with ansible on top of
Debian. This gives us a lot of flexibility, such as the ability to implement
privacy enhancing network and logging configurations, as well as the freedom
to easily change server hosting providers.

Our web servers are protected by HTTPS transport encryption. Although we use
a state of the art implementation of this protocol, the domain name that
users are connecting to is typically transmitted in clear text during
connection establishment. This is because of a widely used technique called
SNI. While SNI is a fundamental requirement for building multi-tenant CDNs,
we have configured our servers to accept connections without SNI. This
allows clients to connect to f-droid.org without having to include the SNI.
This provides the same kind of protection as ECH, but is available right now
for clients that implement it.

Based on research from Guardian Project’s Clean Insights, we’ve configured
our web servers to log country codes instead of IP addresses. This means
that we do not store any personally identifiable information. Our servers
also delete log data after 14 days. We’ve been running this configuration
for over a year now and it seems to be working pretty well. Here’s what our
web server logs look like:

0.0.0.0 - - [29/Feb/2024:00:00:00 +0000] "HEAD /repo/index-v1.jar HTTP/1.1" 200 0 "-" "-" DE
0.0.0.0 - - [29/Feb/2024:00:00:00 +0000] "GET /repo/entry.jar HTTP/2.0" 200 2574 "-" "-" US
0.0.0.0 - - [29/Feb/2024:00:00:00 +0000] "GET /repo/entry.jar HTTP/2.0" 200 2574 "-" "-" DE
0.0.0.0 - - [29/Feb/2024:00:00:00 +0000] "GET /repo/entry.jar HTTP/2.0" 200 2574 "-" "-" BE
0.0.0.0 - - [29/Feb/2024:00:00:00 +0000] "GET /F-Droid.apk HTTP/2.0" 206 1474560 "https://f-droid.org/" "-" NG

With fine-grained control over our web server logs and a significant amount
of traffic, F-Droid is in a great position to innovate on privacy
metrics. We’re aggregating our logs and publish the resulting raw metrics
for f-droid.org
on a weekly basis. The
numbers we collect here don’t include metrics from our mirrors, but they
should be good enough for statistical analysis. No one on our team is
currently working on this analysis, so if this sounds interesting to you,
this could be a great way to make a valuable contribution to F-Droid.

If you’re interested to learn more about privacy protections in F-Droid,
here is an article about why F-Droid doesn’t have user
accounts
.

Read more

Related Posts:

  • Federated services made easier
    Federated services made easier
  • Gentle updates postponed
    Gentle updates postponed
  • Unattended updates for everyone, 1.19 is here
    Unattended updates for everyone, 1.19 is here
  • Let us compete on trustworthiness and an Arcticons special release
    Let us compete on trustworthiness and an Arcticons…
  • Vulnerability Patching for F-Droid apps
    Vulnerability Patching for F-Droid apps
  • Favor your repository
    Favor your repository

Recent Posts

  • [TUT] LoRa & LoRaWAN – MikroTik wAP LR8 kit mit The Things Network verbinden [4K | DE]
  • Mercado aguarda Powell e olha Trump, dados e Haddad | MINUTO TOURO DE OURO – 11/02/25
  • Dan Levy Gets Candid About Learning How To Act Differently After Schitt’s Creek: ‘It’s Physically…
  • Building a Rock Shelter & Overnight Stay in Heavy Snow 🏕️⛰️
  • Les milliardaires Elon Musk et Xavier Niel s’insultent copieusement

Categories

  • Android
  • Linux
  • News
  • Open Source
©2025 Open World News | Powered by Superb Themes
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT