TCP/IP Ports
Network ports are logical connections, provided by the TCP or UDP protocols at the Transport layer, for use by protocols in the upper layers of the OSI model. The TCP/IP protocol stack uses port numbers to determine what protocol incoming traffic should be directed to. Some characteristics of ports are listed below:
- 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 Assigning Names and Numbers (ICANN).
ICANN specifies three categories for ports.
Categories | Characteristics |
Well Known |
|
Registered |
|
Dynamic |
|
The following table lists the well known ports that correspond to common Internet services.
Protocol(s) | Port(s) | Service |
TCP | 20, 21 | File Transfer Protocol (FTP) |
TCP | 22 | Secure Shell (SSH) |
TCP | 23 | Telnet |
TCP | 25 | Simple Mail Transfer Protocol (SMTP) |
TCP | 53 | Domain Name Server (DNS) |
UDP | 67, 68 | Dynamic Host Configuration Protocol (DHCP) |
UDP | 69 | Trivial File Transfer Protocol (TFTP) |
TCP | 80 | HyperText Transfer Protocol (HTTP) |
TCP | 110 | Post Office Protocol (POP3) |
TCP | 119 | Network News Transport Protocol (NNTP) |
UDP | 123 | NTP |
TCP | 143 | Internet Message Access Protocol (IMAP4) |
TCP | 161, 162 | Simple Network Management Protocol (SNMP) |
TCP | 389 | Lightweight Directory Access Protocol |
TCP | 443 | HTTP with Secure Sockets Layer (SSL) |
Note: When creating access lists, allow only the port numbers that correspond to the services running on the servers.
Tidak ada komentar:
Posting Komentar