Transport layer services Flashcards

1
Q

What is port 80?

A

HTTP

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

What is port 443?

A

HTTPS

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

What is port 21?

A

FTP - control

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

What is port 20?

A

FTP - Data

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

What is port 22?

A

SSH (secure shell)

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

What is port 23?

A

Telnet. Used for communication systems and remote maintenance of routers and switches

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

What is port 25?

A

SMTP (simple mail transfer protocol)
Used to send and receive email. But due to spam and DDoS attacks, it’s now mainly used to transfer emails from one server to another.

Other SMTP ports are; 465, 587 and 2525. 587 being the preferred one as it offers better authentication and more easily identifiable traffic. Making it more secure.

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

What is port 53?

A

DNS (domain name system) to get ip address from a domain name like www.google.com. The DNS server would get the IP address for the Google server and send it back to the host. Then the data packet would be encapsulated with the destination IP address of the Google server and port 80 of the server to access its HTTP web file, then a session is created by the TCP protocol to continue communication between Host and Web server.

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

What is port 67?

A

DHCP server (Dynamic Host Configuration Protocol) the protocol used to assign private IP addresses and subnet masks and default gateway to hosts on that network.

Port 67 is the server for this protocol. So it creates and manages this service.

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

What is port 68?

A

DHCP client. The recipient of the DHCP configuration. Receiving IP address etc from the DHCP servers port 67

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

What is port 69?

A

TFTP - Trivial File Transfer Protocol. Similar to FTP but not as secure. Used for saving router configurations, and downloading an Operating System.
It is faster but has no authentication so should only be used for transferring files within the Local Area Network

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

What is a socket and socket pair?

A

A socket is the IP address and Port number in a data packet(aka segment)

A socket pair is both the source and destination IP addresses and Ports on the data packet

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

What is the “netstat” command line used for?

A

Netstat command on the terminal displays all the TCP connections with ports from Host machine and port to what web address or IP address plus the protocol being transmitted like HTTP

When used with the “-n” option you can receive the numerical values of for example the IP address and Port number instead of the website address and the protocol name(like HTTP)

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