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
Which type of firewall tracks the state of active connections?
- Stateless packet filter
- Hub
- Stateful firewall
- 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.
Which statements comparing IDS and IPS are correct?
- An IDS detects and alerts
- An IPS sits inline and can block
- IPS false positives can disrupt legitimate traffic
- An IDS always blocks attacks
- 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.
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.
