Chapter 1 Introduction
Chapter 1 Introduction
INTERNET TECHNOLOGIES
AND PROTOCOLS
1. Overview of Internet
Internet is a large number of computers connected together to share
information.
Internet is the global system of interconnected computer networks
that uses the Internet protocol suite (TCP/IP) to communicate
between networks and devices.
It is a collection of networks (a network of networks) sharing digital
information via a common set of networking and software
protocols.
It is a network of networks that consists of millions of private,
public, academic, business, and government networks, of local to
global scope, that are linked together.
Anyone can connect their computer to the Internet and immediately
communicate with other computers and users.
The Internet has become an industry in its own respect.
1. Overview of Internet…
The Internet began in the late 1960s as an experiment to design
robust computer networks.
The goal was to construct a network of computers that could
withstand the loss of several machines without compromising the
ability of the remaining ones to communicate.
Funding came from the U.S. Department of Defense, which had a
vested interest in building information networks that could withstand
nuclear attack.
The result was a network called ARPANET developed by Advanced
Research Projects Agency (ARPA) of the US Department of Defense.
Later ARPANET was replaced by National Science Foundation
Network (NSFNET) accessible to research and education
organization in 1990s.
NSFNET was finally commercialized in 1995.
1. Overview of Internet…
The Internet consists of many computers, called servers or hosts,
which are linked by communication lines.
These servers are located in different part of the world.
The administrators of these servers may make information or
software stored on them publically available
So others can view, download or use the data.
Another important thing that has contributed for growth of Internet
is ownership.
Until now, nobody owns the Internet.
Its unique design transformed it into a source for innovation that
anyone in the world could use.
However, its backbone: servers and Internet Service Providers (ISP)
are owned by private as well government organizations.
1. Overview of Internet…
network printing,
file server,
Figure How WWW works: retrieving a web page from server by clients
3. Client-server Architecture…
The HTTP client sends a request to the server requesting a file/page.
response:
– Informational, success, redirection, client error, server error.
It is the bare minimum that an HTTP client should recognizes these
five classes.
The phrases used are the standard examples, but any human-readable
Since HTTP/1.0 did not define any 1xx status codes, servers
agent.
5. HTTP…
Successful 2xx
This class of status code indicates that the client's request was
Redirection 3xx
This class of status code indicates that further action needs to
be taken by the user agent in order to fulfill the request.
The action required may be carried out by the user agent
without interaction with the user if and only if the method
used in the second request is GET or HEAD.
A client should detect infinite redirection loops, since such
loops generate network traffic for each redirection.
5. HTTP…
Client Error 4xx
The 4xx class of status code is intended for cases in which the
Message: Description:
2xx: Successful
Message: Description:
200 OK The request is OK
The request is complete, and a new resource is
201 Created
created
The request is accepted for processing, but the
202 Accepted
processing is not complete
203 Non-authoritative
Information
204 No Content
205 Reset Content
5. HTTP…
3xx: Redirection
Message Description
A link list. The user can select a link and go to that location.
300 Multiple Choices
Maximum five addresses
301 Moved Permanently The requested page has moved to a new url
302 Found The requested page has moved temporarily to a new url
303 See Other The requested page can be found under a different url
304 Not Modified
305 Use Proxy
This code was used in a previous version. It is no longer
306 Unused
used, but the code is reserved
307 Temporary Redirect The requested page has moved temporarily to a new url
4xx: Client Error
Message Description
400 Bad Request The server did not understand the request
401 Unauthorized The requested page needs a username and a password
402 Payment Required You can not use this code yet
403 Forbidden Access is forbidden to the requested page
404 Not Found The server can not find the requested page
405 Method Not Allowed The method specified in the request is not allowed
406 Not Acceptable The server can only generate a response that is not accepted by the client
You must authenticate with a proxy server before this request can be
407 Proxy Authentication Required
served
408 Request Timeout The request took longer than the server was prepared to wait
409 Conflict The request could not be completed because of a conflict
410 Gone The requested page is no longer available
The "Content-Length" is not defined. The server will not accept the
411 Length Required
request without it
412 Precondition Failed The precondition given in the request evaluated to false by the server
The server will not accept the request, because the request entity is too
413 Request Entity Too Large
large
The server will not accept the request, because the url is too long. Occurs
414 Request-url Too Long when you convert a "post" request to a "get" request with a long query
information
The server will not accept the request, because the media type is not
415 Unsupported Media Type
supported
416
417 Expectation Failed
5. HTTP…
5xx: Server Error
Message Description
The request was not completed. The server met an
500 Internal Server Error
unexpected condition
The request was not completed. The server did not
501 Not Implemented
support the functionality required
The request was not completed. The server received
502 Bad Gateway
an invalid response from the upstream server
The request was not completed. The server is
503 Service Unavailable
temporarily overloading or down
504 Gateway Timeout The gateway has timed out
505 HTTP Version Not The server does not support the "http protocol"
Supported version
5. HTTPS…
Hypertext Transfer Protocol Secure (HTTPS) is an extension of the
Hypertext Transfer Protocol (HTTP).
HTTPS is a protocol that secures communication and data transfer
between a user’s web browser and a website.
It uses encryption for secure communication over a computer
network, and is widely used on the Internet.
In HTTPS, the communication protocol is encrypted using Transport
Layer Security (TLS) or, formerly, Secure Sockets Layer (SSL).
The protocol is therefore also referred to as HTTP over TLS, or
HTTP over SSL.
It protects against man-in-the-middle attacks, and the bidirectional
block cipher encryption of communications between a client and
server protects the communications against eavesdropping and
tampering.
5. HTTPS…
HTTPS encrypts all message contents, including the HTTP headers
and the request/response data.
HTTPS is now used more often by web users than the original, non-
secure HTTP.
This is primarily to protect page authenticity on all types of
websites, secure accounts, and keep user communications, identity,
and web browsing private.
The HTTPS protocol makes it possible for website users to transmit
sensitive data such as credit card numbers, banking information,
and login credentials securely over the internet.
For this reason, HTTPS is especially important for securing online
activities such as shopping, banking, and remote work.
5. HTTPS…
An HTTPS URL begins with https:// instead of http://.
Modern web browsers also indicate that a user is visiting a secure
HTTPS website by displaying a closed padlock symbol to the left of
the URL.
6. Other Web protocols (FTP, SMTP, ...)