Common Protocols Flashcards
(19 cards)
TCP (Transmission Control Protocol)
• Reliable
• Connection-oriented
• Virtual circuit
• Sequenced
• Acknowledgements
• 24 - 60 bytes (high overhead)
UDP (User Datagram Protocol)
• Unreliable
• Connectionless
• No virtual circuit
• Un-sequenced
• No acknowledgments
• 8 bytes (lightweight)
FTP - File Transfer Protocol
• Used to share files with users in a LAN or a WAN
• TCP Port 20 (active), 21 (control)
• Supports authentication, authorization, and directory browsing
• Unencrypted – not recommended, use sftp.
TFTP - Trivial File Transfer Protocol
• Used to push (put) or pull (get) files from a server
• Commonly used to manage devices like IP phones, routers and switches
• Does NOT support authentication, authorization, or directory browsing
• UDP port 69
• Unencrypted – not recommended, use sftp
SFTP - Secure File Transfer Protocol
• A secure implementation of FTP
• Supports all the same functions as FTP but with encryption
• SFTP is an extension of SSH which is why they use the same port number
• TCP Port 22
SMTP - Simple Mail Transfer Protocol
• Sends outgoing mail to a server
• TCP Port 25
POP3 - Post Office Protocol
• Downloads incoming mail from a server
• TCP Port 110
IMAP - Internet Message Access Protocol
• Synchronizes incoming mail from a server
• TCP Port 143
Telnet - Telecommunication Network
• Provides remote command line access to interact with a server
• Considered insecure and should no longer be used, use SSH instead
• TCP Port 23
SSH - Secure Shell
• Provides encrypted remote command line access to interact with a server
• SSH version 2 added SFTP and SCP support
• TCP Port 22
DNS - Domain Name Service
• Provides name to IP address resolution for host
• Resolves Domain name to IP address
• TCP/UDP Port 53 (mostly UDP but moving towards TCP)
DHCP - Dynamic Host Configuration Protocol
• Provides various configurations to clients in an IP network via broadcast
• UDP Port 67 (server)
• UDP Port 68 (client)
HTTP - Hyper Text Transfer Protocol
• Used to transmit webpages
• TCP Port 80
HTTPS - Hyper Text Transfer Protocol Secure
• Used to securely transmit encrypted
webpages using SSL or TLS
• TCP Port 443
NetBios - Network Basic Input/Output System
• Provides various network communication features in a Windows network
• Used in Windows before IP networking
• NetBIOS over TCP/IP is still used in Windows
UDP Port 137
NetBIOS name services (nbname)
TCP Port 139
NetBIOS session service (nbsession)
SNMP - Simple Network Management Protocol
• Used to query, configure, and monitor host in a LAN
• SNMPv3 encrypts communication where previous versions did not
• UDP Port 161 (Queries)
• UDP Port 162 (Traps)
LDAP - Lightweight Directory Access Protocol
• Used in domain-based network
environments to facilitate system and user management.
• TCP/UPD Port 389 (mainly TCP)
SMB - Server Message Block
• Provides file sharing, network browsing, and printing services
• Commonly used in Windows networks but supported in Linux, macOS, and many other devices
• CIFS (Common Internet File System) is an open implementation used on Linux and macOS
• TCP Port 445 (NetBIOS-less)
RDP - Remote Desktop Protocol
• Used to securely remotely access a Windows desktop
• TCP Port 3389