Quiz chapter 1, 2, 3 & 8 Flashcards
(24 cards)
What is a message on the application layer called?
Message
What is a message on the Transport layer called?
Segment
What is a message on the Network layer called?
Datagram
What is a message on the Link layer called?
Frame
What is a message on the Physical layer called?
Bits
What are all the protocol layers together called?
Protocol stack
What does SMTP stand for and what is it used for?
Simple Mail Transfer Protocol
Is used for sending emails
What does IMAP and POP stand for and when are they used?
Internet Message Access protocol
and
Post Office Protocol
are used for recieving email
What does HTTP stand for and what is it used for?
Hypertext Transfer Protocol
is used to
Transfer Web messages
What does DNS stand for and what is it used for?
Domain Name System
is used to
translate domain names to the actual IP-address
What does TCP stand for and what is it used for?
Transmission controll protocol
is used for
Reliable unencrypted byte-oriented data stream
What does TLS stand for and what is it used for?
Transport layer security
is used for
Reliable encrypted byte-oriented data stream
What does UDP stand for and what is it used for?
User Datagram Protocol
is used for
Segments without reliable data transfer
Name two service quality guaranties TCP gives
-In-order data delivery
-Reliable data transfer
True or false?
When UserDatagramProtocol is used, then any fault correction is up to the application
True!
For a TransmissionContolProtocol connection, can the number of unackowledged bytes be larger than the receiver buffer?
No
respect the receiver buffer🙏🏼
Do UDP traffic towards the same application in a server use a common socket?
Yessir!
Even if the traffic comes from different clients
What is the purpose of nonces in an end-point authentication protocol and in the TLS
handshake?
Defend against connection replay attacks.
The acknowledged number (ACK) is cumulative, meaning it can acknowledge more than one received segment
Yes!
the ack number confirms the number of bytes the sender of the message (can be both Client and Server) has received up until now. This ACK number indicates that the other parts (either client or server) Sequence number on the next segment sending should be this number.
TCP has a timer waiting for ACK on transmitted segments. What happens if timeout occurs?
The oldest unacknowledged segment is re-transmitted, and timer is re-started.
TCP views data as a stream of bits, bytes or messages?
BYTES 🐒
TCP sends segments where the sequence number (SEQ) field in TCP header is the sequence number of the first byte in the payload.
Yes
This accounts for both server and client. As the client also need to send some payload to the server during a TCP connection, such as a GET request
The client TCP starts the three-way-handshake by sending a SYN request (i.e. a segment with SYN-bit set to 1 often referred to as the phantom-bit).
true 🐥
The client initiates contact with a SYN request
Server responds with at SYN/ACK message
Client confirms the handshake with an ACK message
Contact = TRUE
The connection is finally closed when both sides have sent a FIN request and received an ACK response.
YES 🦖
In total 4 TCP messages, 2 FIN requests and 2 ACK responses
Contact = terminated