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.
POP3
Uses port 110 - TCP;
Used for retrieving e-mail traffic from mail servers.
NTP
Uses port 123 - UDP;
Used to synchronize timing within the network.
IMAP
Uses port 143 - TCP;
Used to access and manage e-mail messages while leaving the messages stored on the e-mail server.
SNMP
Uses ports 161 and 162 - UDP;
Used by applications to monitor network devices remotely.
HTTPS
Uses port 443 - TCP;
A secured HTTP version providing an encrypted connection between a web server and a web client.
RDP
Uses port 3389 - TCP;
A microsoft proprietary protocol that enables remote connections to other computers over an encrypted channel.
Often referred to as the Internet model
TCP/IP
TCP/IP Model
Link
Internet
Transport
Application
TCP/IP: Link/Network Layer
Physical/MAC addressing, NICs, Switching, Cabling;
Corresponds to Physical and DLL of OSI model.
TCP/IP: Internet Layer
IP packets, Logical/IP Addressing, Routers;
Corresponds to the Network Layer of OSI model.
TCP/IP: Transport Layer
Corresponds to Transport and Session Layers of OSI model;
Two core protocols: TCP and UDP
TCP/IP: Application Layer
Combines Application, Presentation, and Session layers of the OSI model;
Uses ports to give each application a unique number that identifies the protocol it uses.