Common Protocols


Internet protocols are standardized rules and guidelines defined in RFCs that specify how devices on a network should communicate with each other. They ensure that devices on a network can exchange information consistently and reliably, regardless of the hardware and software used. For devices to communicate on a network, they need to be connected through a communication channel, such as a wired or wireless connection. The devices then exchange information using a set of standardized protocols that define the format and structure of the data being transmitted. The two main types of connections used on networks are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).

We need to deal with and know the different and most used protocols. As we have already learned, these protocols are the basis of all communication between our devices and computers in the networks. We have compiled below many of these protocols that we will be dealing with throughout the modules. The better we understand them, the more effectively we can work with them.


Transmission Control Protocol

TCP is a connection-oriented protocol that establishes a virtual connection between two devices before transmitting data by using a Three-Way-Handshake. This connection is maintained until the data transfer is complete, and the devices can continue to send data back and forth as long as the connection is active.

For example, When we enter a URL into our web browser, the browser sends an HTTP request to the server hosting the website using TCP. The server responds by sending the HTML code for the website back to the browser using TCP. The browser then uses this code to render the website on our screen. This process relies on a TCP connection being established between the browser and the web server and maintained until the data transfer is complete. As a result, TCP is reliable but slower than UDP because it requires additional overhead for establishing and maintaining the connection.

Protocol Acronym Port Description
Telnet Telnet 23 Remote login service
Secure Shell SSH 22 Secure remote login service
Simple Network Management Protocol SNMP 161-162 Manage network devices
Hyper Text Transfer Protocol HTTP 80 Used to transfer webpages
Hyper Text Transfer Protocol Secure HTTPS 443 Used to transfer secure webpages
Domain Name System DNS 53 Lookup domain names
File Transfer Protocol FTP 20-21 Used to transfer files
Trivial File Transfer Protocol TFTP 69 Used to transfer files
Network Time Protocol NTP 123 Synchronize computer clocks
Simple Mail Transfer Protocol SMTP 25 Used for email transfer
Post Office Protocol POP3 110 Used to retrieve emails
Internet Message Access Protocol IMAP 143 Used to access emails
Server Message Block SMB 445 Used to transfer files
Network File System NFS 1112049 Used to mount remote systems
Bootstrap Protocol BOOTP 6768 Used to bootstrap computers
Kerberos Kerberos 88 Used for authentication and authorization
Lightweight Directory Access Protocol LDAP 389 Used for directory services
Remote Authentication Dial-In User Service RADIUS 18121813 Used for authentication and authorization
Dynamic Host Configuration Protocol DHCP 6768 Used to configure IP addresses
Remote Desktop Protocol RDP 3389 Used for remote desktop access
Network News Transfer Protocol NNTP 119 Used to access newsgroups
Remote Procedure Call RPC 135137-139 Used to call remote procedures
Identification Protocol Ident 113 Used to identify user processes
Internet Control Message Protocol ICMP 0-255 Used to troubleshoot network issues
Internet Group Management Protocol IGMP 0-255 Used for multicasting
Oracle DB (Default/Alternative) Listener oracle-tns 1521/1526 The Oracle database default/alternative listener is a service that runs on the database host and receives requests from Oracle clients.
Ingres Lock ingreslock 1524 Ingres database is commonly used for large commercial applications and as a backdoor that can execute commands remotely via RPC.
Squid Web Proxy http-proxy 3128 Squid web proxy is a caching and forwarding HTTP web proxy used to speed up a web server by caching repeated requests.
Secure Copy Protocol SCP 22 Securely copy files between systems
Session Initiation Protocol SIP 5060 Used for VoIP sessions
Simple Object Access Protocol SOAP 80443 Used for web services
Secure Socket Layer SSL 443 Securely transfer files
TCP Wrappers TCPW 113 Used for access control
Internet Security Association and Key Management Protocol ISAKMP 500 Used for VPN connections
Microsoft SQL Server ms-sql-s 1433 Used for client connections to the Microsoft SQL Server.
Kerberized Internet Negotiation of Keys KINK 892 Used for authentication and authorization
Open Shortest Path First OSPF 89 Used for routing
Point-to-Point Tunneling Protocol PPTP 1723 Is used to create VPNs
Remote Execution REXEC 512 This protocol is used to execute commands on remote computers and send the output of commands back to the local computer.
Remote Login RLOGIN 513 This protocol starts an interactive shell session on a remote computer.
X Window System X11 6000 It is a computer software system and network protocol that provides a graphical user interface (GUI) for networked computers.
Relational Database Management System DB2 50000 RDBMS is designed to store, retrieve and manage data in a structured format for enterprise applications such as financial systems, customer relationship management (CRM) systems.

User Datagram Protocol

On the other hand, UDP is a connectionless protocol, which means it does not establish a virtual connection before transmitting data. Instead, it sends the data packets to the destination without checking to see if they were received.

For example, when we stream or watch a video on a platform like YouTube, the video data is transmitted to our device using UDP. This is because the video can tolerate some data loss, and the transmission speed is more important than the reliability. If a few packets of video data are lost along the way, it will not significantly impact the overall quality of the video. This makes UDP faster than TCP but less reliable because there is no guarantee that the packets will reach their destination.

Protocol Acronym Port Description
Domain Name System DNS 53 It is a protocol to resolve domain names to IP addresses.
Trivial File Transfer Protocol TFTP 69 It is used to transfer files between systems.
Network Time Protocol NTP 123 It synchronizes computer clocks in a network.
Simple Network Management Protocol SNMP 161 It monitors and manages network devices remotely.
Routing Information Protocol RIP 520 It is used to exchange routing information between routers.
Internet Key Exchange IKE 500 Internet Key Exchange
Bootstrap Protocol BOOTP 68 It is used to bootstrap hosts in a network.
Dynamic Host Configuration Protocol DHCP 67 It is used to assign IP addresses to devices in a network dynamically.
Telnet TELNET 23 It is a text-based remote access communication protocol.
MySQL MySQL 3306 It is an open-source database management system.
Terminal Server TS 3389 It is a remote access protocol used for Microsoft Windows Terminal Services by default.
NetBIOS Name netbios-ns 137 It is used in Windows operating systems to resolve NetBIOS names to IP addresses on a LAN.
Microsoft SQL Server ms-sql-m 1434 Used for the Microsoft SQL Server Browser service.
Universal Plug and Play UPnP 1900 It is a protocol for devices to discover each other on the network and communicate.
PostgreSQL PGSQL 5432 It is an object-relational database management system.
Virtual Network Computing VNC 5900 It is a graphical desktop sharing system.
X Window System X11 6000-6063 It is a computer software system and network protocol that provides GUI on Unix-like systems.
Syslog SYSLOG 514 It is a standard protocol to collect and store log messages on a computer system.
Internet Relay Chat IRC 194 It is a real-time Internet text messaging (chat) or synchronous communication protocol.
OpenPGP OpenPGP 11371 It is a protocol for encrypting and signing data and communications.
Internet Protocol Security IPsec 500 IPsec is also a protocol that provides secure, encrypted communication. It is commonly used in VPNs to create a secure tunnel between two devices.
Internet Key Exchange IKE 11371 It is a protocol for encrypting and signing data and communications.
X Display Manager Control Protocol XDMCP 177 XDMCP is a network protocol that allows a user to remotely log in to a computer running the X11.

ICMP

Internet Control Message Protocol (ICMP) is a protocol used by devices to communicate with each other on the Internet for various purposes, including error reporting and status information. It sends requests and messages between devices, which can be used to report errors or provide status information.

ICMP Requests

A request is a message sent by one device to another to request information or perform a specific action. An example of a request in ICMP is the ping request, which tests the connectivity between two devices. When one device sends a ping request to another, the second device responds with a ping reply message.

ICMP Messages