Common Ports Flashcards
Characteristics of ports:
- Ports allow a single host with a single IP address to run network services.
- Each port number identifies a distinct service
- Each host can have over 65,000 ports per IP address
- Port use is regulated by the Internet Corporation for Assigned Names and Numbers (ICANN)
ICANN specifies the following three categories for ports:
- Well known ports
- Registered ports
- Dynamic ports
Well known Ports
- Range from 0 - 1023
* Are assigned to common protocols and services
Registered Ports
- Range from 1024 to 49151
* Are assigned by ICANN to specific service
Dynamic Ports (private or high ports)
- Range from 49152 to 65535 and can be used by any service on an ad hoc basis
- Ports are assigned when a session is established and ports are released when the session ends
20 TCP and UDP
21 TCP and UDP
- File Transfer Protocol (FTP)
22 TCP and UDP
- Secure Shell (SSH)
23 TCP
- Telnet
25 TCP and UDP
- Simple Mail Transfer Protocol (SMTP)
53 TCP and UDP
Domain Name Server (DNS)
67 TCP and UDP
68 TCP and UDP
- Dynamic Host Configuration Protocol (DHCP)
69 TCP and UDP
- Trivial File Transfer Protocol (TFTP)
80 TCP and UDP
- Hypertext Transfer Protocol (HTTP)
110 TCP
- Post Office Protocol (POP3)
119 TCP
- Network News Transport Protocol (NNTP)
123 TCP and UDP
- Network Time Protocol (NTP)
137 TCP and UDP
138 TCP and UDP
139 TCP and UDP
NetBIOS Name Service
NetBIOS Datagram Service
NetBIOS Session Service
143 TCP
Internet Message Access Protocol (IMAP4)
161 UDP
162 TCP and UDP
- Simple Network Management Protocol (SNMP)
389 TCP and UDP
- Lightweight Directory Access Protocol (LDAP)
443 TCP and UDP
- HTTP over Secure Sockets Layer (HTTPS)
445 TCP
- Microsoft Server Message Block (SMB) File Sharing
1720 TCP
- H.323 Call Signaling
2427 UDP
- Cisco Media Gateway Control Protocol (MGCP)
3389 TCP and UDP
- Remote Desktop Protocol (RDP)
5004 TCP and UDP
5005 TCP and UDP
- Real-time Transport Protocol (RTP) Data
* Real-time Transport Protocol (RTP) Control
5060 TCP and UDP
5061 TCP
- Session Initiation Protocol (SIP)
* Session Initiation Protocol (SIP) over TLS
What do u to protect a server
- Ensure that only the necessary ports are open.
* EX. If server is being used only for email, then shut down ports that correspond to FTP, DNS, HTTP, etc
635 TCP and UDP
Lightweight Directory Access Protocol over TLS/SSL (LDAPS)