Module 11: Transport layer services Flashcards
give an example of a server hosting web and file sharing services and how it distinguishes between these
if a server is offering web services and file sharing services then it needs to know which service a host requires if an incoming message is destined for port 80 then the server knows that this message is bound for a web server application and is placed in the appropriate cue to be processed
what are the port(s) and transport protocol(s) of
File Transfer Protcol (FTP)
this uses:
- port 20 TCP for data
- port 21 TCP for control
this uses:
- port 67 UDP - on the server
- port 68 UDP - on the client
what are the port(s) and transport protocol(s) of
Dynamic Host Configuration Protocol (DHCP)
this uses:
- port 69 UDP
what are the port(s) and transport protocol(s) of
Trivial File Transfer Protocol (TFTP)
this is an address that can locate a resources it includes:
- Protocol/scheme - HTTPS or other protocols such as FTP, SFTP, mailto, and NNTP
- Hostname - ww.example.com
- Path and file name - /author/book.html
- Fragment - #page155
what is a
Uniform Resource Identifier (URI)
and what 4 parts can it include
what are the port(s) and transport protocol(s) of
Internet Message Access Protocol (IMAP)
this uses:
- port 143 TCP
describe the
Uniform Resource Name (URN)
this only includes the namespace of the resource and does not include the protocol or fragment
describe
User Datagram Protocol (UDP)
this is known as a ‘best effort protocol’ and resides on the layer 4 (transport layer). this protocol is in contrast to TCP in that it does not ensure all messages are delivered by using acknowledgments.
instead a message is broken up and sent without care of if they are received or not
what is the
netstat
command used for
this is used to view all current connections and listening ports. it may also be usefull in revealing suspicious connections.
what are the port(s) and transport protocol(s) of
Secure Shell (SSH)
this uses:
- port 22 TCP
describe in six steps the process of sending a message with
Transmission Control Protocol (TCP)
- it receives a message from the application layer and breaks it up into what are called segments
- each segment is then given a sequence number
- a given number of segments are then sent to the lower layers to be delivered
- the sender then waits for an acknowledgment that all segments sent were recieved
- if an acknowledgment is received then the next block of segments are sent
- if an acknowledgment is not received after a given time then the sender assumes the segments were lost and resends them
- it receives a message from the application layer and breaks it up into what are called segments
- each segment is then given a sequence number
- a given number of segments are then sent to the lower layers to be delivered
- the sender then waits for an acknowledgment that all segments sent were recieved
- if an acknowledgment is received then the next block of segments are sent
- if an acknowledgment is not received after a given time then the sender assumes the segments were lost and resends them
describe in six steps the process of sending a message with
Transmission Control Protocol (TCP)
this is a combination of an IP address and a port
example
192.168.1.20:80
describe what a
socket
is
this identifies:
- the client and the application
- the server and the application/service
example
a client socket could look like
192.168.1.2:5274
a web servers socket might look like
192.168.1.20:80
what does a
socket identify
what is a
Uniform Resource Identifier (URI)
and what 4 parts can it include
this is an address that can locate a resources it includes:
- Protocol/scheme - HTTPS or other protocols such as FTP, SFTP, mailto, and NNTP
- Hostname - ww.example.com
- Path and file name - /author/book.html
- Fragment - #page155
what does a
socket identify
this identifies:
- the client and the application
- the server and the application/service
example
a client socket could look like
192.168.1.2:5274
a web servers socket might look like
192.168.1.20:80
describe what a
socket
is
this is a combination of an IP address and a port
example
192.168.1.20:80
often used as source ports these can be used by any application
there range run from 49152 through 65535
describe
private ports
and their range
these are assigned to one of the following:
- well known ports
- registered ports
- private ports
these are managed and maintained by the
Internet Corporation for Assigned Names and Numbers (ICANN)
what are the 3 categories that
port numbers
are assigned to and
who manages these assignments
this uses:
- port 143 TCP
what are the port(s) and transport protocol(s) of
Internet Message Access Protocol (IMAP)
this only includes the namespace of the resource and does not include the protocol or fragment
describe the
Uniform Resource Name (URN)
this uses:
- port 80 TCP
what are the port(s) and transport protocol(s) of
Hypertext Transfer Protocol (HTTP)
this uses:
- port 20 TCP for data
- port 21 TCP for control
what are the port(s) and transport protocol(s) of
File Transfer Protcol (FTP)
this is used to locate a portion or area of the document, such as a page
what is the
fragment
of a Uniform Resource Identifier (URI)
what are the port(s) and transport protocol(s) of
Telnet
this uses:
- port 23 TCP