← 🔐 Network Security
Subtopic 3 of 3

9.3Firewalls, IPsec, SSL/TLS and common attacks

The idea

A firewall filters traffic between networks. IPsec secures the network layer and SSL/TLS the transport layer. Typical attacks include SYN floods, spoofing and man-in-the-middle.

Think of it like this: A firewall is a guard at the gate checking labels; IPsec and TLS are sealed envelopes inside.

Why it exists

Occasional one-mark facts: which layer, which attack.

How it works

  1. Packet filter: decides on addresses, ports and protocol only.
  2. Stateful firewall: also remembers connections.
  3. Application gateway: understands one application and inspects content.
  4. SYN flood: fills the server with half-open connections.

Worked example: Which technique stops a host from accepting packets for connections it never opened?

A stateful firewall.

Now play with it

  • →Read the technology table and say at which layer each works.
  • →Which technology encrypts at layer 3?
TechnologyLayerWhat it protects against
Packet-filter firewall3 and 4unwanted addresses, ports, protocols
Stateful firewall3 and 4packets that do not belong to a tracked connection
Application gateway (proxy)7malicious content of one application
IPsec (AH, ESP)3tampering and eavesdropping between networks
SSL / TLSabove 4eavesdropping and forgery for HTTPS and similar
SYN flood4attack that exhausts half-open connection slots (defence: SYN cookies)

Check yourself

HTTPS is secured by

Remember: Firewalls filter, IPsec = network layer, TLS = above TCP, SYN flood = half-open connections.
Exam notes (the dense version)

A packet-filtering firewall allows or blocks packets by header fields (addresses, ports, protocol); a stateful firewall tracks connections; an application gateway (proxy) inspects the payload. IPsec secures the network layer (AH for integrity, ESP for confidentiality); SSL/TLS secures the transport layer (HTTPS on 443). Attacks: SYN flood (half-open connections), DoS/DDoS, man-in-the-middle, replay, spoofing. Certificates bind a public key to an identity through a trusted CA.

Previous year questions: Network Security (6)

PYQs are grouped by topic, so this is the full set for Network Security; try the ones that match this subtopic. Open all 6 on the topic page.