1.1 – Ports & Protocols Flashcards

1
Q

What port does this protocol use?

SSH

A

TCP 22

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

What port does this protocol use?

DNS

A

UDP 53

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

What port does this protocol use?

SMTP

A

TCP 25

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

What port does this protocol use?

FTP

A

TCP 20, 21

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

What port does this protocol use?

TFTP

A

UDP 69

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

What port does this protocol use?

TELNET

A

TCP 23

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

What port does this protocol use?

DHCP

A

UDP 67, 68

(client sends requests using port 67)

(server sends answers to client using port 68)

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

What port does this protocol use?

HTTP

A

TCP 80

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

What port does this protocol use?

HTTPS

A

TCP 443

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

What port does this protocol use?

SNMP

A

UDP 161

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

What port does this protocol use?

RDP

A

TCP 3389

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

What port does this protocol use?

NTP

A

UDP 123

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

What port does this protocol use?

SIP

A

TCP 5060, 5061

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

What port does this protocol use?

POP

A

TCP 110

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

What port does this protocol use?

IMAP

A

TCP 143

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

What port does this protocol use?

LDAP

A

TCP 389

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

What port does this protocol use?

LDAPS

A

TCP 636

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

What port does this protocol use?

H.323

A

TCP 1720

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

What protocol typically uses this port?

22

A

SSH

and, SFTP

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

What protocol typically uses this port?

53

A

DNS

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

What protocol typically uses this port?

25

A

SMTP

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

What protocol typically uses this port?

20

A

FTP (for an active mode data transfer)

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

What protocol typically uses this port?

21

A

FTP (for control information between the client and the server)

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

What protocol typically uses this port?

69

A

TFTP

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

What protocol typically uses this port?

23

A

TELNET

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

What protocol typically uses this port?

67

A

DHCP (client sends requests using port 67)

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

What protocol typically uses this port?

68

A

DHCP (server sends answers to client using port 68)

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

What protocol typically uses this port?

80

A

HTTP

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

What protocol typically uses this port?

443

A

HTTPS

30
Q

What protocol typically uses this port?

161

A

SNMP

31
Q

What protocol typically uses this port?

3389

A

RDP

32
Q

What protocol typically uses this port?

123

A

NTP

33
Q

What protocol typically uses this port?

5060

A

SIP

34
Q

What protocol typically uses this port?

5061

A

SIP

35
Q

What protocol typically uses this port?

445

A

SMB

36
Q

What protocol typically uses this port?

110

A

POP

37
Q

What protocol typically uses this port?

143

A

IMAP

38
Q

What protocol typically uses this port?

389

A

LDAP

39
Q

What protocol typically uses this port?

636

A

LDAPS

40
Q

What protocol typically uses this port?

1720

A

H.323

41
Q

List four types of protocols.

A
  • ICMP
  • UDP
  • TCP
  • IP
42
Q

What are TCP and UDP?

A

Two different ways to move data across a network connection.

They are transported inside of IP (encapsulated by the IP protocol).

They operate at OSI Layer 4 (the transport layer).

43
Q

What are the most common Layer 4 protocols?

A

TCP and UDP.

If someone is referring to a Layer 4 protocol, it will almost always be either TCP or UDP.

44
Q

What is TCP?

A

Transmission Control Protocol

  • A connection-oriented protocol.
  • A “reliable” delivery method.
  • It can recover from errors, and manage out-of-order messages or retransmissions.
  • Flow control. The receiver can manage how much data is sent.
45
Q

What does it mean for a delivery method to be “reliable”?

A

It means that for every package of data that is received, an acknowledgement will be sent back.

46
Q

What is UDP?

A

User Datagram Protocol

  • A connectionless protocol.
  • An “unreliable” form of delivery. No receipt acknowledgement for data; no error recovery, no reordering of data or retransmissions.
  • No flow control. The sender determines the amount of data transmitted.
47
Q

What is a non-ephemeral port?

A

Permanent port numbers.

  • Usually defined as Ports 0 – 1,023
  • Commonly used by applications or services that are running on a server.
48
Q

What is an ephemeral port?

A

Temporary port numbers

  • Usually defined as Ports 1,024 – 65,535
  • Usually decided on randomly by a client, in real-time / on the fly.
49
Q

What is ICMP?

A

Internet Control Message Protocol

Works like “text messaging” for your network devices.

  • Another protocol carried by IP.
  • Typically not used for data transfer.
  • Devices can request and replt to requests.
50
Q

What is the difference between a connection-oriented and a connectionless protocol?

What is an example of each?

A
  • A connection-oriented protocol has a formal connection setup and close.
  • TCP is connection-oriented.
  • A connectionless protocol has no formal open or close to the connection.
  • UDP is connectionless.
51
Q

What is Telnet?

A

Telecommunication Network

  • Allows you to login to devices remotely and gain text-based console access.
  • Its communication is in-the-clear (non-encrypted), including the username and password. Therefore it is not a secure option.
52
Q

What is SSH?

A

Secure Shell

Looks and acts the same as Telnet, but it all communication is secure (encrypted).

53
Q

What port does this protocol use?

SFTP

A

TCP 22

54
Q

What is TFTP?

A

Trivial File Transfer Protocol

  • A very simple file transfer application. Read and write files.
  • No authentication, no encryption.
55
Q

What is SNMP?

A

Simple Network Management Protocol

Gathers metrics from network devices.

Queries and receives data.

56
Q

What are the features and differences between versions of SNMP?

A

SNMPv1
• structured tables
• no encryption

SNMPv2
• data type enhancements
• bulk transfers (can request and receive a lot of information)
• still no encryption

SNMPv3
• message integrity
• authentication
• encryption

57
Q

What is SIP?

A

Session Initiation Protocol

  • Used for Voice over IP (VoIP) control
  • Sets up and manages VoIP sessions (call, ring, hang up)
  • Also extends voice communication by adding video conferencing, instant messaging, file transfer, and other applications.
58
Q

What is LDAP?

A

Lightweight Directory Access Protocol

Allows you to store and retrieve information in a network directory, such as Active Directory.

Also has a secure version (LDAPS)

59
Q

What is H.323?

A

ITU Telecommunication H.32x protocol series

  • Used for Voice over IP (VoIP) control
  • Sets up and manages VoIP sessions (call, ring, hang up)
  • One of the earliest VoIP standards, but still in use today.
60
Q

What protocols are typically used for VoIP?

A

Both SIP and H.323

61
Q

What is FTPS?

A

File Transfer Protocol Secure

  • FTP over SSL
  • Also known as FTP-SSL
  • Not the same as SFTP
62
Q

What is the difference between FTPS and SFTP?

A

FTPS uses FTP over SSL.

SFTP is FTP over SSH.

63
Q

What is SFTP?

A

SSH File Transfer Protocol

• FTP using SSH.

64
Q

What is TFTP?

A

Trivial File Transfer Protocol

  • Very simple file transfer application. Just read file and write files.
  • No authentication or encryption.
  • Usually used to download configurations, such as for VoIP phones.
65
Q

What is SMTP?

A

Simple Message Transfer Protocol

The protocol used by mail servers to send e-mail to other mail servers.

Note, it is not involved in sending e-mail from a server to the client / end user.

66
Q

What is POP?

A

Post Office Protocol

Current version is POP3

Used by local e-mail clients to retrieve e-mail from a remote server over TCP/IP connection.

67
Q

What is NetBIOS?

A

Network Basic Input/Output System

Provides services allowing applications on separate computers to communicate over a LAN for file and printer sharing.

Uses port 139.

68
Q

What port does this protocol use?

NetBIOS

A

TCP 139

69
Q

What protocol uses this port?

TCP 139

A

NetBIOS

70
Q

What are common examples of connectionless protocols?

A

ICMP

UDP

IP

IPX

71
Q

What are common examples of connection-oriented protocols?

A

TCP

SSH

SSL