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

21
Q

TCP/23

22
Q

TCP/993

23
Q

TCP/995

24
Q

TCP/110

25
TCP/143
IMAP
26
UDP 67, 68
DHCP
27
What port does DHCP use?
UDP/67 - server | UDP/68 - clients
28
UDP/69
TFTP
29
TFTP uses what port
UDP/69
30
RDP uses what port
TCP/3389
31
NTP uses what port?
UDP/123
32
UDP/123
NTP
33
SIP uses what port
5060, 5061 TCP or UDP
34
5060/TCP
SIP
35
5061/TCP
SIP
36
TCP/445
SMB
37
Difference between LDAP, SMB?
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
Difference between LDAP, SMB?
Lightweight Directory Access Protocol Server Message Block
39
TCP/389
LDAP
40
LDAPS uses what port
TCP/636
41
TCP/636
LDAPS
42
H.323 uses what port?
TCP/1720
43
TCP/1720
H.323
44
Difference between H.323 and SIP?
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
Explain the difference between the SNMP versions.
SNMPv1 = unencrypted, small structured tables. SNMPv2 = unencrypted, bulk transfers. SNMPv3 = encryption, authentication, integrity.
46
Explain the difference between the SNMP versions.
SNMPv1 = unencrypted SNMPv2 = unencrypted SNMPv3 = encryption, authentication
47
Why is Telnet still useful today excluding legacy systems?
It is supported by almost every sever; it can be used to verify if servers are listening to a particular port
48
NETBIOS uses what port?
TCP/139
49
TCP/139
NETBIOS