Compare commits
4 Commits
c91e325806
...
02d9b18e74
Author | SHA1 | Date | |
---|---|---|---|
02d9b18e74 | |||
7a638e7fbb | |||
0b1902cd1a | |||
597ad23238 |
28
config.yml
@ -37,17 +37,11 @@ author:
|
||||
menu:
|
||||
main:
|
||||
- name: "Blog"
|
||||
url: ""
|
||||
weight: 1
|
||||
pageRef: "/"
|
||||
weight: 10
|
||||
- name: "Tags"
|
||||
url: "tags/"
|
||||
weight: 2
|
||||
- name: "About"
|
||||
url: "about/"
|
||||
weight: 3
|
||||
- name: "Talks"
|
||||
url: "talks/"
|
||||
weight: 4
|
||||
pageRef: "/tags"
|
||||
weight: 20
|
||||
|
||||
languages:
|
||||
en:
|
||||
@ -73,14 +67,8 @@ languages:
|
||||
menu:
|
||||
main:
|
||||
- name: "Articles"
|
||||
url: ""
|
||||
weight: 1
|
||||
pageRef: "/"
|
||||
weight: 10
|
||||
- name: "Tags"
|
||||
url: "tags/"
|
||||
weight: 2
|
||||
- name: "À propos"
|
||||
url: "a-propos/"
|
||||
weight: 3
|
||||
- name: "Conférences"
|
||||
url: "conferences/"
|
||||
weight: 4
|
||||
pageRef: "/tags"
|
||||
weight: 20
|
||||
|
@ -2,6 +2,10 @@
|
||||
title: "Who am I?"
|
||||
date: !!timestamp '2017-07-31T00:50:07+02:00'
|
||||
update: !!timestamp '2021-07-24T00:00:00+01:00'
|
||||
menu:
|
||||
main:
|
||||
name: "About"
|
||||
weight: 30
|
||||
---
|
||||
|
||||
Hello! `nemunaire` here, aka Pierre-Olivier; I am an engineer (and passionate about [how things work](https://en.wikipedia.org/wiki/Wikipedia)), a teacher (and a pioneer of [gamification](https://en.wikipedia.org/wiki/Gamification) in my classes), a cook (and an advocate of [limiting the ecological footprint in our eating habits](https://en.wikipedia.org/wiki/Vegetarianism)) and I also fight against the hold of [GAFAM](https://en.wikipedia.org/wiki/GAFAM) on our time. Besides, I generally adhere to [stoicism](https://en.wikipedia.org/wiki/Stoicism). I love typography, challenges, chocolate (or vanilla?? the choice is too hard) and so many other things!
|
||||
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
@ -28,7 +28,7 @@ In fact, for many years, one could almost think that for an advertising company,
|
||||
But one day, an advertising engineer had an idea: if we could know what kind of person is searching, we would be able to send them directly to the most appropriate site.
|
||||
A few developments later, here is what the biggest data vacuum cleaner you can imagine was:
|
||||
|
||||

|
||||

|
||||
|
||||
Contacts, message contents, order forms, newsletters, ... This is how to subtly direct someone to one site rather than another.
|
||||
This is very good when we are in a hurry, but instead of opening us up to the world in general, it locks us into an information bubble.
|
@ -24,7 +24,7 @@ This is possible because the router regularly transmits information about the su
|
||||
|
||||
For our experiment, let's take the following lab:
|
||||
|
||||

|
||||

|
||||
|
||||
We have all our equipment connected to the box and a series of virtual machines hosted on one of the network machines.
|
||||
|
||||
@ -42,7 +42,7 @@ The main interest of this segmentation would be to avoid that all this little wo
|
||||
|
||||
We could therefore want to segment our network like this:
|
||||
|
||||

|
||||

|
||||
|
||||
We would reserve half of the /64 block for real network equipment and allocate the other half to our virtual machines located on a server/Raspberry Pi.
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
@ -15,7 +15,7 @@ In fact, for the same reason we saw in [the introductory article]({{< relref "us
|
||||
|
||||
The same phenomenon can be observed with IPv4: each container has an IPv4 in a subnet separate from the one in which our host machine is located.
|
||||
|
||||

|
||||

|
||||
|
||||
In order for the containers to have access to the Internet under these conditions, in IPv4 NAT is implemented:
|
||||
|
||||
@ -72,7 +72,7 @@ On the Freebox, the window for setting additional prefixes is in "Paramètres de
|
||||
|
||||
It looks like this:
|
||||
|
||||

|
||||

|
||||
|
||||
Always leave the first field empty, otherwise the box will not offer you IPv6 on the main network.
|
||||
|
||||
@ -85,7 +85,7 @@ That's all! The hardest part is over. Now let's see the Docker configuration.
|
||||
|
||||
We will not use the range to which our machine is connected. We are going to use a whole /64 range, the one for which we have given the local IP of our machine to the box.
|
||||
|
||||

|
||||

|
||||
|
||||
According to the previous screenshot, our configuration file `/etc/docker/daemon.json` should look like:
|
||||
|
@ -1,6 +1,9 @@
|
||||
---
|
||||
title: "Talks"
|
||||
date: !!timestamp '2017-07-31T00:07:37+02:00'
|
||||
menu:
|
||||
main:
|
||||
weight: 40
|
||||
---
|
||||
|
||||
Here are slides I used as support to my presentations:
|
||||
|
@ -2,8 +2,12 @@
|
||||
title: "Qui suis-je ?"
|
||||
date: !!timestamp '2017-07-31T00:50:07+02:00'
|
||||
update: !!timestamp '2021-07-24T00:00:00+01:00'
|
||||
menu:
|
||||
main:
|
||||
name: "À propos"
|
||||
weight: 30
|
||||
aliases:
|
||||
- a-propos
|
||||
- about
|
||||
---
|
||||
|
||||
Bonjour ! ici `nemunaire`, alias Pierre-Olivier ; je suis ingénieur (et passionné par [le fonctionnement des choses](https://fr.wikipedia.org/wiki/Wikipédia)), enseignant (et pionnier de la [gamification](https://fr.wikipedia.org/wiki/Ludification) de mes cours), cuisinier (et partisan de [limiter l'empreinte écologique dans nos habitudes alimentaires](https://fr.wikipedia.org/wiki/V%C3%A9g%C3%A9tarisme)) et je lutte aussi contre l'emprise des [GAFAM](https://fr.wikipedia.org/wiki/GAFAM) sur notre temps. D'ailleurs j’adhère de manière générale au [stoïcisme](https://fr.wikipedia.org/wiki/Sto%C3%AFcisme). J'adore la typographie, les challenges, le chocolat (ou la vanille ?? le choix est trop difficile) et tant d'autres choses !
|
@ -1,8 +1,11 @@
|
||||
---
|
||||
title: "Talks"
|
||||
title: "Conférences"
|
||||
date: !!timestamp '2017-07-31T00:07:37+02:00'
|
||||
menu:
|
||||
main:
|
||||
weight: 40
|
||||
aliases:
|
||||
- conferences
|
||||
- talks
|
||||
---
|
||||
|
||||
Voici les supports des conférences que j'ai données :
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB |
@ -28,7 +28,7 @@ D'ailleurs, pendant de longues années, on aurait presque pu penser que pour une
|
||||
Mais un jour, un ingénieur publicitaire a eu une idée : si on pouvait savoir quel genre d'individu fait une recherche, on serait capable de l'envoyer directement vers le site le plus approprié.
|
||||
Quelques développements plus tard, voici ce que fût le plus grand aspirateur de données que l'on puisse imaginer :
|
||||
|
||||

|
||||

|
||||
|
||||
Contacts, contenus des messages, bons de commandes, newsletters, ... Voilà comment orienter subtilement quelqu'un vers un site plutôt qu'un autre.
|
||||
C'est très bien lorsqu'on est pressé, mais au lieu de nous ouvrir sur le monde en général, cela nous enferme au contraire dans une bulle informative.
|
@ -24,7 +24,7 @@ Cela est possible car le routeur émet régulièrement les informations du sous-
|
||||
|
||||
Pour notre expérience, prenons le lab suivant :
|
||||
|
||||

|
||||

|
||||
|
||||
Nous avons tous nos équipements reliés à la box et une série de machines virtuelles hébergées sur l'une des machines du réseau.
|
||||
|
||||
@ -42,7 +42,7 @@ L'intérêt principal de cette segmentation serait d'éviter que tout ce petit m
|
||||
|
||||
On pourrait donc vouloir segmenter son réseau comme cela :
|
||||
|
||||

|
||||

|
||||
|
||||
On réserverait la moitié du bloc /64 aux équipements réels du réseau et on attribuerait l'autre moitié à nos machines virtuelles situées sur un serveur/Raspberry Pi.
|
||||
|
@ -15,7 +15,7 @@ En fait, pour la même raison que nous avons vu dans [l'article introductif]({{<
|
||||
|
||||
On observe d'ailleurs le même phénomène avec l'IPv4 : chaque conteneur dispose d'une IPv4 dans un sous-réseau distinct de celui dans lequel se trouve notre machine hôte.
|
||||
|
||||

|
||||

|
||||
|
||||
Pour que les conteneurs aient accès à Internet dans ces conditions, en IPv4 du NAT est mis en œuvre :
|
||||
|
||||
@ -72,7 +72,7 @@ Sur les Freebox, la fenêtre de paramétrage des préfixes supplémentaires se t
|
||||
|
||||
Cela ressemble à ça :
|
||||
|
||||

|
||||

|
||||
|
||||
Laissez toujours le 1ᵉʳ champ vide, sans quoi la box ne vous proposera plus d'IPv6 sur le réseau principal.
|
||||
|
||||
@ -85,7 +85,7 @@ C'est tout ! Le plus dur est passé. Voyons maintenant la configuration de Docke
|
||||
|
||||
Nous n'allons pas utiliser la plage à laquelle notre machine est connectée. Nous allons utiliser toute une plage /64, celle pour laquelle on a donné l'IP locale de notre machine à la box.
|
||||
|
||||

|
||||

|
||||
|
||||
Selon la capture d'écran précédente, notre fichier de configuration `/etc/docker/daemon.json` devrait ressembler à :
|
||||
|