Ports and Protocols Flashcards
Port
Logical communication endpoint that exists on a computer or server
Inbound Port
Logical communication opening on a server that is listening for a connection with a client. I.e Port 443
Outbound Port
Logical communication opening created on a client in order to call a server that is listening for a connection.
Open a random high port, I.e. 51233, and send request to web server (port 443)
Connect over secure shell protocol (ssh)
Port # Range
0 - 65,535
Well Known Ports
0 - 1023 are WKPs and are assigned by the Internet Assigned Number Authority (IANA)
IANA
Internet Assigned Number Authority
Registered Ports
1024 - 49,151 are usually assigned to proprietary protocols for vendor use. Registered with IANA.
Dynamic and Private Ports
49,152 - 65,535 can be used by an application wi the out being registered with IANA.
Used in gaming, instant messaging, and chats for connection
Protocol
Defined set of rules governing device communication and data exchange
FTP
File Transfer Protocol
TCP
Port 21
Used to transfer files from host to host
SSH
Port 22
TCP
Provides secure remote terminal access and file transfer capabilities
SCP
Port 22
TCP
Provides secure copy function
SFTP
Port 22
TCP
Provides secure file transfers
Telnet
Port 23
TCP
Provides insecure remote control of another machine using a text-based environment
SMTP
Simple Mail Transfer Protocol
Port 25
TCP
Provides ability to send emails over network
DNS
Domain Name System
Port 53
TCP, UDP
Translates domain names to IP addresses
TFTP
Trivial File Transfer Protocol
Port 69
UDP
Used as a lightweight file transfer method for sending configuration files or network booting of an operating system