1/114
Looks like no tags are added yet.
Two types of network ownership:
Public and Private
When multiple protocols are grouped together
Suite
Requires entities to follow the same rules
Interoperability
A set of rules on how to send and receive data
Protocol
Simplifies maintenance and updates
Modularization
HTTP and DNS
Application Protocols
TCP and UDP
Transport Protocols
IP and routing protocols
Network Protocols
Ethernet and Wi-Fi
Link Protocols
Order that Headers are added
Application, Transport, Network, Link, and Physical
Data at the application layer
Message
Data at the transport layer
Segment
Data at the network layer
Datagram
Data at the link layer
Frame
When a frame passes through a switch it replaces headers up to and including this layer
Link
When a frame passes through a router it replaces headers up to and including this layer
Network
Reason for heterogenous networks
No single technology meets every requirement
What is the concept of Universal Service?
A user on any computer in any organization can send messages to any other user
What is the primary device used to connect heterogeneous networks?
Router
A term used to describe the area that clients and servers are on in relation to the rest of the network
Network edge
The network that directly links an end system to the first router on the path to another distant end system
Access Network
The interconnected mesh of packet switches and links that connects the Internet’s end systems
Network core
Wi-Fi and Radio waves are examples of _______ ______
Unguided media
The architecture where there is traditionally one “responder” that is always on, and multiple queriers
Client-Server
The architecture that is more decentralized and bidirectional, and does not require an always on central responder
Peer-to-Peer
A socket is the _______ between a process and the network
Gateway
An IPv4 address has this many bits
32
An IPv6 address has this many bits
128
HTTP uses this well known port number
80
HTTP stands for
Hypertext Transfer Protocol
HTTP/1.1 and HTTP/2 run over this protocol
TCP
HTTPS uses this well known port number
443
HTTP does not require the server to retain client information between requests which makes it
Stateless
When every transfer requires its own TCP connection, that makes it
Non-persistent
When several transfers can happen on one TCP connection, this makes it
Persistent
The three parts of an HTTP Request Message
Method, Headers, Body
The three parts of an HTTP Response Message
Status, Header, Body
The status code 200 corresponds to
OK
The status code 301 corresponds to
Moved Permanently
The status code 400 corresponds to
Bad Request
The status code 404 corresponds to
Not Found
The status code 505 corresponds to
HTTP Version Not Supported
The main improvement of HTTP/2 from HTTP/1.1
Allows the changing of delivery order
Whereas HTTP/2 uses TCP, HTTP/3 runs over:
QUIC carried in UDP
HTTP/3 introduced built-in _______
Security
QUIC stands for:
Quick UDP Internet Connections
QUIC is not a transport-layer protocol, it is an __________ _______ that uses UDP to send and receive packets
application-layer sublayer
QUIC integrates ___ directly
TLS
HTTP/2 has two handshakes:
TCP and TLS
QUIC requires this many RTT handshakes
One
QUIC also introduced another timesaver called the:
0-RTT Connection Resumption
DNS stands for:
Domain Name System
DNS is this layer
Application
Mapping simple names to canonical hostnames is known as:
Host Aliasing
When DNS rotates returned addresses this is:
Load Distribution
The first layer of DNS Servers
Root
The middle layer of DNS Servers
Top Level Domain
The bottom layer of DNS Servers
Authoratative
What is the most common Top Level Domain?
.com
The role of a local DNS server is to act as a ______
Proxy
When the local DNS server asks each level of DNS server for the IP, this is a query that is:
Iterative
An Iterative DNS query uses this many DNS messages (queries + replies)
8
When the local DNS server asks the Root server, which asks the TLD server, which then asks the authoritative server, this is a query that is:
Recursive
A Recursive DNS query uses this many DNS messages (queries + replies)
8
DNS servers can save past DNS replies through
DNS caching
Local DNS servers can also cache _______ server addresses
TLD
DNS servers return their response in a:
Resource Record
A resource record is a four-tuple: (______________)
Name, Value, Type, TTL
This type of resource record maps a hostname to its IP address
A
This type of resource record maps a domain to the hostname of its authoritative DNS server
NS
This type of resource record maps an alias hostname to a canonical hostname
CNAME
This type of resource record maps a domain to the canonical name of a mail server
MX
The four parts of the body of a DNS query are:
Questions, answers, authority, and additional info
The four flags of a DNS query are:
query/reply, recursion desired, recursion available, reply is authorative
The compose/read/reply part of the E-mail process
User Agents
The part of the E-mail process that contains incoming messages for a user
Mail server
What protocol sends emails between mail servers
Simple Mail Transfer Protocol
In the E-mail process, mail servers can act as both _______ ____ ________
client and server
What protocol does SMTP use?
TCP
What port does SMTP use?
25
If an application is a house, then a socket is the
door
With UDP, every message requires a __________ __ ________ ____ _____
destination IP address and port
In Python, a UDP socket is made with socket(AF_INET, _____________)
SOCK_DGRAM
In Python, a TCP socket is made with socket(AF_INET, ______________)
SOCK_STREAM
What layer handles communications between processes on different hosts
Transport
What layer handles communications between hosts
Network
To combine data from sockets to prep for being sent, the data needs to be:
multiplexed
In order to break down the data and determine what sockets the data needs to first be
Demultiplexed
What is the range of well known port numbers
0 - 1023
How many ports exist on a client
65536
A UDP socket is uniquely identified by a ___-tuple
two
A TCP socket is uniquely identified by a ___-tuple
four
This is used to accept incoming TCP connections in the server side
Listening socket
UDP stands for
User Datagram Protocol
TCP stands for
Transmission Control Protocol
UDP and TCP are both examples of _________ protocols
transport
In addition to the source and destination port, a UDP segment also has these two headers
Length and checksum
How many bits is a UDP checksum
16
If UDP receives a datagram that fails the checksum validation, that datagram is __________ ________
silently discarded
Because a UDP header cannot contain the destination IP address, the address is supplied to IP by the
application