Docsity

Understanding HTTP: Protocol, Request Methods, Response, and Analysis, Study Guides, Projects, Research of Internet and Information Access

Toggle sidebar
bg1
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title Unit 2: Networking Infrastructure
Submission date Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Student ID
Class Assessor name
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
Grading grid
P1 P2 P3 P4 M1 M2 D1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download Understanding HTTP: Protocol, Request Methods, Response, and Analysis and more Study Guides, Projects, Research Internet and Information Access in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 2: Networking Infrastructure Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Student ID Class Assessor name Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P1 P2 P3 P4 M1 M2 D

❒ Summative Feedback: ❒ Resubmission Feedback: Grade: Assessor Signature: Date: Lecturer Signature:

Format: ● The submission is in the form of an individual written report. This should be written in a concise, formal business style using single spacing and font size 12. You are required to make use of headings, paragraphs and subsections as appropriate, and all work must be supported with research and referenced using the Harvard referencing system. Please also provide a bibliography using the Harvard referencing system. Submission ● Students are compulsory to submit the assignment in due date and in a way requested by the Tutor. ● The form of submission will be a soft copy posted on http://cms.greenwich.edu.vn/. ● Remember to convert the word file into PDF file before the submission on CMS. Note: ● The individual Assignment must be your own work, and not copied by or from another student. ● If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you must reference your sources, using the Harvard style. ● Make sure that you understand and follow the guidelines to avoid plagiarism. Failure to comply this requirement will result in a failed assignment. Unit Learning Outcomes: Assignment question LO1: Short discuss one of the protocols ( STMP , FTP , HTTP, etc. ) and explain how it works by using cisco packet tracer? LO2: Investigate and analyses the selected protocol using Wireshark?

Contents

  • I. Introduction..............................................................................................................................................................
      1. Motivation and objective.....................................................................................................................................
      1. HTTP.....................................................................................................................................................................
      • a. What is HTTP....................................................................................................................................................
      • b. Web page.........................................................................................................................................................
      • c. HTTP request method.......................................................................................................................................
      • d. HTTP response method....................................................................................................................................
      • e. HTTP header.....................................................................................................................................................
      • f. How exactly does this protocol work?..............................................................................................................

standard for data exchange on the World Wide Web, where hypertext texts contain links to other resources that the user may access with a mouse click in a web browser. The Web's application-layer protocol, Hypertext Transfer Protocol (HTTP), lies at its heart. [RFC 1945], [RFC 7230], and [RFC 7540] all describe it. The HTTP protocol is implemented in two programs: a client and a server. Exchanging HTTP messages allows the client and server programs, which are running on distinct end systems, to communicate with one another. The structure of these messages, as well as how the client and server exchange them, are defined by HTTP. Before we get into the details of HTTP, let's go through some Web jargon.

1. 2 HTTP b. Web page Objects make up a Web page (also known as a document). An object is merely a file that can be accessed by a single URL (Uniform Resource Locator), such as an HTML file, a JPEG picture, a JavaScript file, a CCS style sheet file, or a video clip. A base HTML file and numerous referenced items make up the majority of Web pages. If a Web page comprises HTML text and five JPEG pictures, for example, it has six objects: the underlying HTML file plus the five images. The URLs of the other items on the page are referenced in the basic HTML file. Each URL contains two parts: the hostname of the server hosting the item and the path name of the object. For instance, consider the URL:

https://www.youtube.com/

2. 3 A website c. HTTP request method HTTP specifies a variety of request methods for specifying the desired action for a particular resource. These request methods are commonly referred to be HTTP verbs, despite the fact that they can also be nouns. For example: GET, POST, PUT, HEAD, DELETE… 2. 3 HTTP request example The two most common HTTP methods are: GET and POST. -We use GET to read or retrieve a resource. A successful GET returns a response containing the information you requested.

 When you visit a website, your computer downloads the page from another computer on the Internet using the Hypertext Transfer Protocol (HTTP). To understand this process easier, let’s go through 4 steps of this process:  Step 1: Set the browser to URL  We can browse a website using computer or any devices as long as it has the needed application installed. We can use URL (uniform resource locator) or follow a link from an opened page.  Step 2: Browser look up IP  When we type in “human-language” URL in to browser, like “Facebook.com”, those domain name map to IP address in the domain’s computer. All of that are handle by DNS (domain name system), after mapping the IP of the URL the. In this case 66.220.149.25 will be the IP of “facebook.com”  Step 3: Send HTTP request  The browser spots the IP address of the hosting computer, it sends an HTTP request  Host send back HTTP response and the browser renders the response  When the host computer gets an HTTP request, it responds with the content as well as information about it. The browser now has all it needs to render the requested page.

1. 2 how http work

  1. TCP/IP a. IP

An IP address (Internet Protocol address) is a numerical designation, such as 192.0.2.1, that is associated with a computer network that communicates using the Internet Protocol. The fundamental functionalities of an IP address are network interface identification and location addressing. An IP address is defined as a 32-bit number in Internet Protocol version 4 (IPv4). However, due to the rapid expansion of the Internet and the exhaustion of existing IPv4 numbers, a new version of IP (IPv6) was established in 1998, with a 128-bit IP address. Since the mid-2000s, IPv implementation has been ongoing. b. TCP One of the most important protocols in the Internet protocol suite is the Transmission Control Protocol (TCP). Its origins may be traced back to the first network implementation, when it was used to supplement the Internet Protocol (IP). As a result, TCP/IP is usually used to refer to the full suite. TCP ensures that a stream of octets (bytes) is delivered in a reliable, orderly, and error- checked manner between applications operating on hosts connected by an IP network. TCP, which is part of the TCP/IP suite's Transport Layer, is used by major internet services including the World Wide Web, email, remote administration, and file transfer.

  1. DNS The Domain Name System (DNS) is a hierarchical and decentralized naming system for identifying computers accessible via the Internet or other IP networks. Domain names are linked to various types of information through resource records in the DNS. These are most typically used to translate human-friendly domain names to the numerical IP addresses computers require to identify services and devices using the underlying network protocols, but they've also been extended to do a variety of additional tasks over time. Since 1985, the Domain Name System has been a critical component of the Internet's operation.

1. 4 What is DNS

Protocol. While config the IP of the rest devices make sure their IP are not the same.  Step 3: How to access webpages using HTTP protocol

_2. 3 Web browser icon

  1. 3 Enter the web IP you want to access
  2. 3 The website_  First chose the “Web browser” icon, next enter the sever IP address ( like the human-language URL but in IP), then this IP will be send to the sever with the HTML request and the server send back the HTTP response and render to the “HEllO” website like the example. c. To be more specific I will use the simulator to demonstrate the process.
  3. Enter the information (URL or IP) of the web you want to access.

2. 3 Step Note: the purple letter is the packet will be sent to the server.

  1. The packet (HTTP request) gets to the server. 2. 3 Step 2: the packet has sent to the server  The server will handle the request and send back the response. c. The host computer responds with the content as well as information about it. The browser now has all it needs to render the requested page.

3. 4 IP information  In the IP line, you can see the Scr address which is my computer IP and the Dst which is the website I capture IP. More than that, we can see the IP version, the packet header and total length. c. Transmission control protocol (TCP)  In the TCP line, you can see the Scr port and Dst port, the Scr port: 60902 is the port we are transmitting to the Dst port. 3. 4 TCP information

d. Hypertext Transfer Protocol (HTTP)

3. 4 HTTP information  In the 4 line of the HTTP, you will see the “Request Method: GET” , the get method is used to concatenate data to the URL in name or value pairs. Down below, in line 6 we can see the host is “ansonalex.com” is the website that I access to capture. Next the User-Agent it show the version of my browser, my operating system… furthermore, the Accept-language it show the default language that the website display to you

III. Conclusion

 People have gained a basic understanding of the HTTP protocol and its components, as well as how to mimic and utilize it using third-party software, thanks to this article. This research also shows the things that the internet has little to do with our lives and helps us grasp the value of the internet and what makes it up.

IV. Reference material

a. Khan Academy. (n.d.). HTTP: Hypertext Transfer Protocol (article). [online] Available at: https://www.khanacademy.org/computing/computers-and-internet/xcae6f4a7ff015e7d:the- internet/xcae6f4a7ff015e7d:web-protocols/a/hypertext-transfer-protocol-http. b. Wikipedia Contributors (2019). Hypertext Transfer Protocol. [online] Wikipedia. Available at: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol.