ประเภทของ Firewall และสิ่งที่ "ไม่ใช่" Firewall Technology
คำถาม: "Which of the following is not a firewall technology for network security?" (ตัวเลือกทั่วไปในข้อสอบ: Packet Filter, Stateful Inspection, Proxy Server, Antivirus Software, Application Gateway, Next-Gen Firewall)
คำตอบ: Antivirus Software (ซอฟต์แวร์กันไวรัส) ไม่ใช่ Firewall Technology
Antivirus ทำงานที่ Endpoint (Host) สแกนไฟล์/หน่วยความจำ/พฤติกรรมของโปรแกรม ในขณะที่ Firewall ทำงานที่ Network Perimeter / Segmentation Point กรอง/ตรวจสอบ Network Traffic (Packets/Flows)
เทคโนโลยีไฟร์วอลล์ที่เป็นจริง (Real Firewall Technologies)
| ประเภท (Generation) | ชื่อเทคโนโลยี | หลักการทำงาน | Layer (OSI) | ตัวอย่าง |
|---|---|---|---|---|
| 1st Gen | Packet Filtering (Stateless) | ตรวจสอบ Header: Src/Dst IP, Port, Protocol (ACL) ไม่จำ State | L3/L4 | Router ACL, Linux iptables (stateless), Cisco Standard ACL |
| 2nd Gen | Stateful Inspection | Track Connection State (TCP 3-way handshake, Session Table) Allow Return Traffic อัตโนมัติ | L3/L4/L5 | Check Point FireWall-1, Cisco ASA, Juniper SRX, FortiGate, Palo Alto (Base) |
| 3rd Gen | Application Layer / Proxy Firewall | Proxy Connection (Terminate Client-Proxy, Proxy-Server) Inspect L7 Payload (HTTP, FTP, DNS) | L7 | Blue Coat ProxySG, F5 ASM, Microsoft ISA/TMG (Legacy), Squid (Proxy) |
| 4th Gen | Next-Generation Firewall (NGFW) | Stateful + App-ID (L7) + User-ID + IPS + SSL Decrypt + Threat Intel + Cloud Lookup | L3-L7 | Palo Alto, FortiGate, Check Point Quantum, Cisco Firepower, Sophos XGS, SonicWall NSa |
| 5th Gen / Modern | Cloud-Native / Distributed Firewall / Micro-segmentation | Host/Workload-level (Kernel/eBPF), Identity-based, Zero Trust, API-driven | L3-L7 (Distributed) | VMware NSX, Cisco ACI, Illumio, Guardicore (Akame), Calico, Cilium, AWS Security Groups, Azure NSG, GCP Firewall |
การเปรียบเทียบ: Firewall vs Antivirus vs EDR vs IPS
| เทคโนโลยี | ตำแหน่ง | ฟังก์ชันหลัก | มองเห็น |
|---|---|---|---|
| Firewall (NGFW) | Network Edge / Segmentation | Traffic Control, Access Policy, L7 Visibility, IPS | Network Packets/Flows |
| Antivirus (AV) | Endpoint (Host) | File/Process Scan, Signature/Heuristic/Behavior | File System, Memory, Registry |
| EDR/XDR | Endpoint + Cross-layer | Detection, Investigation, Response, Hunting | Process Tree, Network, File, Identity, Cloud |
| IPS (Network) | Network In-line | Signature/Anomaly-based Attack Prevention | Packet Payload (Pre-decryption) |
| WAF | Application Layer (Reverse Proxy) | OWASP Top 10 Protection (SQLi, XSS, Bot) | HTTP/HTTPS Request/Response |
ข้อสับสนทั่วไป (Common Misconceptions)
- "Antivirus เป็น Firewall": ผิด - AV เป็น Host-based Protection, Firewall เป็น Network-based Control
- "Windows Firewall ไม่ใช่ Firewall จริง": ผิด - Windows Firewall (wf.msc) เป็น Stateful Host-based Firewall แบบเต็มรูปแบบ
- "Router ACL คือ Firewall": ถูกต้องบางส่วน - เป็น Stateless Packet Filter (Gen 1) ขาด Stateful Inspection และ L7 Visibility
- "UTM = Firewall": UTM (Unified Threat Management) = NGFW + AV + Anti-Spam + Web Filter + VPN ในกล่องเดียว (All-in-One)
สรุป
หากเจอคำถาม "Which is NOT a firewall technology?" คำตอบที่พบบ่อยที่สุดคือ Antivirus Software (หรือ Host-based Malware Protection) เพราะมันทำงานที่ Endpoint ไม่ใช่ Network Traffic Filtering อื่นๆ ที่อาจหลงกล: "VPN Concentrator", "Load Balancer", "Switch" (Layer 2), "Router" (Layer 3 Forwarding) - แม้จะมี ACL/Filtering Feature แต่ไม่ได้เป็น "Firewall Technology" ตามนิยามเฉพาะเจาะจง