List of TCP and UDP port numbers

List of TCP and UDP port numbers

The Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) are Transport Layer protocols of the Internet Protocol Suite (commonly TCP/IP) for communication between computers. The Internet Assigned Numbers Authority (IANA) is responsible for maintaining the official assignments of port numbers for specific uses.cite web
url= http://www.iana.org/assignments/port-numbers
title= "Port Numbers"
accessdate= 2008-05-25
accessdaymonth=
accessmonthday=
accessyear=
author=
last=
first=
authorlink=
coauthors=
date= 2008-05-22
year=
month=
format= plain text
work=
publisher= The Internet Assigned Numbers Authority (IANA)
pages=
language=
doi=
archiveurl=
archivedate=
quote=
]

Ranges

The port numbers are divided into three ranges:
* The "Well Known Ports" are those in the range 0–1023. On Unix-like operating systems, opening a port in this range to receive incoming connections requires administrative privileges or possessing "CAP_NET_BIND_SERVICE" capability [ [http://www.rt.com/man/ip.4.html Linux Programmer's Manual—Linux IPv4 protocol implementation] ] .
* The "Registered Ports" are those in the range 1024–49151.
* The "Dynamic and/or Private Ports" are those in the range 49152–65535. Randomly chosen port numbers out of this range are called ephemeral ports. These ports are not permanently assigned to any publicly defined application.

IANA does not enforce this; it is simply a set of recommended uses. Sometimes ports may be used for different applications or protocols than their official IANA designation. This misuse may be, for example, by a Trojan horse, or alternatively by a commonly used program that did not get an IANA registered port or port range.

Table legend

Color coding of table entries
* Official Port/application combination is registered with IANA
* Unofficial Port/application combination is not registered with IANA
* Conflict Port is in use for multiple applications

Well known ports: 1 - 1023

Registered ports: 1024–49151

Only those ports that are commonly used are listed; for full list, refer to the IANA port list.

When investigating TCP traffic, be careful not to confuse the client and server ports. The client port is incremental, typically beginning at 1024 at boot time and wrapping at 4096. If the port you are investigating is in the lower part of this range, it may be a client port. Stateful firewalls identify the server port, but packet sniffers and stateless firewalls do not. For example, a packet sniffer showing a TCP packet with source port 1080 and destination port 1494 might be either the SOCKetS or Citrix Independent Computing Architecture (ICA) protocols. The only way to know for sure is to examine the initial TCP handshake.

With UDP, client port selection depends on the application and may be incremental, fixed to a nonsensical value, or fixed equal to the server port.

Dynamic and/or private ports: 49152–65535

By definition, no ports can be registered in the dynamic range.

ee also

*TCP and UDP port
*Internet Protocol Suite

References

External links

* [http://www.akerman.ca/port-table.html List of selected/nonstandard TCP/IP ports and related information]
* [http://www.bekkoame.ne.jp/~s_ita/port/port1-99.html List of TCP/UDP ports with information about trojans and malware]
* [http://www.microsoft.com/technet/community/columns/cableguy/cg1205.mspx Windows TCP/IP Ephemeral, Reserved, and Blocked Port Behavior]
* [http://docs.info.apple.com/article.html?artnum=106439 Known TCP/UDP ports used by Apple software]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • TCP and UDP port — In computer networking, a port is an application specific or process specific software construct serving as a communications endpoint used by Transport Layer protocols of the Internet Protocol Suite such as Transmission Control Protocol (TCP) and …   Wikipedia

  • Port scanner — A port scanner is a piece of software designed to search a network host for open ports. This is often used by administrators to check the security of their networks and by crackers to compromise it.To portscan a host is to scan for listening… …   Wikipedia

  • Port number — In computer networking, a port is an application specific or process specific software construct serving as a communications endpoint in a computer s host operating system. A port is associated with an IP address of the host, as well as the type… …   Wikipedia

  • TCP/IP model — See also: Internet Protocol Suite The TCP/IP model (Transmission Control Protocol/Internet Protocol) is a descriptive framework for the Internet Protocol Suite of computer network protocols created in the 1970s by DARPA, an agency of the United… …   Wikipedia

  • Port (disambiguation) — Contents 1 Transportation 2 Computing 3 Places 4 Medicine …   Wikipedia

  • List of Internet topics — This page is a list of Internet topics. AlphanumericTOC align=center nobreak= numbers= externallinks= references= top=| A Abilene Network Ad hoc network Address resolution protocol Aggregator (news aggregator) ADSL AirPort All your base are… …   Wikipedia

  • List of computing and IT abbreviations — This is a list of computing and IT acronyms and abbreviations. Contents: 0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y …   Wikipedia

  • Computer port (software) — For software socket port information, see Port number For porting software to other computer systems, see Porting. For other uses of port , see port (disambiguation). In computer programming, port has a wide range of meanings. A software port… …   Wikipedia

  • Open port — In security parlance, the term open port is used to mean a TCP/IP port number that is configured to accept packets. In contrast, a port which ignores all packets directed at it is commonly referred to as a closed port .[1] Ports are an integral… …   Wikipedia

  • Registered port — A port , in this context, is essentially a sub address defined within the Internet Protocol. The range of valid ports is 1–65536. A registered port is one assigned by the Internet Corporation for Assigned Names and Numbers (ICANN) to a certain… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”