1.5 Ports and Protocols Flashcards

1
Q

What is the Internet Control Message Protocol (ICMP) and where does it operate in the OSI Model?

A

Helper protocol
Allows devices to
communicate regarding
connectivity
PING and TRACERT use ICMP
Operates at “Layer 3.5”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain Internet Protocol Security (IPSec) and the two protocols that it works with.

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain Generic Routing Encapsulation (GRE) and its uses.

A

A Cisco proprietary tunneling
protocol
Used for sending data securely
across VPNs, Point-to-Point, or
Point-to-Multipoint links

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is File Transfer Protocol (FTP)?

A

TCP 20/21
Used to execute server/client
file transfers
Two TCP ports used:
◦ 21: session control and auth
◦ 20: file transfers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Secure File Transfer Protocol (SFTP)?

A

TCP 22
SFTP uses SSH (port 22) to
create an encrypted
connection the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Trivial File Transfer Protocol (TFTP)?

A

UDP 69
Simple and unsecured file
transfer protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Secure Shell (SSH)?

A

TCP 22
Used for secure remote command- line terminal access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Telnet?

A

TCP 23
Used for unsecure remote command- line terminal access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Simple Mail Transfer Protocol (SMTP/SSMTP)?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Post Office Protocol v3 (POP3/SPOP3)?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Internet Message Access Protocol (IMAP/SIMAP)?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Domain Name System (DNS)?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Dynamic Host Configuration Protocol (DHCP)?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Hyper-text Transfer Protocol (HTTP/HTTPS)?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Network Time Protocol (NTP)?

A

UDP 123
Synchronizes the clocks on
devices
Important for log files,
authentication, outages, etc.
Very accurate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Simple Network Managing Protocol (SNMP)?

A

UDP 161
Aids the collection of metrics
from network devices and
hosts
◦ SNMP Manager reaches out to
network devices for metrics
◦ Value usually stored historically
◦If values exceed threshold, an
alert could be sent to admin

17
Q

What is Syslog?

A

UDP 514
Unix/Linux-based systems can
write messages to a log server
using the SYSLOG protocol
Helpful for centralized
management and observation
of logs across multiple machines

18
Q

What is Lightweight Directory Access Protocol (LDAP/LDAPS)?

A

TCP 389 Unsecure
TCP 636 Secure
Industry standard protocol for
utilizing central directories
◦ Username/Passwords
◦ Personal contact info
◦ Computer names/attributes
Microsoft Active Directory (AD)
◦ Most popular directory service
◦ LDAP allows lookups to AD to
find people or computers

19
Q

What is Server Message Block (SMB)?

A

TCP 445
Used by Microsoft to facilitate
network resource sharing
File and Printer sharing based
on SMB
SMB 1.0 was based off and
branded as CIFS

20
Q

What is Structured Query Language (SQL)?

A

TCP 1433, 1521, 3306
SQL is a protocol that allows us to
communicate with a database
SQL Server (Microsoft) uses 1433
SQLnet (Oracle) is a proprietary
version of SQL and uses port 1521
MySQL is an open-source version of
SQL and uses port 3306

21
Q

What is Remote Desktop Protocol (RDP)?

A

TCP 3389
Allows client computer to
control desktop environment
of a remote Windows client
Microsoft proprietary
Also used in virtual desktop
environments
◦ Thin clients often use RDP

22
Q

What is Session Initiation Protocol (SIP)?

A

TCP 5060
VoIP session protocol
Also supports video and
messaging applications over IP
streams