1.5 Ports and Protocols Flashcards
What is the Internet Control Message Protocol (ICMP) and where does it operate in the OSI Model?
Helper protocol
Allows devices to
communicate regarding
connectivity
PING and TRACERT use ICMP
Operates at “Layer 3.5”
Explain Internet Protocol Security (IPSec) and the two protocols that it works with.
IPSec is designed to provide a secure connection between
systems both local and remote
It works using two separate
protocols:
◦ Authentication Header (AH)- which
provides the authentication services
◦ Encapsulating Security Payload
(ESP)- which provides the encryption
services
Each can be used in either
Transport or Tunnel mode
Explain Generic Routing Encapsulation (GRE) and its uses.
A Cisco proprietary tunneling
protocol
Used for sending data securely
across VPNs, Point-to-Point, or
Point-to-Multipoint links
What is File Transfer Protocol (FTP)?
TCP 20/21
Used to execute server/client
file transfers
Two TCP ports used:
◦ 21: session control and auth
◦ 20: file transfers
What is Secure File Transfer Protocol (SFTP)?
TCP 22
SFTP uses SSH (port 22) to
create an encrypted
connection the server
What is Trivial File Transfer Protocol (TFTP)?
UDP 69
Simple and unsecured file
transfer protocol
What is Secure Shell (SSH)?
TCP 22
Used for secure remote command- line terminal access
What is Telnet?
TCP 23
Used for unsecure remote command- line terminal access
What is Simple Mail Transfer Protocol (SMTP/SSMTP)?
TCP 25 Unsecure
TCP 465/587 Secure
E-mail clients use SMTP to
submit new messages to their
e-mail server
From client perspective, SMTP
is used for outgoing
messages
What is Post Office Protocol v3 (POP3/SPOP3)?
TCP 110 Unsecure
TCP 995 Secure
E-mail client access protocol
Users can download their e-mails from the mail server to their client (Stored on own device then wiped from server)
From client perspective, POP3
is used for incoming messages
What is Internet Message Access Protocol (IMAP/SIMAP)?
TCP 143 Unsecure
TCP 993 Secure
E-mail client access protocol
IMAP preferred when user has
multiple clients
◦ Only downloads a copy of latest
messages
◦ Marks read messages as read
on server to sync to all devices
From client perspective, IMAP
is used for incoming messages
What is Domain Name System (DNS)?
TCP/UDP 53
Translates domain names to IP
addresses
Can be configured using
DHCP or manually by the user
Designed to use UDP
◦ Modern DNS needs to use TCP as
well as UDP
What is Dynamic Host Configuration Protocol (DHCP)?
UDP 67/68
Used to automatically hand
out IP addresses to network
hosts
DHCP Server listens on UDP
port 67 for requests
DHCP Client talks from UDP
port 68 to send requests
What is Hyper-text Transfer Protocol (HTTP/HTTPS)?
TCP 80 Unsecure
TCP 443 Secure
Used to transport files from a
web server down to a web
browser
HTTPS is HTTP over SSL/TLS
What is Network Time Protocol (NTP)?
UDP 123
Synchronizes the clocks on
devices
Important for log files,
authentication, outages, etc.
Very accurate