Network Flashcards
[Network]
Where is the config file for SSH?
/etc/ssh/sshd_config
[Network]
What is a wildcard certificate?
a type of SSL/TLS certificate (using a ‘*’) that secures a domain and all of its subdomains with a single certificate.
[Network]
What command would you use to show listening ports?
$ ss -tuln
OR
$ netstat -tuln
[Network]
TCP vs UDP
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)
[Network]
What command to check what ports are open?
$ netstat -tulnp
$ ss -tulnp
[Network]
What port does Apache run on?
Does it use TCP or UCP?
8080
http= port 80 / https= port 443
typically uses TCP
[Network]
What port does DNS run on?
Does it use TCP or UCP?
port 53
Both TCP & UCP
Usually UCP prioritizes speed & efficiency but TCP for large files
[Network]
What port does NFS run on?
Does it use TCP or UCP?
port 2049
Both TCP & UCP
[Network]
What port does SSH run on?
Does it use TCP or UCP?
port 22
[Network]
Where is the config file for SSH?
/etc/ssh/sshd_config