Bitzu

CC ยท Network security fundamentals

Firewalls, WAF, IDS and IPS

Packet filter, stateful and next-generation firewalls, WAF, IDS vs IPS.

Key points

  • Packet filter: allows or blocks by IP, port and protocol; no memory of connections.
  • Stateful firewall: tracks connection state; replies to allowed outbound traffic pass automatically.
  • Next-generation firewall: adds application awareness, user identity, integrated IPS, often TLS inspection.
  • WAF: protects web applications from HTTP-level attacks such as SQL injection and XSS.
  • IDS: detects and alerts.
  • IPS: sits inline, can block.

Practice questions

Single choice

Which type of firewall tracks the state of active connections?

  1. Stateless packet filter
  2. Hub
  3. Stateful firewall
  4. Access point
Show answer

Answer: C. Stateful firewall

A stateful firewall keeps a connection table. A stateless packet filter judges every packet in isolation, and a WAF focuses on HTTP application attacks.

Select all that apply

Which statements comparing IDS and IPS are correct?

  1. An IDS detects and alerts
  2. An IPS sits inline and can block
  3. IPS false positives can disrupt legitimate traffic
  4. An IDS always blocks attacks
  5. An IPS only sees copies of traffic
Show answer

Answer: A. An IDS detects and alerts, B. An IPS sits inline and can block, C. IPS false positives can disrupt legitimate traffic

An IDS monitors and alerts, while an IPS sits inline and can drop traffic, so its false positives can block legitimate users. An IDS does not block by itself.

True or false

A stateless packet filter can tell whether a packet belongs to an already established connection.

Show answer

Answer: False

False. Stateless filters judge each packet only on header fields. Tracking established connections is what stateful inspection adds.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CC topics in this module