1b - Fundamentals of Protocols Flashcards
TCP
Connection oriented;
Requires a stable connection between the client and the server before a message is sent.
UDP
Connectionless;
Will send information without verifying someone is on the other end to receive the information - There is no guarantee of data delivery.
Transport Protocols
TCP and UDP
Used by servers in order to determine the specific protocol being used.
Port numbers
FTP
Uses port 21 to transfer files between clients and servers;
data sent in FTP is in cleartext and is a potential security risk.
Telnet
Uses port 23 and allows users to remotely log in to UNIX/Linux host;
sends usernames and passwords using cleartext and is a potential security risk.
Secure shell (SSH)
Uses port 22 and a direct replacement for telnet; added encryption over the login and data sent over the connection.
Secure copy (SCP)
Uses port 22 to add encryption from SSH in order to securely transfer files between network hosts.
DNS
Uses port 53 to map computer names to IP addresses; is used with both TCP and UDP.
TCP 53
Used for zone transfers - updates between DNS servers.
UDP 53
Used for DNS queries and replies between DNS servers and client end devices.
DHCP
Used to assign IP addresses automatically to clients on the network;
Uses UDP 67 and UDP 68
Uses UDP 67 to receive information from a client
Uses UDP 68 to send information to a client
TFTP
Uses port 69 - UDP;
Transfers files between servers and clients without requiring a login.
Commonly used to send files to routers or workstations that don’t have a disk drive.
HTTP
Uses port 80 - TCP;
Used by clients using a web browser to request information from web servers.
SMTP
Uses port 25 - TCP;
Used for sending e-mail messages between servers.