2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes Flashcards
TCP & UDP are transported inside…?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
IP packets
TCP or UDP may be referred to as operating at…
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
the transport layer of OSI model (OSI layer 4)
What is TCP/UDP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Transport layer protocols used for data transmissions over networks
Ports are endpoints where communication occurs
What do connection-oriented sessions mean?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Every packet sent is checked for delivery.
Meaning of TCP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Transmission Control Protocol
Meaning of UDP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
User Datagram Protocol
What type of protocol is TCP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Connection-oriented protocol
How does TCP provide reliable delivery?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
By making sure data sent has been verified as being received to the receiver
What type of protocol is UDP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Connectionless protocol
Why is UDP unreliable?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
There’s no acknowledgement sent by receiver, making it unknown if the data sent was actually received by the receiver
Importance of UDP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Being able to send data very quickly over the network
UDP is most associated with..?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Real time communication
(live communication, where you cant stop or retransmit info)
Protocols using UDP have no confirmation of data sent, so its up to the…
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
app to keep track of who has & hasn’t received data
Purpose of port numbers?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
To identify which service will receive data
How does TCP establish network connections?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
3-way handshake (aka TCP socket connection)
TCP
Process of three-way handshake?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
- SYN packet
- SYN-ACK packet
- ACK packet
- (Client sends it)
- (Server sends it)
- (Client sends it)
When is Connection-oriented TCP used?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
When data integrity is needed
Data integrity = data is unaltered & undamaged
When is Connectionless UDP used?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
When speed & efficiency is needed
What do protocols do?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Handle data transfer details
What does the internet run on?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: TCP vs UDP
Transmission Control Protocol/Internet Protocol (TCP/IP) suite
(Protocols & services that power & manage networks)
(its named that way because most TCP/IP protocols use TCP rather than UDP)
Meaning of FTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
File Transfer Protocol
Meaning of SFTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Secure File Transfer Protocol
Meaning of TFTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Trivial File Transfer Protocol
FTP port(s)?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
TCP/20-21
TCP/20 (Active mode data) & TCP/21 (Control)
What is FTP TCP/20 for?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Data transfers
tcp/20 (acive mode data)
What is FTP TCP/21 for?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
To control the data transfer
tcp/21 (control)
Purpose of FTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
To transfer data/files between devices
What does FTP commonly require?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
authentication to log in to that remote device
i.e. username & password
Common protocol of:
TCP/20-21
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
FTP
What FTP option is NOT connection-oriented?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
TFTP
Purpose of TFTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
To transfer files between devices with limited functionality
(No authentication/encryption & only read/write operations)
Meaning of SSH?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Secure Shell
SSH port(s)?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
TCP/22
Common protocol of:
TCP/22
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
SSH
Purpose of SSH?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Encrypts communication channels
Network services like remote login & data transfers
SSH is a more secure replacement to…?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
FTP & Telnet
Protocol(s) that enables to remotely access devices via terminal/CLI?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
SSH & Telnet
What is required to use SSH on Windows?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Software
like puTTY
Meaning of Telnet?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: **Ports & Protocols
Telecommunication Network
Telnet port(s)?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
TCP/23
Common protocol of:
TCP/23
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Telnet
Purpose of Telnet?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
To provide unencrypted remote terminal/CLI access to a device
over the Internet or local network
Meaning of SMTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Simple Mail Transfer Protocol
SMTP port(s)?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
TCP/25
Purpose of SMTP?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
For email clients to send emails to an email server
Common protocol of:
TCP/25
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
SMTP
Meaning of DNS?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
Domain Name System
DNS port(s)?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
UDP/53
Common protocol of:
UDP/53
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
DNS
Purpose of DNS?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
To convert domain names into IP addresses
DNS
When connecting to a website by domain, the DNS server…?
2.1 - Compare & contrast TCP & UDP ports, protocols, & their purposes: Ports & Protocols
finds IP address of domain so the client & web server can communicate via IP