TCP and UDP ports Flashcards

1
Q

What are the ways to direct information?

A

TCP

UDP

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

What is a socket in networking?

A

A port number combined with an IP address

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

Which port and transfer protocol is used for HTTP?

A

TCP

Port: 80

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

Which port and transfer protocol is used for HTTPS?

A

TCP

Port: 443

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

Which port and transfer protocol is used for DNS?

A

TCP and UDP

Port: 53

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

Which port and transfer protocol is used for Telnet?

A

TCP

Port: 23

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

Which port and transfer protocol is used for SSH?

A

TCP

Port: 22

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

Which port and transfer protocol is used for FTP?

A

TCP

Port: 21

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

Which port and transfer protocol is used for TFTP?

A

UDP

Port: 69

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

Which port and transfer protocol is used for SNMP?

A

UDP

Port: 161

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

Which port and transfer protocol is used for SMTP?

A

TCP

Port: 25

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

Which port and transfer protocol is used for POP3?

A

TCP

Port: 110

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

Which port and transfer protocol is used for IMAP?

A

TCP

Port: 143

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

Which port and transfer protocol is used for RDP?

A

TCP

Port: 3389

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

Which port and transfer protocol is used for SMB?

A

TCP
Ports: 137-139, 445
Uses UNC

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

Which port and transfer protocol is used for AFP?

A

TCP

Ports: 427, 548

17
Q

Which port and transfer protocol is used for LDAP?

A

TCP or UDP
Port: 389
Enables SSO

18
Q

What does TCP stand for?

A

Transmission control protocol

19
Q

What does UDP stand for?

A

User datagram protocol

20
Q

What are the features of TCP?

A
Reliable
Connection-oriented
3 way handshake
Sequence numbers
Window size
Ack (acknowledgement)
21
Q

What are the features of UDP?

A

Unreliable
Connectionless
Simple header

22
Q

What is the command to see listening ports in windows?

A

netstat -an | find /i “listening”

23
Q

What is the command to see listening ports in osx?

A

lsof -iTCP -sTCP:LISTEN -n -p

24
Q

What is the command to see listening ports in linux?

A

netstat -l