How Wi-Fi works
Joining WPA2 Wi-Fi: the device associates with the access point, then the 4-way handshake proves both know the password and derives fresh encryption keys - without ever sending the password.
Layer: Data link (OSI layer 2) · Port: - · Transport: 802.11 · Format: 802.11 frames + EAPOL · Standard: IEEE 802.11i
Wi-Fi packet flow
- 802.11 Access Point → Client: Beacon: SSID NanoTech-WiFi, WPA2
- 802.11 Client → Access Point: Authentication + Association request
- EAPOL Access Point → Client: 4-way handshake 1/4 (ANonce)
- EAPOL Client → Access Point: 2/4 (SNonce + MIC)
- EAPOL Access Point → Client: 3/4 (install keys, GTK)
- EAPOL Client → Access Point: 4/4 - encrypted from now on
Other protocols: HTTPS · SSH · TLS/SSL · DNSSEC · DNS over HTTPS · WPA3 · RADIUS · Captive Portal · HTTP Proxy · SOCKS5 · Reverse Proxy · WireGuard · IPsec