4.4 Port Numbers أرقام المنافذ
Multiple Separate Communications الاتصالات المتعددة المنفصلة
TCP and
UDP transport layer protocols use port numbers to manage multiple, simultaneous
conversations.
تستخدم بروتوكولات طبقة النقل TCP و UDP
أرقام المنافذ لإدارة محادثات متعددة ومتزامنة.
The
source port number is associated with the originating application on the local
host whereas the destination port number is associated with the destination
application on the remote host.
يرتبط رقم المنفذ المصدر بالتطبيق الأصلي على المضيف المحلي بينما
يرتبط رقم المنفذ الوجهة بالتطبيق الوجهة على المضيف البعيد.
Socket Pairs
•
The source and destination ports are placed within the
segment.
•
يتم
وضع منافذ المصدر والوجهة داخل المقطع.
•
The segments are then encapsulated within an IP
packet.
•
ومن ثم
يتم تضمين المقاطع في حزمة IP.
•
The combination of the source IP address and source
port number, or the destination IP address and destination port number is known
as a socket.
يعرف المزج بين عنوان IP
للمصدر ورقم منفذ المصدر، أو عنوان IP للوجهة ورقم منفذ الوجهة باسم مأخذ التوصيل.
•
Sockets enable multiple processes, running on a
client, to distinguish themselves from each other, and multiple connections to
a server process to be distinguished from each other.
تقوم
مآخذ التوصيل بتمكين العديد من العمليات التي تعمل على عميل ما لتمييز نفسها عن
غيرها، وكذلك الاتصالات المتعددة بعملية خادم ليتم تمييزها بعضها عن بعض.
Port Number Groups
Port Group |
Number Range |
Description |
Well-known Ports |
0 to 1,023 |
•
These
port numbers are reserved for common or popular services and applications
such as web browsers, email clients, and remote access clients. ويشيع
استخدامها بوجه عام في تطبيقات مثل مستعرضات الويب وعملاء البريد الإلكتروني
وعملاء الوصول عن بُعد. •
Defined
well-known ports for common server applications enables clients to easily
identify the associated service required. المنافذ
المعروفة المعروفة لتطبيقات الملقم الشائعة تمكن العملاء من التعرف بسهولة على
الخدمة المرتبطة المطلوبة. |
Registered Ports المنافذ
المسجلة |
1,024 to 49,151 |
•
These
port numbers are assigned by IANA to a requesting entity to use with specific
processes or applications. •
يتم تعيين أرقام المنافذ هذه بواسطة IANA
إلى الكيان الطالب لاستخدامها مع عمليات أو تطبيقات محددة. •
These
processes are primarily individual applications that a user has chosen to
install, rather than common applications that would receive a well-known port
number. وتعتبر
هذه العمليات بشكل أساسي تطبيقات فردية يختارها المستخدم لتثبيتها بدلاً من
التطبيقات الشائعة التي تستقبل رقم منفذ معروفًا. •
For
example, Cisco has registered port 1812 for its RADIUS server authentication
process. •
على سبيل المثال، سجلت Cisco
المنفذ 1812 لعملية مصادقة خادم RADIUS. |
Private and/or Dynamic Ports المنافذ
الخاصة و/أو الديناميكية |
49,152 to 65,535 |
•
These
ports are also known as ephemeral ports. ومن
المعروف أيضا هذه المنافذ باسم الموانئ سريعة الزوال. •
The
client’s OS usually assign port numbers dynamically when a connection to a
service is initiated. عادةً
ما يقوم نظام التشغيل الخاص بالعميل بتعيين أرقام المنافذ ديناميكيًا عند بدء
الاتصال بخدمة ما. •
The
dynamic port is then used to identify the client application during
communication. •
يُستخدم المنفذ الديناميكي بعد ذلك
لتحديد تطبيق العميل أثناء الاتصال. |
Port
Number |
Protocol |
Application |
20 |
TCP |
File Transfer Protocol (FTP) - Data |
21 |
TCP |
File Transfer Protocol (FTP) - Control |
22 |
TCP |
Secure Shell (SSH) |
23 |
TCP |
Telnet |
25 |
TCP |
Simple Mail Transfer Protocol (SMTP) |
53 |
UDP, TCP |
Domain Name Service (DNS) |
67 |
UDP |
Dynamic Host Configuration Protocol
(DHCP) - Server |
68 |
UDP |
Dynamic Host Configuration Protocol -
Client |
69 |
UDP |
Trivial File Transfer Protocol (TFTP) |
80 |
TCP |
Hypertext Transfer Protocol (HTTP) |
110 |
TCP |
Post Office Protocol version 3 (POP3) |
143 |
TCP |
Internet Message Access Protocol (IMAP) |
161 |
UDP |
Simple Network Management Protocol
(SNMP) |
443 |
TCP |
Hypertext Transfer Protocol Secure
(HTTPS) |
The
netstat Command
Unexplained
TCP connections can pose a major security threat. Netstat is an important tool
to verify connections.
يمكن أن تفرض اتصالات TCP غير الموضحة تهديدًا أمنيًا كبيرًا. Netstat
هو أداة مهمة للتحقق من الاتصالات.
|