Ports and functions Flashcards
What are the 2 groups of ports and what are their ranges?
- “Well known and reserved”(0-1023)- standard ports
- Epehemeral Ports (Ports 1024-65,535)-Temporary Ports
What range do ports range from?
0-65,535
What is FTP, FTP’s function and port numbers? (2 Port #s)
File Transfer Protocol (Ports 20,21)
Transfers computer files between a client and server on a computer network. This is an unsecure method and data is being transferred in the clear. ( no encryption)
-Not used for anything confidential on encrypted
What is SSH, SSH’s function and port number?
Secure Shell (SSH)- Port 22- Cryptographic network protocol for operating network services securely over an unsecured network and is best known for remote login to computer systems by users.
- Safe to use over unsecured network
- Encryption on both ends
What is SFTP, SFTP’s function and port #?
SSH File Transfer Protocol (SFTP)-Port 22- Provides file access, file transfer, and file management over any reliable data stream.
- Secure version of FTP
- Uses the FTP protocol through the SSH tunnel that we created to securely transfer files
What is TELNET, TELNET’s function, and port #?
Telnet- Port 23- Provides bidirectional interactive text-oriented communication facility using a virtual terminal connection. Similar to SSH, but insecure.
- version of remote access with no security
- Doesn’t use encryption/UNSECURE
What is SMTP, SMTPs function and port#?
Simple Mail Transfer Protocol (SMTP)-Port 25- Internet standard for sending electronic mail
-Sending mail out over port 25
What is DNS, DNS function, and Port #?
Domain Name Service (DNS)-Port 53- Hierarchical, decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It converts domain names to IP addresses.
192.168.1.12->www.google.com
What is DHCP, DHCPs function and port#? (2 Ports)
Dynamic Host Control Protocol (DHCP)-Port 67, 68- Dynamically assigns an IP address and other network configuration parameters to a client and enables computers to request IP addresses and networking parameters automatically.
-automatically assigns computer IPs over ports 67, 68
What is TFTP, TFTPs function and port#?
Trivial File Transfer Protocol (TFTP)-Port 69- Transmits files in both directions of a client-server application and is used for booting an operating system from a local area network file server
- doesn’t provide and authentication or directory visibility
- Stripped down version of FTP
- used in sending or requesting configuration files from a router or switch, or booting an OS off of network drive
What is HTTP, HTTPs function and port#?
Hypertext Transfer Protocol (HTTP)-Port 80- Foundation of data communication for the world wide web that is designed for distributed, collaborative, and hypermedia presentation across many devices
-Unsecured web browsing
What is POP3, POP3s function and port #?
Post Office Protocol v3 (POP3)-Port 110- used by email clients to retrieve emails from a remote server over TCP/IP connection
-downloading email from server
What is NTP, NTPs function and port#?
Network Time Protocol (NTP)-Port 123- Provides clock synchronization between computer systems over packet-switched, variable-latency data networks
- NTP port 123
- Send out time over network
What is NetBIOS, NetBIOSs function and port #?
NetBIOS-Port 139- Network Basic Input/Output System. Provides services allowing applications on separate computers to communicate over a local area network for file and printer sharing
What is IMAP, IMAPs function and port#?
Internet Mail Application Protocol (IMAP)-Port 143- Allows email clients to retrieve email messages from a mail server over a TCP/IP connection and allows the end user to view and manipulate the messages as if they’re stored locally
- Different from POP3 because it keeps all devices synchronized
(ex: on POP3 if i viewed mail on one device, one device would show read and the other would show unread) - On IMAP all devices would show message read
- Much better for modern email communciation
What protocols do you receive emails on?
What protocol do you sending emails on?
Receive- POP3(port 110) and IMAP(Port 143)
Send- SMTP(Port 25)
What is SNMP, SNMPs function and port #?
Simple Network Management Protocol (SNMP)-Port 161- Provides collection and organization of information about managed devices on IP networks
-used on routers and switches
What is LDAP, LDAPs function and port#?
Lightweight Directory Access Protocol (LDAP)-Port 389- Open, vendor-neutral, industry and standard for accessing and maintaining distributed directory information service
- LDAP and Active Directory both use Port 389
- An Example of using LDAP is looking up a contact in the directory of MS Outlook
What is HTTPS, HTTPSs function and port#?
HTTP Secure (HTTPS)-Port 443- Foundation of ecommerce on the world wide web that is designed for adding security to the insecure HTTP protocol.
-HTTPS uses either TLS or SSL to encrypt your connection to allow for ecommerce, and logging in with username and password
What is SMB, SMBs function and port#? What other protocol does SMB operate in conjunction with?
Server Message Block (SMB)-Port 445-Provides shared access to files, printers, and miscellaneous communications between devices on a network
- operates a lot like NetBIOS(Port 139) and operates in conjunction with NetBios to perform file transfer
- NetBIOS focuses on authentication and SMB passes out files
- Port 139 and 445 are usually open and working together
What is LDAPS, LDAPSs function and port #?
LDAP Secure (LDAPS)- Port 636- open, vendor-neutral, industry standard for accessing and maintaining distributed directory information services
- operates like LDAP
- uses active directory structure
- adds layer of TLS or SSL to secure information
What is RDP, RDPs function and port#?
Remote Desktop Protocol (RDP)-Port 3389- Proprietary protocol developed by MicroSoft which provides a user with a graphical interface to connect to another computer over a network connection
-different from SSH or Telnet because of how the interface looks
What is SIP, SIPs function and port #s? (2 ports)
Session Initiation Protocol (SIP)-Port 5060, 5061- Provides signaling and controlling multimedia communication sessions in applications
-SIP is used for VoIP, phone calls, voices calls, skype,etc..
Port 22 (2 answers)
SSH, SFTP
Ports 20,21
FTP
Port 23
Telnet
Port 25
SNMP
Port 53
DNS
Ports 67,68
DHCP
Port 69
TFTP
Port 80
HTTP
Port 110
POP3
Port 123
NTP
Port 139
NetBIOS
Port 143
IMAP
Port 161
SNMP
Port 389
LDAP
Port 443
HTTPS
Port 445
SMB
Port 636
LDAPS
Port 3389
RDP
Ports 5060, 5061
SIP