NDEF-2Lesson 2 of 39 min

Eavesdropping, and why encryption defeats it

On a shared network, anyone nearby can capture the packets passing by. This lesson shows what they can see, and why encryption now makes this far less dangerous than it used to be.

Shared networks can be read

Wi-Fi is a radio signal: every device in range can pick it up. Capturing copies of packets is called sniffing, and the software for it is free. A person who sits between you and the site and can read or change traffic is called a man-in-the-middle.

Figure NDEF-2.1What someone on the same Wi-Fi can see

captured on café Wi-Fi

priya's laptop → 203.0.113.10WARN
bhavesh's phone → 198.51.100.7WARN
1/4

On café Wi-Fi, everyone shares one network. With free software, anyone on it can capture copies of the packets passing by. This is called sniffing.

Step 1 of 4

Encryption at every layer that matters

  • Websites: https (TLS) encrypts the content. Almost every major site now uses it.
  • Wi-Fi itself: WPA2 and WPA3 encrypt the radio link. The old WEP system was broken years ago and must not be used.
  • Remote control of servers: SSH replaced telnet, which sent passwords in plain text.

Public Wi-Fi today

Because most traffic is now encrypted end to end with TLS, using public Wi-Fi is much safer than it was ten years ago. Current consumer advice treats a VPN as optional for most people. A VPN hides your traffic from the café, but the VPN company can then see what the café could; it moves your trust rather than removing the need for it. What still matters: never click past a certificate warning, and keep your device’s firewall on.

NDEF-2 counts as completed once you step through the figure to its last step.