Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

Good day, Community!

My name is Yanis Slav Basyuk. I am the coordinator of the community organization "Medium."

In this article, I have tried to gather the most comprehensive information about what this decentralized internet provider operating in the territory of the Russian Federation is. decentralized internet provider.

I will discuss:

    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   What "Medium" represents
    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   What Yggdrasil is and why "Medium" uses it as the main transport
    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   How to properly set up the environment to use the resources of the "Medium" network

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

M. P.:

Medium (English, Medium — "intermediary", the original slogan — Don’t ask for your privacy. Take it back; in English, the word medium means "intermediate") — a Russian decentralized internet provider offering network access services Yggdrasil on a non-profit basis.

When, where, and why was "Medium" created?

Initially, the project was conceived as a Mesh network downward API support (simultaneously with this in in the Kolomna urban district.

Medium was established in April 2019 as part of creating an independent telecommunications environment by providing end users with access to the Yggdrasil network resources through the use of wireless data transmission technology, Wi-Fi.

Where can I find the complete list of all network points?You can find it at GitHub repository.

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

What is Yggdrasil and why does Medium use it as the primary transport?

Yggdrasil — it is a self-organizing a Mesh network, capable of connecting routers both in overlay mode (on top of the Internet) and directly to each other via wired or wireless connections.

Yggdrasil is a continuation of the project CjDNS. The main difference between Yggdrasil and CjDNS is the use of the STP (spanning tree protocol).

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

By default, all routers in the network use end-to-end encryption for data transmission between other participants.

The choice of the Yggdrasil network as the main transport was driven by the need to increase connection speed (until August 2019, Medium used I2P).

Switching to Yggdrasil also provided project participants with the opportunity to start deploying a Full-Mesh topology mesh network. This network organization is the most effective antidote against censorship.

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

Yggdrasil by default uses end-to-end encryption. Why do the services of the "Medium" network use HTTPS?

There is no need to use the HTTPS protocol to connect to web services in the Yggdrasil network if you are connecting to them through a locally running Yggdrasil network router.

Indeed: the Yggdrasil transport at the level protocol allows the secure use of resources within the Yggdrasil network — the possibility of conducting MITM attack is completely excluded.

The situation fundamentally changes if you access Yggdrasil's internal resources not directly, but through an intermediary node — a point of access to the "Medium" network administered by its operator.

Who can compromise the data you transmit in such a case:

  1. Access point operator. It is clear that an active operator of the "Medium" network access point can eavesdrop on unencrypted traffic passing through their equipment.
  2. Malicious actor (man-in-the-middle). "Medium" has a problem similar to the Tor network's issue, but concerning entry and intermediary nodes.

This is how it looksEverything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

Solution: to access web services within the Yggdrasil network, use the HTTPS protocol (layer 7 of the OSI model). The problem is that for Yggdrasil network services, it is impossible to issue a valid security certificate by ordinary means, such as Let’s Encrypt.

Therefore, we established our own certification authority — "Medium Root CA". The vast majority of the services in the "Medium" network are signed with the root security certificate of this certification authority.

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

The possibility of compromising the root certificate of the certification authority was certainly taken into account — but here the certificate is primarily needed to confirm the integrity during data transmission and to prevent the possibility of MITM attacks.

The services of the 'Medium' network from various operators have different security certificates, which are signed by the root certificate authority. However, the operators of the root certificate authority do not have the ability to eavesdrop on the encrypted traffic of the services for which they have issued security certificates (see. What is a CSR?).

Those who care especially about their security can use additional protective measures such as PGP and similar ones..

Currently, the public key infrastructure of the 'Medium' network has the capability to verify the status of a certificate via the protocol OCSP or by using CRL.

Does 'Medium' have its own domain name system?

Initially, the 'Medium' network did not have a centralized domain name server that would allow participants to access the most frequently visited resources in a simpler, more familiar way (as opposed to using the IPv6 address of a specific server).

We at 'Medium' decided to breathe life into this idea — and to jump ahead a bit, we succeeded!

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

Domain name registration occurs automatically — you just need to specify the IPv6 address of the server where the service is running. The robot will check whether this address actually belongs to the person attempting to register the domain name.

In case of success, the domain name will be added to the domain name database within 24 hours. If the server stops responding to the robot and remains unavailable for more than 72 hours, the domain name will be released.

It will not be possible to register a domain name at ::1.Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

A copy of the full list of registered domain names can be found at GitHub repository. This ensures maximum transparency regarding the current state of domain names and eliminates the possibility of their blockage due to potential ambiguous situations arising from human factors. What if the DNS operator doesn't like something?.

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

And what about issuing SSL certificates for web services?

The creation of domain name servers was also driven by the need to deploy public key infrastructure — in order to issue a certificate, it is necessary to include a CN (Common Name) field that represents the domain name for which the certificate is issued.

The procedure for issuing certificates signed by the certification authority is carried out automatically — a robot checks the accuracy and authenticity of the data entered by the user. If successful, the end user is sent an email containing the signed certificate.

Here's such aEverything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

How to properly configure the environment for utilizing resources of the 'Medium' network?

The specifics of setting up the working environment depend on the operating system you are using.

Choose wisely (the image is clickable):

Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to askEverything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask

A free Internet in Russia starts with you

You can contribute to the establishment of a free Internet in Russia today. We’ve compiled a comprehensive list of ways you can help the network:

    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   Tell your friends and colleagues about the "Medium" network
    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   Share the link to this article on social networks or your personal blog
    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   Participate in the discussion of technical issues regarding the "Medium" network on GitHub
    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   Create your web service on the Yggdrasil network and add it to the DNS of the 'Medium' network
    Everything you wanted to know about the decentralized Internet provider "Medium" but were afraid to ask   Lift your access point to the "Medium" network

Also read:

Honey, we are killing the Internet
Decentralized internet provider 'Medium' — three months later
«Medium» — the first decentralized internet provider in Russia

We are on Telegram: @medium_isp

Only registered users can participate in the survey. Please log in, please.

Alternative Voting: We value the opinions of those who do not have a full-fledged account on Habr.

A total of 138 users voted. 65 users abstained.

Source: habr.com

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster