Home/Glossary/Network Protocol

Network Protocol

A set of rules defining how data is transmitted and received over a network.

NetworkingAlso called: "internet protocol", "communication protocol"

Protocols enable different devices and software to communicate reliably.

Common protocols

  • HTTP/HTTPS: Web browsing (port 80/443).
  • FTP/SFTP: File transfers (port 21/22).
  • SMTP/POP3/IMAP: Email (ports 25/110/143).
  • DNS: Domain name resolution (port 53).
  • SSH: Secure remote access (port 22).
  • TCP/UDP: Transport layer protocols.
  • IP: Internet layer addressing.

Protocol layers (OSI model)

  1. Physical: Cables, signals.
  2. Data Link: MAC addresses, switches.
  3. Network: IP addresses, routing.
  4. Transport: TCP/UDP, ports.
  5. Session: Connection management.
  6. Presentation: Data formatting, encryption.
  7. Application: HTTP, FTP, SMTP.

Security considerations

  • Many protocols are unencrypted (use secure alternatives).
  • Port scanning reveals running services.
  • Protocol vulnerabilities enable attacks.
  • Firewalls filter by protocol and port.