0% found this document useful (0 votes)
476 views8 pages

Port and Protocol

The document discusses network port numbers and the protocols that use them, explaining that services like HTTP and SMTP are associated with specific port numbers and that the port numbers allow the transport layer to direct packets to the appropriate protocol. It provides examples of common port numbers and their associated application layer protocols like HTTP on port 80 or SMTP on port 25. The document also gives an overview of several protocols like FTP, SSH, SNMP and others along with their port numbers and functionality.

Uploaded by

Ramin Mohammadi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
476 views8 pages

Port and Protocol

The document discusses network port numbers and the protocols that use them, explaining that services like HTTP and SMTP are associated with specific port numbers and that the port numbers allow the transport layer to direct packets to the appropriate protocol. It provides examples of common port numbers and their associated application layer protocols like HTTP on port 80 or SMTP on port 25. The document also gives an overview of several protocols like FTP, SSH, SNMP and others along with their port numbers and functionality.

Uploaded by

Ramin Mohammadi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Port / Protocols

 What is port number:

 All services in network known with a number this number is called Port numbers
 All services in application layer have a specific port number for example:

Application protocols: Port numbers:

HTTPS 443
HTTP 80
SMTP 25
TFTP 69
DNS 53
SNMP 161
DHCP 67 , 68
 And this port number will Tagged in transport layer
 What about usage of port number:

1. When I want deny a service on a PC


 For example Ahmad can‘t send email but can access internet pages ….
 Now I go to router or firewall and deny 25 ( 25 = port number of SMTP )
 After that I block port number 25 now AHMAD can’t use SMTP services ( Emailing )

2. By using port number transport layer specify a transport protocol to carry packets ( TCP , UDP )
 Transport list by default programmed in our PC : ( C:\Windows\System32\drivers\etc )

 Example of list:
 Protocol with port# Responsible Transport protocol
1. For port number 80 ( HTTP ) TCP is responsible
2. For port number 67 ( DHCP ) UDP is responsible
3. For port number 53 ( DNS ) UDP is responsible
4. For number 23 ( Telnet ) TCP is responsible

 Now transport layer by using port number of service, will specify a transport protocol ( TCP or UDP )
Protocols

Name RFC Port # Functionality


IP 791 End to end address
TCP 793 Transport layer protocol
UDP 768 Transport layer protocol
FTP 959 20, 21 File Transfer Protocol
FTP commands

Command Discription
LS Lists the files in the current directory on the remote system
CD Changes the working directory on the remote host
LCD Changes the working directory on the local host
PUT Uploads a single file to the remote host
GET Downloads a single file from the remote host
MPUT Uploads multiple files to the remote host
MGET Downloads multiple files from the remote host
BINARY Switches transfers into binary mode
ASCII Switches transfers into ASCII mode (the default)
Protocols
Name RFC Port # Functionality
SFTP 913 22 Secure File Transfer Protocol
TFTP 1350 60 Trivial File Transfer Protocol
SMTP 821 25 Simple Mail Transfer Protocol
HTTP 2068 80 Hypertext Transfer Protocol
HTTPS 7230 443 Hypertext Transfer Protocol Secure
POP3/IMAP4 1939 / 1731 110 /143 Post Office Protocol Version 3/Internet Message
Access Protocol Version 4
TELNET 854 32 Virtual Terminal Protocol
SSHv1/SSHv2 4253 22 Secure Shell
Icmp 792 Internet Control Message Protocol
Protocols
Name RFC Port # Functionality
NTP 958 123 Network Time Protocol
LDAP/LDAPS 5410/5411 389/636 Lightweight Directory Access Protocol
H.323 1720 Standard that addresses call, multimedia, and
Bandwidth control for voice and videoconferencing.
SNMP 1157/3413/3418 Simple Network Management Protocol
SIP 5060/5061 Session Initiation Protocol (VoIP)
RDP 3389 Remote Desktop Protocol
SMB 445 Server Message Block (File sharing)
ARP and RARP
ARP

Switch Description
-a Displays the entries in the ARP cache
-s Manually adds a permanent entry to the ARP cache
-d Deletes an entry from the ARP cache

You might also like