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
- Packet filter: decides on addresses, ports and protocol only.
- Stateful firewall: also remembers connections.
- Application gateway: understands one application and inspects content.
- 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?
| Technology | Layer | What it protects against |
|---|---|---|
| Packet-filter firewall | 3 and 4 | unwanted addresses, ports, protocols |
| Stateful firewall | 3 and 4 | packets that do not belong to a tracked connection |
| Application gateway (proxy) | 7 | malicious content of one application |
| IPsec (AH, ESP) | 3 | tampering and eavesdropping between networks |
| SSL / TLS | above 4 | eavesdropping and forgery for HTTPS and similar |
| SYN flood | 4 | attack that exhausts half-open connection slots (defence: SYN cookies) |
Check yourself
HTTPS is secured by
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.