Sunday, February 19, 2012

HW 2

R5: The host uses a series of messages between it and the other host to determine the processes running on the other host.

R.8:  The first class is Reliable Data Transfer, which is only on TCP. The next is throughput, which is on both TCP and UDP. The next is timing, which is on both TCP and UDP. The last one is security, which is on both services.


P1.
A. True.
B. False, as a persistent connection is a TCP connection between the client and a certain server.
C. True. It is called a parallel connection.
D. False. The DATE: header specifies when the request was created and sent by the server.
E. True. The message wouldn't be doing anything if the entity body were to be empty.

P2.
CDUP - Change to Parent Directory
SMNT - Structure Mount
STOU - Store Unique
RMD - Remove Directory
MKD - Make Directory
PWD - Print Directory
SYST - System

P5.
A. Yes. The reply was provided on Tuesday, March 7th 2008.
B. Saturday, December 10th 2005.
C. 3874
D. Yes, the server agreed to a persistent connection.


P11.

A. Yes, the parallel connections do let him load web pages faster because he's getting a larger share of the bandwidth.
B. In this case no, they would all be about equal since they are getting the same amount of bandwidth.

P18.

A. A WHOIS database is a collection of information about registered domain names.
B.  I used MarkMonitor and Network Solutions LLC.
C. I found that for a popular site (facebook) each of the different types are all hosted in the same place, by facebook. For a less popular site, I found they relegated some things like the nameserver to another company.
D. No, Eastern only has one IP address.
E. Eastern's site didn't show up on the ARIN database, but they don't have a range anyway since they just have one IP.
F. By using WHOIS and nslookup an attacker will be able to easily figure out the IP address and locations of servers for certain services, which gives them some of the info they need to make an attack.
G. WHOIS databases should be available because you should always be able to figure out who the owner of a server is, in case they are hosting illegal content, or are doing something else unsavory.

P19.

A.
;; QUESTION SECTION:
;easternct.edu.   IN A

;; ANSWER SECTION:
easternct.edu.  3502 IN A 149.152.32.102

;; AUTHORITY SECTION:
easternct.edu.  172702 IN NS ecsu-dns2.easternct.edu.
easternct.edu.  172702 IN NS ecsu-dns7.easternct.edu.
easternct.edu.  172702 IN NS ecsu-dns6.easternct.edu.
  
B. 
;; QUESTION SECTION:
;amazon.com.   IN A

;; ANSWER SECTION:
amazon.com.  60 IN A 72.21.211.176
amazon.com.  60 IN A 72.21.214.128
amazon.com.  60 IN A 72.21.194.1

;; AUTHORITY SECTION:
amazon.com.  398 IN NS ns4.p31.dynect.net.
amazon.com.  398 IN NS pdns5.ultradns.info.
amazon.com.  398 IN NS pdns4.ultradns.org.
amazon.com.  398 IN NS pdns2.ultradns.net.
amazon.com.  398 IN NS ns1.p31.dynect.net.
amazon.com.  398 IN NS ns3.p31.dynect.net.
amazon.com.  398 IN NS pdns3.ultradns.org.
amazon.com.  398 IN NS ns2.p31.dynect.net.
amazon.com.  398 IN NS pdns6.ultradns.co.uk.
amazon.com.  398 IN NS pdns1.ultradns.net.

;; ADDITIONAL SECTION:
ns1.p31.dynect.net. 48880 IN A 208.78.70.31
ns2.p31.dynect.net. 48880 IN A 204.13.250.31
ns3.p31.dynect.net. 48880 IN A 208.78.71.31
ns4.p31.dynect.net. 48880 IN A 204.13.251.31
pdns1.ultradns.net. 1056 IN A 204.74.108.1
pdns1.ultradns.net. 1056 IN AAAA 2001:502:f3ff::1
pdns2.ultradns.net. 1191 IN A 204.74.109.1
pdns3.ultradns.org. 1056 IN A 199.7.68.1
pdns4.ultradns.org. 1056 IN A 199.7.69.1
 
P22. 
Client-Server:
When N=10 it will take 750 seconds to download.
When N=100 it will take 5000 seconds to download. 
When N=1000 it will take 50000 seconds to download.
P2P:
When N=10 and U = 300 kbps it will take at minimum 750 seconds to download.
When N=10 and U = 700kbps it will take at minimum 214 seconds to download.
When N=10 and U = 2mbps it will take at minimum 75 seconds to download.
When N = 100 and U = 300kbps it will take at minimum 50 seconds to download.
When N=100 and U = 700kbps it will take at minimum 21 seconds to download.
When N=100 and U = 2mbps it will take at minimum 7.5 seconds to download.
When N=1000 and U = 300 kbps it will take at minimum 50 seconds to download.
When N=1000 and U=700kbps it will take at minimum 2.5 seconds to download.
When N=1000 and U=2mbps it will take at minimum .75 seconds to download.
 

No comments:

Post a Comment