Week 6: Common TCP Applications
Many protocols are used in the TCP application layers to do many things like web browsing, sending and receiving email, terminal emulation, and file transfers. In this blog, I will review the application protocol that uses Transmission Control Protocol (TCP) and its port number.
Web browsing
HTTP
Web browsing runs through hypertext transfer protocols (HTTP).
All the web browsers on the internet run through these protocols, and they use
TCP port 80. The weakness of HTTP is that it is not a secure protocol and is
vulnerable.
HTTPS
Fortunately, there are hypertext transfer protocols over SSL (secure sockets layer) (HTTPS) to tackle this. This protocol is similar to
HTTP but more secure as it provides authentication, encryption, and non-repudiation.
Terminal
emulation
Telnet
Telnet protocol or Telnet allows you to remotely access another
computer server from anywhere using the command prompt over the network. Telnet
runs on TCP port 23. But telnet shouldn’t be used in modern computers as it is
not secure.
SSH
Telnet has been replaced by SSH which does the same thing as
telnet, but it is secure. SSH uses TCP port 22.
Email
SMTP
Simple mail transfer protocol is a protocol that email
clients use to send email. It uses TCP port 25.
POP3
Post office protocol version 3 is one of the two protocols
that receive email from SMTP. POP3 uses TCP port 110 and is outdated.
IMAP4
Internet Message Access Protocol version 4 is another
alternative to POP3. It also receives messages from SMTP and supports other features
that POP3 doesn’t have, such as synchronization of mail among other devices. IMAP4
uses a TCP port 143.
File
transfers
FTP
FTP (File transfer protocol) is a protocol that is used on the internet to transfer files. There are two ways of doing this: active and passive. The active uses port 20, and the passive uses 21 port.
