pk.org: Computer Security/Lecture Notes

Firewalls

Terms we covered

Paul Krzyzanowski – 2026-11-19

Network Address Translation

These terms describe private addressing and translation:

Network Address Translation (NAT)
Rewriting IP addresses in packets passing between private and public networks.
Private IP address
An address from reserved ranges that public Internet routers never carry.
NAPT (Network Address and Port Translation)
Translation that rewrites port numbers as well as IP addresses.
Port forwarding
A fixed mapping that makes an internal service reachable from outside.

Packet Filtering

These terms describe stateless filtering at a network boundary:

Packet filter
A system that accepts or drops packets based on header fields.
Screening router
A router acting as a packet filter at a network boundary.
Chain
Firewall rules evaluated in order until one accepts, drops, or rejects the packet.
Ingress filtering
Filtering applied to traffic entering a network.
Egress filtering
Filtering applied to traffic leaving a network.
Default deny
Blocking all traffic except what rules explicitly allow.

Stateful and Application-Aware Inspection

These terms describe firewalls that track conversations:

Stateful packet inspection (SPI)
Filtering that tracks connections and evaluates packets by connection state.
Application-aware firewall
A firewall that parses application messages, such as SIP call setup.

Zones and Segmentation

These terms describe dividing a network by trust level:

Security zone
A network region sharing one trust level and policy.
DMZ (demilitarized zone)
A zone between the Internet and internal network for public-facing servers.
Bastion host
A hardened, closely monitored server built for exposure to attack.
Network segmentation
Dividing infrastructure into separate networks with firewalls between them.

Content Inspection

These terms describe examining what packets carry:

Deep packet inspection (DPI)
Examining the application data carried inside packets.
Deep content inspection (DCI)
Inspection that reassembles and decodes complete files and messages.
Hostname filtering
Blocking connections by the server name exposed in a TLS handshake.
TLS interception
Decrypting and re-encrypting traffic at a firewall to inspect it.
Encrypted Client Hello (ECH)
A TLS extension that encrypts the requested server name.

Intrusion Detection and Prevention

These terms describe finding attacks in permitted traffic:

Intrusion detection system (IDS)
A monitor that reports suspicious network activity without blocking it.
Intrusion prevention system (IPS)
An inline system that drops traffic identified as malicious.
Signature
A byte or packet sequence characteristic of a known attack.
Anomaly-based detection
Flagging deviations from a baseline of normal behavior.
Protocol-based detection
Identifying traffic that violates a protocol’s specification.

Modern Firewalls and Proxies

These terms describe consolidated firewall platforms and intermediaries:

Next-generation firewall (NGFW)
A firewall adding application identification to stateful inspection, content inspection, and intrusion prevention.
Application identification
Classifying applications from traffic behavior rather than port numbers.
Application proxy
An intermediary that terminates client connections and contacts servers itself.
API gateway
A proxy that authenticates, authorizes, and rate-limits web API requests.

Host-Based Firewalls

These terms describe filtering on the endpoint:

Host-based firewall
Filtering performed on an individual system for its own traffic.
Lateral movement
An attacker spreading from one compromised machine to others nearby.

Zero Trust

These terms describe security without a trusted interior:

Perimeter model
Security design trusting everything inside a network boundary.
Deperimeterization
The breakdown of a defensible boundary around an organization’s systems.
Zero trust
Requiring verified identity and policy approval for every access.
Device posture
A device’s security state, such as patch level and management status.
Microsegmentation
Segmentation refined to individual applications, virtual machines, or containers.
Mutual TLS (mTLS)
TLS in which both endpoints present certificates.
Service mesh
Infrastructure proxies that secure traffic between an application’s services.
Data plane
The mesh proxies that handle the traffic between services.
Control plane
A central service supplying proxies with certificates, policies, and discovery information.
Zero Trust Network Access (ZTNA)
Connecting authenticated users to specific applications without granting general access to the internal network.