1.1 Ports/Protocols Flashcards

1
Q

Define ICMP.

A

Internet Control Message Protocol, it is a layer 3 protocol encapsulated within IP used for network diagnostics and node recognition.

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

What port does SSH use?

A

TCP/22

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

What port does DNS use?

A

UDP/53

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

What port does HTTP use?

A

TCP/80

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

What port does HTTPS use?

A

TCP/443

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

What port does SMTP use?

A

TCP/25

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

What port does SFTP use?

A

TCP/22

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

What port does SNMP use?

A

UDP/161

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

What port does FTPS use?

A

TCP/21

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

What port does FTP use?

A

TCP/20

TCP/21

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

What are the difference between the two FTP ports?

A

TCP/20 (data port) is used for transferring data.

TCP/21 (control port) controls the working directory and other control procedures.

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

Who controls the data flow with UDP?

A

sender

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

Who controls the data flow with TCP?

A

receiver

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

What is the difference between FTPS, and SFTP?

A

SFTP uses SSH to tunnel FTP through TCP/22.

SFTP is FTP with a SSL/TLS layer through TCP/21.

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

What is the difference between SMTP, SNMP, and ICMP?

A

SMTP is simple mail transfer protocol, sends data from a client to a mail server or between mail servers. TCP/25. Layer 7.

SNMP is Simple Network Management Protocol, it gathers information from managed devices on an IP network. UDP/161. Layer 7.

ICMP is Internet Control Message Protocol, encapsulated within and considered a part of IP. Used by routers and NICs to send error and diagnostic information. Port-less. Layer 3.

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

What are two common commands that use ICMP?

A

Ping, uses ICMP’s echo request and reply ability

Traceroute, uses ICMP’s TTL ability.

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

UDP/53

A

DNS

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

TCP/25

A

SMTP

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

UDP/161

A

SNMP

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

TCP/22

A

SSH, SFTP

21
Q

TCP/23

A

Telnet

22
Q

TCP/993

A

IMAPS

23
Q

TCP/995

A

POPS

24
Q

TCP/110

A

POP3

25
Q

TCP/143

A

IMAP

26
Q

UDP 67, 68

A

DHCP

27
Q

What port does DHCP use?

A

UDP/67 - server

UDP/68 - clients

28
Q

UDP/69

A

TFTP

29
Q

TFTP uses what port

A

UDP/69

30
Q

RDP uses what port

A

TCP/3389

31
Q

NTP uses what port?

A

UDP/123

32
Q

UDP/123

A

NTP

33
Q

SIP uses what port

A

5060, 5061 TCP or UDP

34
Q

5060/TCP

A

SIP

35
Q

5061/TCP

A

SIP

36
Q

TCP/445

A

SMB

37
Q

Difference between LDAP, SMB?

A

Lightweight Directory Access Protocol, stores and retrieves information from a network directory such as users, devices, printers. (Active Directory). Port 389, Port 636.

Server Message Block, file and printer sharing between Windows systems. Port 445.

38
Q

Difference between LDAP, SMB?

A

Lightweight Directory Access Protocol

Server Message Block

39
Q

TCP/389

A

LDAP

40
Q

LDAPS uses what port

A

TCP/636

41
Q

TCP/636

A

LDAPS

42
Q

H.323 uses what port?

A

TCP/1720

43
Q

TCP/1720

A

H.323

44
Q

Difference between H.323 and SIP?

A

H.323 is an older dialing/signaling standard for VoIP. Sets up, maintains, terminates, calls. Port 1720.

SIP is the modernized alternative to H.323 with extended voice communication options such as file transfer and instant messaging. Port 5060/5061.

45
Q

Explain the difference between the SNMP versions.

A

SNMPv1 = unencrypted, small structured tables.

SNMPv2 = unencrypted, bulk transfers.

SNMPv3 = encryption, authentication, integrity.

46
Q

Explain the difference between the SNMP versions.

A

SNMPv1 = unencrypted

SNMPv2 = unencrypted

SNMPv3 = encryption, authentication

47
Q

Why is Telnet still useful today excluding legacy systems?

A

It is supported by almost every sever; it can be used to verify if servers are listening to a particular port

48
Q

NETBIOS uses what port?

A

TCP/139

49
Q

TCP/139

A

NETBIOS