Network security
Protecting traffic on the way: ports and first-match firewalls with default deny, the TLS 1.3 handshake that makes HTTPS safe, and what VPN tunnels do and do not hide.
About 8 hours of study
Learning objectives
- Predict a firewall's decision and design rules with default deny
- Walk through the TLS 1.3 handshake and say where a man in the middle is caught
- Explain what a VPN hides, from whom, and what it costs
- Route traffic with split tunnelling and longest prefix match
Lessons
- 1
Ports and firewalls
What ports are, how a firewall reads an ordered rule list where the first match decides, why the default policy should be deny, and how a stateful firewall lets only replies back in.
- 2
The TLS handshake
How HTTPS starts: the TLS 1.3 handshake message by message, with key shares in the Hellos, a certificate and signature for identity, and Finished MACs that catch any change, plus what a network can still see.
- 3
VPNs and secure tunnels
How a VPN wraps packets in an encrypted tunnel, who can see what with and without one, the overhead it adds, split tunnelling, and the protections a VPN does not give.
Module practice
- Which service is on that port?Easy
- A first-match firewallMedium
- A stateful firewallHard
- Check the handshake orderEasy
- Check a certificateMedium
- Verify the Finished messagesHard
- Does it fit in the tunnel?Easy
- Split tunnellingMedium
- Longest prefix matchHard