study_security_l9


"/home/yossef/notes/Su/security/study_security_l9.md"

path: Su/security/study_security_l9.md

- **fileName**: study_security_l9
- **Created on**: 2025-06-02 21:34:08

Firewalls Explained Simply

What is a Firewall?

A firewall is like a security guard for your network that controls what traffic
can enter or leave based on set rules. It sits between your private network
and the public internet.

Key Functions:

  1. Blocks unauthorized access
  2. Allows legitimate traffic
  3. Monitors network activity

Firewall Policy Types

Blacklist Approach (Default Allow)

Whitelist Approach (Default Deny)

Firewall Types

1. Packet-Filtering Firewall

2. Application-Level Gateway

3. Circuit-Level Gateway

Stateful vs Stateless

Stateful Firewall Stateless Firewall
Remembers connections Treats each packet separately
More secure Faster
Blocks unsolicited traffic Simpler configuration
Example: Allows return traffic for your web request Example: Basic home router

Blacklist approach (default-allow)

Whitelist approach (default- deny)