Docsity

5 Problems on the Web Browsers - Assignment 2 | ECE 3076, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
Name_____________________________________
ECE3076 Homework 2
Due: Friday. Sept.21 , 2007 (before class)
1. The following could be typed into the Navigation Toolbar of a Web browser"
http://www.acme.com:8080/catalog/auto/plugs.html
What are the following parts known as (port, file name, protocol, URL, DNS name, top-level domain):
a. http:// _____________ protocol ___________
b. www.acme.com/catalog/auto/plugs.html _____________ URL ________________
c. www.acme.com _____________ DNS (host) name ___________
d. /catalog/auto/plugs.html _____________file name (full path) ________________
e. 8080 ______________ (non-standard) port _______________
f. com ______________top-level domain _______________
g. Which, a - f, will be used to find the 32-bit IP address? ___ c. ______________
2. An application opens a UDP or TCP "socket" to allow it to stream data to and from a server application
on another host on the internet. What three parameters are needed specify this socket (assume the OS
assigns the local ephemeral port number).
a. _____UDP or TCP _______ b. ____server IP________ c. ____server port _____
When we observe that TCP or UDP connection using wireshark, we define it by what two additional
parameters:
d. __________client IP ____________ f. ____________client port _________________
3. Email protocols have been developed to permit email transfer. Please identify:
a. Very simple email sending protocol. No built in authentication. _______ smtp_____________
b. Protocol used 10 years ago to selectively download email. __________ pop _______________
c. Popular email receiving protocol today which allows email to be kept in folders on server. _ imap___
d. In your email "user-agent" program, click whatever is necessary to see a raw email message from me
with subject "From Home" Looking at the bottom "Received:" headers, from which IP address (or
addresses) did the email originate?
Bottom " Received:" line: Received: from [192.168.1.133] (c-66-56-53-172.hsd1.ga.comcast.net
[66.56.53.172]) (authenticated bits=0) ... Mon, 17 Sep 2007 17:51:32 -0400 (EDT)
________ 66.56.53.17 _____________ , ______ 192.168.1.133 __________
[one is the IP address of the host on the local private network, the other is the external address of the NAT]
e. Look the same way at an email sent "From Office". What is the originating IP? __ 143.215.139.101_
f. The "Date" header normally seen in email is based on the originating host's clock, which can be easily
reset to fake a time of an email submission. How can the actual time sent be easily detected? Headers
ECE3076 HW-2 p.1
pf2

Partial preview of the text

Download 5 Problems on the Web Browsers - Assignment 2 | ECE 3076 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Name_____________________________________ ECE3076 Homework 2 Due: Friday. Sept.21 , 2007 (before class)

  1. The following could be typed into the Navigation Toolbar of a Web browser" http://www.acme.com:8080/catalog/auto/plugs.html What are the following parts known as (port, file name, protocol, URL, DNS name, top-level domain): a. http:// _____________ protocol ___________ b. www.acme.com/catalog/auto/plugs.html _____________ URL ________________ c. www.acme.com _____________ DNS (host) name ___________ d. /catalog/auto/plugs.html _____________ file name (full path) ________________ e. 8080 ______________ (non-standard) port _______________ f. com ______________ top-level domain _______________ g. Which, a - f, will be used to find the 32-bit IP address? ___ c. ______________
  2. An application opens a UDP or TCP "socket" to allow it to stream data to and from a server application on another host on the internet. What three parameters are needed specify this socket (assume the OS assigns the local ephemeral port number). a. _____ UDP or TCP _______ b. ____ server IP ________ c. ____ server port _____ When we observe that TCP or UDP connection using wireshark, we define it by what two additional parameters: d. __________ client IP ____________ f. ____________ client port _________________
  3. Email protocols have been developed to permit email transfer. Please identify: a. Very simple email sending protocol. No built in authentication. _______ smtp _____________ b. Protocol used 10 years ago to selectively download email. __________ pop _______________ c. Popular email receiving protocol today which allows email to be kept in folders on server. _ imap___ d. In your email "user-agent" program, click whatever is necessary to see a raw email message from me with subject "From Home" Looking at the bottom "Received:" headers, from which IP address (or addresses) did the email originate? Bottom " Received:" line: Received: from [192.168.1.133] (c-66-56-53-172.hsd1.ga.comcast.net [66.56.53.172]) (authenticated bits=0) ... Mon, 17 Sep 2007 17:51:32 -0400 (EDT) ________ 66.56.53.17 _____________ , ______ 192.168.1.133 __________ [one is the IP address of the host on the local private network, the other is the external address of the NAT] e. Look the same way at an email sent "From Office". What is the originating IP? __ 143.215.139.101_ f. The "Date" header normally seen in email is based on the originating host's clock, which can be easily reset to fake a time of an email submission. How can the actual time sent be easily detected? Headers ECE3076 HW-2 p. 1

Name_____________________________________

  1. A short html text email is downloaded by your Web browser which has a 1000 Mb/s connection. The round-trip-time (RTT) to the Web server is 25 ms. The html page automatically generates requests for three imbedded photos of 70 kbytes (kB). Your TCP window size is 65 kB so each photo must be downloaded in more than one window. [Why? Wait for Chap. 3] It takes one RTT to setup a TCP connection. Assume the "transmit time" can be neglected. See a previous similar problem at: http://www.csc.gatech.edu/copeland/jac/3076/hw-spr2007/hw2-q4 details.doc a. What is the time required to download the complete Web page using four non-persistent TCP connections? ______5 RTT = 75 ms 2 + (3) 3 (3)'s in parallel b. What is the time required to download the complete Web page using one persistent TCP connection:
    • without pipelining? ______________ 200 _____ ms 1 + 1 + 2 + 2 +2 = 8 RTT
    • with pipelining? ______________ 150 ______ ms 2 + round-up ((3*70k)/65) = 6 RTT
  2. In a MS Windows Command-Prompt window, type "nslookup" and after the ">" prompt type "help". Or in a UNIX or OSX "terminal" window, type "man nslookup" for help info. Refer to the help or "man" information as needed. In UNIX, "nslookup" may be replaced by "host". a. In a window type "nslookup www.cs.gsu.edu. What is the IP address? __ 131.96.49. b. In the window type "nslookup 131.96.2.4 ". What is the DNS name? __ mailsrv23old.gsu.edu In the window type : "nslookup -q=any csc.gatech.edu" { host -a csc gatech.edu } "nslookup -q=mx csc.gatech.edu" { host -mx csc gatech.edu } "nslookup -q=ns csc.gatech.edu" { host -ns csc gatech.edu } c. What is the name __ mail.csc.gatech.edu __, and IP address of the CSC mail server (exchanger)? ___ 143.215.139.154 __ d. What are the IP addresses of the CSC name servers (DNS)? _ 143.215.139.6 , _ 143.215.139.8 __ e. Many DNS servers will not do DNS lookups for hosts outside their own local IP subnet. Try these: IP: 82.165.161.37 Name: u15179925.onlinehome-server.com Will do lookups (Yes/No) _ No (Refused) IP: 65.173.218.103 Name: mail1.giac.net Will do lookups for you (Yes/No) ) _ **No** (Refused) IP: 198.6.1.162 Name: auth51.ns.uu.net Will do lookups for you (Yes/No) _ **No** (no answer) Due to changes in the DNS software, up to date DNS servers will no longer do non-recursive lookups for non-DNS-server hosts. See if you can find a DNS server on another IP subnet that will do a non-recursive lookup for you. Write "NO LUCK" if after five tries you have no success. If successful fill in: f. Name: ___ any name or "REFUSED" ______ IP: ________. __________. _________. _______ Hint: Find IP of DNS servers for up to five different organizations as above, then see if "nslookup -norecurse www.gatech.edu IP" gives a useful answer (other than "REFUSED"). ECE3076 HW-2 p. 2