Network Flashcards

1
Q

[Network]
Where is the config file for SSH?

A

/etc/ssh/sshd_config

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

[Network]
What is a wildcard certificate?

A

a type of SSL/TLS certificate (using a ‘*’) that secures a domain and all of its subdomains with a single certificate.

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

[Network]
What command would you use to show listening ports?

A

$ ss -tuln
OR
$ netstat -tuln

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

[Network]
TCP vs UDP

A

TCP is a 3 way handshake (ie Rsync: for task that require confirmation)
UDP is a 2 way handshake (ie netstat: quicker, & often used for streaming/gaming)

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

[Network]
What command to check what ports are open?

A

$ netstat -tulnp
$ ss -tulnp

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

[Network]
What port does Apache run on?
Does it use TCP or UCP?

A

8080

http= port 80 / https= port 443
typically uses TCP

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

[Network]
What port does DNS run on?
Does it use TCP or UCP?

A

port 53
Both TCP & UCP
Usually UCP prioritizes speed & efficiency but TCP for large files

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

[Network]
What port does NFS run on?
Does it use TCP or UCP?

A

port 2049
Both TCP & UCP

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

[Network]
What port does SSH run on?
Does it use TCP or UCP?

A

port 22

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

[Network]
Where is the config file for SSH?

A

/etc/ssh/sshd_config

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