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

โปรโตคอลความปลอดภัยเครือข่ายมีอะไรบ้าง? คู่มือครบทุกมาตรฐาน

โปรโตคอลความปลอดภัยเครือข่าย (Network Security Protocols) คืออะไร?

โปรโตคอลความปลอดภัยเครือข่ายคือชุดกฎและกระบวนการที่ใช้การเข้ารหัส (Cryptography) เพื่อปกป้องข้อมูลระหว่างการส่งผ่านเครือข่ายสาธารณะ ป้องกันการดักฟัง ปรับเปลี่ยน หรือปลอมแปลงข้อมูล

หมวดหมู่หลักของโปรโตคอลเครือข่าย

  1. Communication Protocols: TCP/IP, HTTP, UDP, FTP, SMTP (ส่งข้อมูล)
  2. Management Protocols: SNMP, ICMP (จัดการ/ตรวจสอบเครือข่าย)
  3. Security Protocols: SSL/TLS, IPsec, SSH, HTTPS, SFTP, Kerberos (ปกป้องข้อมูล)

โปรโตคอลความปลอดภัยสำคัญที่ควรรู้

1. SSL/TLS (Secure Sockets Layer / Transport Layer Security)

  • ใช้สำหรับ: HTTPS, SMTPS, IMAPS, FTPS
  • TLS เป็นผู้สืบทอดของ SSL (SSL 3.0 → TLS 1.0 → 1.1 → 1.2 → 1.3)
  • ให้: Encryption, Authentication, Integrity

2. IPsec (Internet Protocol Security)

  • ทำงานที่ Layer 3 (Network Layer)
  • โหมด: Transport Mode (เข้ารหัส Payload) / Tunnel Mode (เข้ารหัสทั้ง Packet)
  • ใช้สำหรับ: Site-to-Site VPN, Remote Access VPN
  • โปรโตคอลหลัก: AH (Authentication Header), ESP (Encapsulating Security Payload), IKE (Internet Key Exchange)

3. SSH (Secure Shell)

  • แทนที่ Telnet, rlogin, rsh
  • พอร์ต 22, ใช้ Public Key Authentication หรือ Password
  • ใช้สำหรับ: Remote CLI, SFTP, SCP, Port Forwarding

4. HTTPS (HTTP over TLS)

  • พอร์ต 443, ใช้ TLS เข้ารหัส HTTP Traffic
  • Certificate จาก CA 受信ได้ ใช้สำหรับเว็บไซต์, API, Web Services

5. SFTP (SSH File Transfer Protocol)

  • ไม่ใช่ FTP over SSL (FTPS) — SFTP ใช้ SSH Channel เดียวสำหรับ Command และ Data
  • พอร์ต 22, รองรับ Public Key Auth, Resume Transfer

6. Kerberos

  • Network Authentication Protocol ใช้ Ticket (Ticket Granting Ticket)
  • ใช้ใน Windows Active Directory, Linux/Unix (MIT/Heimdal)
  • ป้องกัน Replay Attack, ให้ Single Sign-On (SSO)

7. SNMPv3 (Simple Network Management Protocol v3)

  • เพิ่ม Authentication (MD5/SHA) และ Privacy (DES/AES) ซึ่ง v1/v2c ไม่มี
  • ใช้สำหรับจัดการอุปกรณ์เครือข่ายอย่างปลอดภัย

8. OSPF Authentication

  • ป้องกัน Route Injection Attack
  • รองรับ: Simple Password, MD5, HMAC-SHA (OSPFv3 ใช้ IPsec)

ตารางเปรียบเทียบสรุป

Kerberos
โปรโตคอลLayerพอร์ตใช้สำหรับ
TLS/SSL4-7443, 993, 995, 465, 636Web, Email, LDAP, Database
IPsec350 (ESP), 51 (AH), 500/4500 (IKE)VPN, Site-to-Site
SSH722Remote Admin, File Transfer
788Enterprise Authentication
SNMPv37161/162Network Management

แนวทางเลือกใช้งาน

  • เว็บ/API: TLS 1.2/1.3 (บังคับ HTTPS)
  • VPN ระหว่างสำนักงาน: IPsec IKEv2 หรือ WireGuard
  • จัดการเซิร์ฟเวอร์ Linux: SSH Key-based Auth (ปิด Password Auth)
  • เครือข่ายองค์กร: Kerberos + SNMPv3
  • โอนไฟล์ปลอดภัย: SFTP (ไม่ใช่ FTP/FTPS)