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

Lessons

  1. 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. 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. 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

Module quiz

1. Which port does HTTPS normally use?
2. A firewall's last rule is "allow everything". What is the effect on rules below it, and on the default policy?
3. In TLS 1.3, why can the server's certificate be sent encrypted?
4. A browser shows "Your connection is not private" on public Wi-Fi. What is the most likely cause?
5. A VPN user visits a phishing site through the tunnel. What does the VPN do about it?
6. Routes: 0.0.0.0/0 via wifi, 10.0.0.0/8 via vpn, 10.5.0.0/16 via lab. Where does 10.5.1.1 go?

‹ Hashing and passwordsWeb security and the OWASP Top 10 ›