Ports and Protocols Flashcards
Just a brief overview of Protocols and the Ports they use
Well Known Ports
0-1023
What is FTP
File Transfer Protocol
What port is FTP (data)
TCP/UDP 20
What port is FTP (control)
TCP 21
What is SSH
Secure Shell
What port is SSH
TCP/UDP 22
What is TELNET
Legacy and insecure way of remote connection
What port is Telnet
TCP/UDP 23
What is SMTP
Simple Mail Transfer Protocol
Used for sending emails over the internet.
What port does SMTP use
TCP 25
What is DNS
Domain Name System
Resolves human readable domain names into IP addresses
What port does DNS use
TCP/UDP 53
What is DHCP
Dynamic Host Configuration Protocol
Automatically assigns IP addresses to hosts on a network
What Port does DCHP use
UDP 67 (IPv4 client)
UDP 68 (IPv4 server)
TCP/UDP 546 (IPv6 client
TCP/UDP 547 (IPv6 server)
What is TFTP
Trivial File Transfer Protocol
FTP that uses UDP
What port does TFTP use
UDP 69
What is HTTP
Hypertext Transfer Protocol
method for encoding and transporting information between a client (web browser) and a web server.
What port does HTTP use
TCP 80
What is Kerberos
Network authentication protocol using tickets, not certificates
Used in Windows domain environments (Active Directory)
Provides mutual authentication and single sign-on (SSO)
Does not use X.509 certificates
What port does Kerberos use
TCP/UDP 88
What is POP3
Post Office Protocol v3
Downloads emails to a local device and deletes them from the server
What port does POP3 use
TCP 110
What is NTP
Network Time Protocol
An internet protocol used to synchronize with computer clock time sources in a network
What port does NTP use
TCP 123
What is NBNS
NetBIOS Name Service
NBNS serves much the same purpose as DNS does: translate human-readable names to IP addresses. NBNS’s services are more limited, in that NetBIOS names exist in a flat name space, rather than DNS’s hierarchical one (multiple flat name spaces can exist, by using NetBIOS scopes, but those are rarely used), and NBNS can only supply IPv4 addresses; NBNS doesn’t support IPv6.
What port does NBNS use
UDP/TCP 137
What is IMAP4
Internet Messaging Access Protocol
IMAP allows you to access your email wherever you are, from any device. When you read an email message using IMAP, you aren’t actually downloading or storing it on your computer; instead, you’re reading it from the email service.
What port does IMAP4 use
TCP 143
POP3 vs IMAP4
IMAP allows you to access your email wherever you are, from any device. When you read an email message using IMAP, you aren’t actually downloading or storing it on your computer; instead, you’re reading it from the email service. As a result, you can check your email from different devices, anywhere in the world: your phone, a computer, a friend’s computer.
POP works by contacting your email service and downloading all of your new messages from it. Once they are downloaded onto your PC or Mac, they are deleted from the email service. This means that after the email is downloaded, it can only be accessed using the same computer. If you try to access your email from a different device, the messages that have been previously downloaded won’t be available to you.
What is SNMP
Simple Network Management Protocol
SNMP is used to collect data related to network changes or to determine the status of network-connected devices.
What protocol does SNMP use
UDP 161
What is IRC
Internet Relay Chat
Text-based chat system for instant messaging. Includes file sharing
What port does IRC use
TCP/UDP 194
What is HTTPS
Hypertext Transfer Protocol Secure
Secure’s HTTP traffic using SSL/TLC
What port does HTTPS use
TCP 443
What is SSL
Secure Sockets Layer
standard technology for securing an internet connection by encrypting data sent between a website and a browser (or between two servers)
What port does SSL use
TCP 443
What is RIP
Routing Information Protocol
Legacy routing protocol that is a distance vector protocol that uses hop count as its primary metric. RIP defines how routers should share information when moving traffic among an interconnected group of local area networks.
What port does RIP use
UDP 520
What is AOL IM
America On Line Instant Messenger
Discontinued chat service
What port does AOL IM use
TCP/UDP 531
What is RTSP
Real Time Streaming Protocol
RTSP is an application-level network communication system that transfers real-time data from multimedia to an endpoint device.
What port does RTSP use
TCP/UDP 554
Registered Ports
1024-49151
Ephemeral/Dynamic Ports
49152-65535
What is MS SQL
Microsoft SQL (Structured Query language)
What port does MS SQL use
TCP 1433
What is Radius
Remote Authentication Dial-In User Service
is a networking protocol that provides centralized authentication, authorization, and accounting (AAA) management for users who connect and use a network service.
What port does RADIUS use
TCP/UDP 1812
What is Cisco CSSP (VoIP)
Cisco Skinny Call Control Protocol
What port does Cisco CSSP use
PORT 2000
What is RTP
Real-Time Transport Protocol
is a network communication protocol developed on the User Datagram Protocol (UDP), which helps transport audio, video, and media traffic in real-time while minimizing jitter and packet loss.
What port does RTP use
UDP 5004
What is SIP
Session Initiation Protocol
is a signaling protocol used to establish, manage, and terminate multimedia sessions, such as voice calls, video conferences, and instant messaging. It is widely used in telecommunications networks, including VoIP (Voice over IP) and video conferencing systems.
What port does SIP use
UDP 5060
What is PPTP
Point to Point Tunneling Protocol
facilitates the private transfer of data from a remote client to a server by encapsulating packets at a TCP/IP level. Despite its role in early VPN development, PPTP has been largely superseded by more secure protocols because of its known vulnerabilities and weak encryption standards.
What port does PPTP use
TCP 1723
What is SSTP
Secure Socket Tunneling Protocol
SSTP is used for secure connections, and the technology behind it leverages SSL/TLS handshakes. It uses the same port as SSL/TLS (port 443), and it bases the connection on user authentication instead of a device. It’s popular with internet connections that must have improved security over basic SSL/TLS connections. It’s often compared to the OpenVPN standard, which is considered the gold standard in encryption libraries.
What port does SSTP use
TCP 443
What is L2TP
Layer 2 Tunneling Protocol
OUTDATED
is a virtual private network (VPN) protocol that creates a connection between your device and a VPN server without encrypting your content. Due to its lack of encryption and authentication, L2TP is usually paired with Internet Protocol Security (IPsec) protocol. IPsec uses encryption algorithms and cryptographic keys to provide L2TP with the necessary encryption. IPsec also controls data that travels between the endpoints of the created connection tunnel between the end user and a VPN server online.
What port does L2TP use
UDP 500
UDP 4500
UDP 1701
What is SFTP
Secure File Transfer Protocol
SFTP transfers files using Secure Shell (SSH), which is an encrypted protocol.
What port does SFTP use?
TCP 22 (uses SSH)
What is LLMNR
Link-Local Multicast Name Resolution
Allows devices on the same LAN to resolve hostnames to IP addresses without a DNS server.
What port does LLMNR use?
UDP 5355