Playgrounds
Here are all the pieces of the course you can play with, with nothing to install. There are two kinds:
- Labs: step-by-step simulations of the hardest things to see, like the TCP handshake, a DNS lookup or what the browser does with CORS. You move at your own pace and can cause errors to see what happens.
- Playgrounds: real tools that run inside your browser, like the cryptography that protects HTTPS or a PostgreSQL database.
Each one lives in a lesson, in its “Try it” section, which explains what you are looking at. If something doesn’t add up, start with the lesson.
Phase 0 · How the internet works
Section titled “Phase 0 · How the internet works”The TCP handshake, step by step lab
Open a TCP connection, send data and drop packets on purpose to see how TCP recovers them. Then do the same with UDP and compare.
in 06-tcp-vs-udp.md
Type a domain and follow, server by server, how it becomes an IP address. The lookups are real: try A, AAAA, CNAME and MX records.
in 07-dns.md
Public and private keys in your browser playground
Generate a key pair, encrypt with the public key and decrypt with the private one. Then sign a message and see what happens if someone changes it.
in 08-tls-and-https.md
Phase 2 · HTTP in depth
Section titled “Phase 2 · HTTP in depth”Send a request to another origin and follow, step by step, what the browser does: whether it asks first, whether it reaches the server, whether the cookie goes along and whether the page can read the response.
in 06-cors.md
Phase 5 · Databases
Section titled “Phase 5 · Databases”PostgreSQL in your browser playground
A real PostgreSQL with the shop’s data: write SQL, see the result or the error just as psql shows it, and reset the data whenever you like.
in 01-sql.md
Phase 7 · Docker and containers
Section titled “Phase 7 · Docker and containers”A Docker image’s layers and their cache lab
Build the shop’s image, change a file and see which layers are reused and which are rebuilt. Then change the Dockerfile’s order or make it multi-stage.
in 02-layers.md