Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

ทำไม Routing ถึงเป็นองค์ประกอบสำคัญของ Network Security

Routing และ Network Security: ความสัมพันธ์ที่แฝงง่าย

Routing ในมุมมอง Network Security

Routing คือกระบวนการเลือกเส้นทาง (Path Selection) สำหรับส่งแพ็กเก็ตข้อมูลระหว่างเครือข่าย ไม่ใช่แค่ "ส่งข้อมูลให้ถึง" แต่เป็น Control Point ที่สามารถบังคับใช้ Policy ความปลอดภัยได้

ทำไม Routing จึงเป็น Key Component ของ Network Security

1. Traffic Steering & Segmentation (การจัดเส้นทางและแบ่งส่วนเครือข่าย)

  • VRF (Virtual Routing and Forwarding): แยก Routing Table ให้ Tenant/Department/Function แยกกัน (Multi-tenancy)
  • Policy-Based Routing (PBR): ส่งトラフィคผ่าน Security Appliance (Firewall, IPS, Sandbox) ตาม Policy ไม่ใช่แค่ Destination IP
  • Segment Routing / SRv6: บังคับ Path ผ่าน Security Functions (Service Function Chaining)

2. Attack Surface Reduction (ลดพื้นที่โจมตี)

  • Route Filtering: Prefix Lists, Route Maps, Distribute Lists - บล็อก/จำกัด Route ที่ไม่ควรมี
  • BGP Security: RPKI (Route Origin Validation), BGPsec, ASPA - ป้องกัน BGP Hijacking/Leaks
  • Default Route Control: ไม่ปล่อย Default Route ไป Internet โดยไม่ผ่าน Firewall/Proxy

3. Resilience & Availability (ความทนทานและความพร้อมใช้งาน)

  • Fast Reroute (FRR / TI-LFA): Failover < 50ms เมื่อ Link/Node Down
  • ECMP / Unequal Cost Load Balancing: แจกจ่าย Traffic ป้องกัน Single Point of Failure
  • Graceful Restart / NSR: รักษา Session ระหว่าง Control Plane Failover

4. Threat Detection & Response Integration

  • Flow Export (NetFlow/IPFIX/sFlow): จาก Router ส่งไป SIEM/NDR วิเคราะห์ Anomaly
  • BGP FlowSpec (RFC 5575): แจ้ง Router บล็อก/Rate-limit Traffic ร้ายระดับ Network
  • RTBH (Remotely Triggered Black Hole): BGP Community ส่ง Traffic ไป Null0 (DDoS Mitigation)

5. Zero Trust Network Access (ZTNA) Enforcement

  • Router/Gateway เป็น Policy Enforcement Point (PEP)
  • Micro-segmentation ผ่าน Routing Policy + Identity (SASE/SSE Architecture)
  • Conditional Access: Device Posture + Identity + Context → Routing Decision

Routing Protocol Security Hardening

ProtocolSecurity Mechanisms
OSPFAuthentication (SHA-256/MD5), Passive Interfaces, Area Segmentation
IS-ISAuthentication (HMAC-SHA), Passive Interfaces
BGPTTL Security (GTSM), MD5/SHA Authentication, RPKI/ROV, ASPA, BGPsec
RIP/EIGRPAuthentication (MD5/SHA), Passive Interfaces (Legacy - หลีกเลี่ยง)

Infrastructure Protection สำหรับ Router เอง

  • Control Plane Policing (CoPP / CPP): ป้องกัน DoS ต่อ Control Plane
  • Management Plane Protection: SSH/HTTPS Only, ACL ระบุ IP Admin, MFA, Jump Host
  • Secure Boot / Image Signing / Runtime Integrity: ป้องกัน Firmware Tampering
  • AAA (TACACS+/RADIUS) + RBAC: จัดการสิทธิ์ Admin แบบละเอียด
  • Logging & Telemetry: Syslog, SNMPv3, Model-driven Telemetry (gNMI/NETCONF)

สรุป

Routing ไม่ใช่แค่ "Data Plane Forwarding" แต่เป็น Strategic Control Plane ที่:
✅ บังคับใช้ Security Policy (Segmentation, Inspection Chaining)
✅ ป้องกัน Infrastructure Attack (BGP Hijack, Route Leaks)
✅ รองรับ Resilience (Fast Failover, Load Balancing)
✅ ให้ Visibility (Flow Data, Telemetry)
✅ Enforce Zero Trust (Identity-based Routing)

Network Security ที่ไม่รวม Routing Security = ไม่สมบูรณ์