WT UNIT 1 Lecture 1.2 Protocols Governing The Web
WT UNIT 1 Lecture 1.2 Protocols Governing The Web
TCP :
Internet Protocol provides the packet delivery services for TCP, UDP, and
ICMP. The IP layer protocol is unreliable (called a best-effort protocol).
There is no guarantee that IP packets arrive, or that they arrive only once
and are error-free.
Such reliability is built into the TCP protocol, but not into the UDP
protocol.
If you need reliable transport between two UDP applications, you must
ensure that reliability is built into the UDP applications.
The Internet Protocol (IP) is the method or protocol by which data is sent
from one computer to another on the Internet.
Each computer which is known as a host on the Internet has at least one IP
address that uniquely identifies it from all other computers on the Internet.
The communications protocol of the public Internet, many wide area
networks (WANs) and most local area networks (LANs).
The Internet Protocol (IP) is part of the TCP/IP protocol suite, and the terms
"IP network" and "TCP/IP network" are synonymous.
Packet Switching : IP uses a packet-switched architecture, in which data
are broken up into smaller "packets," with each packet containing a source
address and destination address. IP packets are handed over to a data link
layer protocol, such as Ethernet, for the actual, physical transmission to the
next node in the network path.
While "IP" refers to the entire TCP/IP protocol suite, the term "IP layer"
refers to just the network-to-network part, occupying layer 3 in the
"protocol stack" (see below). To learn about IP networking, see OSI model,
TCP/IP, TCP/IP abc's, IP address and IP on Everything.
The TCP/IP Protocol Suite :
Conceptually, the TCP/IP protocol stack consists of four layers, each layer
consisting of one or more protocols.
A protocol is a set of rules or standards that two entities must follow so as
to allow each other to receive and interpret messages sent to them.
The entities could, for example, be two application programs in an
application protocol, or the entities might be two TCP protocol layers in two
different IP hosts (the TCP protocol).
TCP/IP is the set of communications protocols used for the Internet and
other similar networks.
IP, the Internet Protocol, responsible from breaking data into packets.
The TCP/IP protocol stack
ICMP :
FTP : FTP stands for File Transfer Protocol. It is used to transfer files across the
Internet. FTP is commonly used by web developers to publish updates to a
website, i.e. to upload a new version of the website. Where HTTP is used for
displaying the file in your browser, FTP is used simply to transfer the file from
one computer to a specified location on another computer. You can use FTP to
transfer the files from your computer to a remote computer (such as a web
server), or to transfer from the remote computer to your local computer.
UDP : UDP stands for User Datagram Protocol. It is an alternative
communications protocol to Transmission Control Protocol (TCP) used primarily
for establishing low-latency and loss tolerating connections between applications
on the Internet. Both UDP and TCP run on top of the Internet Protocol (IP) and
are sometimes referred to as UDP/IP or TCP/IP. Both protocols send short packets
of data, called datagrams.
ARP
ARP stands for Address Resolution Protocol. It is used for mapping an Internet
Protocol address (IP address) to a physical machine address that is recognized in
the local network.
The IPv4 networking layer uses the Address Resolution Protocol (ARP) to map an
IP address into a hardware address. In the IPv6 networking layer, this mapping is
performed by the Neighbor Discovery (ND function). On local area networks
(LANs), such an address would be called a media access control (MAC) address.
RARP
Reverse Address Resolution Protocol is used to reverse the operation of the ARP
protocol. It maps a hardware address into an IPv4 address. Note that both ARP
packets and RARP packets are not forwarded in IP packets, but are themselves
media level packets. ARP and RARP are not used on all network types, as some
networks do not need these protocols.
DNS
DNS or Domain Name System is the way that internet domain names are located
and translated into internet protocol (IP) addresses. The domain name system
maps the name people use to locate a website to the IP address that a computer
uses to locate a website. For example, if someone types TechTarget.com into a
web browser, a server behind the scenes will map that name to the IP address
206.19.49.149.
DHCP
HTTP
All HTTP servers use the GET and HEAD methods, but not all support the rest of
these request methods.
SSL
SSL uses a combination of public key and symmetric key encryption to secure a
connection between two machines, typically a web or mail server and a client
system, communicating over the internet or another TCP/IP network.
SSL provides a mechanism for encrypting and authenticating data sent between
processes running on a client and server.
HTTPS
HTTPS stands for Hypertext Transfer Protocol over Secure Socket Layer. Think of
it as a secure version of HTTP.
HTTPS is used primarily on web pages that ask you to provide personal or
sensitive information such as a password or your credit card details. When we
browse a web page using HTTPS, we are using SSL (Secure Sockets Layer) .
For a website to use HTTPS it needs to have an SSL certificate installed on the
server. These are usually issued by a trusted 3rd party, referred to as a Certificate
Authority (CA).
PPP : Point To Point Protocol is a network protocol that allow data
communication between two network entities or points. The Point-to-Point
Protocol (PPP) provides a standard method for transporting multi-protocol
datagrams over point-to-point links.
● A Link Control Protocol (LCP) for establishing, configuring, and testing the data-
link connection.
Pop3 stands for Post Office Protocol and has been around for many years. Pop3
downloads your mail as you view it on your email client. It was great for users
who only want to access their mail from one client. It is now out-of-date and
impractical. Post Office Protocol version 3 is used by clients to access an internet
mail server to get mail. It is not a transport layer protocol.
POP3 (Post Office Protocol 3) is the most recent version of a standard protocol for
receiving e-mail. POP3 is a client/server protocol in which e-mail is received and
held for you by your Internet server. Periodically, you (or your client e-mail
receiver) check your mail-box on the server and download any mail, probably
using POP3. This standard protocol is built into most popular e-mail products,
such as Eudora and Outlook Express. It's also built into the Netscape and
Microsoft Internet Explorer browsers.
POP3 is designed to delete mail on the server as soon as the user has downloaded
it. However, some implementations allow users or an administrator to specify
that mail be saved for some period of time. POP can be thought of as a "store-
and-forward" service.
An alternative protocol is Internet Message Access Protocol (IMAP). IMAP
provides the user more capabilities for retaining e-mail on the server and for
organizing it in folders on the server. IMAP can be thought of as a remote file
server.
POP and IMAP deal with the receiving of e-mail and are not to be confused with
the Simple Mail Transfer Protocol (SMTP), a protocol for transferring e-mail across
the Internet. You send e-mail with SMTP and a mail handler receives it on your
recipient's behalf. Then the mail is read using POP or IMAP.
IMAP
IMAP stands for Internet Message Access Protocol. It is a standard email protocol
that stores email messages on a mail server, but allows the end user to view and
manipulate the messages as though they were stored locally on the end user's
computing device(s). This allows users to organize messages into folders, have
multiple client applications know which messages have been read, flag messages
for urgency or follow-up and save draft messages on the server.
SMTP
Email is emerging as one of the most valuable services on the internet today.
Most of the internet systems use SMTP as a method to transfer mail from one
user to another. SMTP is a push protocol and is used to send the mail whereas
POP (post office protocol) or IMAP (internet message access protocol) are used to
retrieve those mails at the receiver’s side.
SMTP Fundamentals : SMTP is an application layer protocol. The client who wants
to send the mail opens a TCP connection to the SMTP server and then sends the
mail across the connection. The SMTP server is always on listening mode. As soon
as it listens for a TCP connection from any client, the SMTP process initiates a
connection on that port (25). After successfully establishing the TCP connection
the client process sends the mail instantly
SMTP Protocol
The client SMTP is the one which initiates the session let us call it as the client-
SMTP and the server SMTP is the one which responds to the session request and
let us call it as receiver-SMTP. The client- SMTP will start the session and the
receiver-SMTP will respond to the request.
A Protocols is a set of rules. Protocols allows two computers to communicate
over media such as wireless or hardwired technologies.
Protocol Stack
(Internet layer)
Hyper Text Transfer Protocols (HTTP) : This protocol is used to access,send and
receive Hypertext markup language (HTML) files on the Internet.
File Transfer Protocol(FTP): FTP is used to upload files on server and download
files from server.