Firewalls
Computer Science: OCR GCSE, topic 1.4.16
Firewalls
Monitoring and filtering data coming into and out of a network is important.

Firewalls
- A firewall is either a hardware device or a piece of software.
- A firewall sits between a device and the Internet.
- Firewalls inspect and filter incoming and outgoing data packets.
- Firewalls try to stop hackers gaining access to the network and stop malware getting into the network.

Packet filtering
- One role of the firewall is packet filtering.
- The firewall inspects each packet and drops those which do not meet certain criteria.

IP-address filtering
- The firewall only allows traffic from certain known sources.
- IP-address filtering stops denial of service attacks.

Port-blocking
- Firewalls can block access to certain ports.
- One important port is port 22, which allows remote access via the Internet.
- By blocking port 22, we can prevent hackers trying to take over the server.
Test yourself on Firewalls
Why is port 22 often blocked by a firewall?
Decide whether each statement about firewall techniques is correct.
Why can blocking port 22 help prevent a hacker from taking control of a server?
How does packet filtering differ from IP-address filtering?