Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
85 Cards in this Set
- Front
- Back
Name 3 characterisitics of a server |
* always-on host |
|
What are 5 P2P charactersitics? |
* no always-on server :arbitrary end systems directly communicate * self scalability – new |
|
within same host, two processes communicate |
inter-process communication |
|
client process: process that ________ |
initiates communication |
|
|
waits to be contacted |
|
"Sockets" are between two layers, which two layers are they? |
Application (process) and Transport |
|
A socket is a ____ between application layer and transport layer. |
API |
|
In addition to knowing the address of the host to which a message is destined, the sending process must also identify the receiving process. ______ serves this purpose. |
Destination port number |
|
Applications that have throughput |
bandwidth-sensitive applications. |
|
_______________ can make use of as much, or as little, throughput |
elastic applications |
|
What are 5 features of TCP? |
* reliable transport between * connection-oriented: setup
|
|
______ control is controlled by the receiving side. It ensures that the sender only sends what the receiver can handle. |
flow |
|
In _____ control Sender will reduce the amount of sent packets to avoid overflowing the router's buffer(Queue).
|
Congestion Control |
|
In ______ control : Sender will send enough data that can be accommodated at the receiver end. |
Flow Control |
|
What are two characteristics of UDP? |
* unreliable data transfer
|
|
web page consists of_____ which |
base HTML-file referenced objects |
|
HTTP is stateless, what does this mean?
|
|
|
What is persistent http? |
multiple objects can |
|
What is non persistent http? |
at most one object |
|
non-persistent HTTP requires____ RTTs per object |
2 |
|
persistent HTTP requires____ RTTs for n objects |
near 1 RTT |
|
in non-persistent HTTP, there are roughly ____ RTTs in total |
Thus, roughly, |
|
What are methods used in HTTP1.0? |
GET |
|
What does HEAD request do? |
asks server to leave |
|
What methods does http 1.1 have? |
GET, POST, HEAD |
|
What does 200 response mean? |
200 OK |
|
What does 301 response mean? |
301 Moved Permanently |
|
What does 400 response mean? |
400 Bad Request |
|
What does 404 response mean? |
404 Not Found |
|
What does 505 response mean? |
505 HTTP Version Not Supported |
|
typically cache is |
ISP |
|
web cache acts as client or server? |
both |
|
When does 304 response happen? |
When we request with If-modified-since: <date> in header and the object has not been modified |
|
The most striking difference between HTTP and FTP is that FTP _______ |
|
|
In FTP a control connection is used to |
The control connection is used for sending control information between |
|
In FTP: TCP control connection, server port ____ |
21 |
|
In FTP: TCP data connection, server port ____ |
20 |
|
Give an example of out-of-band |
Because FTP uses a separate control connection, FTP is |
|
Give an example of in-band |
HTTP, SMTP |
|
In FTP, are data connections persistent or non-persistent? |
data connections are non-persistent |
|
with FTP, the______ connection |
control data |
|
Is FTP stateless or maintain state? |
It maintains state |
|
What are 5 basic FTP commands? |
USER username |
|
What are equivalents of get and put in FTP? |
RETR and STOR |
|
What is 331 response in FTP? |
331 Username OK, password required |
|
What is response 125 in FTP? |
• 125 Data connection already open; transfer starting |
|
What is response 425 in FTP? |
|
|
What is response 452 in FTP? |
• 452 Error writing file |
|
mailbox contains_____ |
incoming |
|
|
outgoing |
|
What are three major components of email? |
user agents, mail servers, and SMTP |
|
SMTP uses ____ to reliably transfer email message from |
TCP |
|
SMTP uses port __ |
25 |
|
SMTP restricts the body (not just the headers) of all mail messages to ____ |
|
|
Three phases of SMTP email transfer are : |
three phases of transfer |
|
What are 6 stages of sending a message from Alice to Bob? |
1) Alice uses UA to compose to |
|
What are 5 SMTP commands? |
HELO, MAIL FROM, RCPT TO, DATA, QUIT
|
|
HTTP is mainly a push/pull protocol? |
pull |
|
SMTP is mainly a push/pull protocol? |
push |
|
each object encapsulated in its own response msg: HTTP or SMTP? |
HTTP |
|
multiple objects sent in multipart msg, HTTP or SMTP? |
|
|
SMTP uses persistent/non-persistent |
persistent |
|
SMTP server uses _______ to determine end of message |
CRLF.CRLF |
|
3 differences between HTML and SMTP |
HTML : pull ASCII each object
SMTP: push 7 bit ASCII multiple objects |
|
Does pop3 maintain state or is it stateless? |
stateless |
|
What are two modes of POP3? |
download and delete download and keep |
|
Which mail access method allows for creating folders? |
IMAP |
|
Which mail access method keeps user state across sessions? |
IMAP |
|
DNS is a _____ database |
distributed |
|
DNS is a distributed database implemented in _____ |
hierarchy of many name servers |
|
DNS is a _____ level protocol |
application |
|
DNS is an application-layer protocol that allows ______ |
hosts to query the distributed database |
|
DNS runs on UDP/TCP? |
UDP |
|
relay1.west-coast.enterprise.com could have, say, two aliases such as enterprise.com and |
canonical hostname. |
|
_________ is responsible for responsible for com, org, net, edu, aero, jobs, museums, and |
top-level domain (TLD) servers:
|
|
If Type=A, then Name is a______ and Value is the_____ address |
hostname, IP |
|
Type=NS, then Name is a _____ (such as foo.com) and Value is the ____ |
domain host name of an authoritative DNS server that knows how to obtain the IP addresses |
|
If Type=CNAME, then Value is a_____ for the_____ Name. |
canonical hostname alias hostname |
|
If Type=MX, then Value is the_____ of a mail server that has an______ Name |
canonical name alias hostname |
|
What is DNS poisoning? |
|
|
In bittorent, which chunks are requested first? |
rarest |
|
In bittorent Alice sends chunks to those _______ |
four peers currently sending her |
|
In bittorent, top 4 peers are evaluated every _____ |
10 seconds |
|
How often does a peer randomly send chunks to another peer to unchoke them? |
every 30 secs: randomly select |
|
Layers of internet |
Application Transport Network Data Link Physical A tranny licks puss |