TCP applications Flashcards

1
Q

What is the six step three way TCP handshake

A

To open - SYN, SYN ACK, ACK (Client, server, client)

To close - FIN, FIN ACK, ACK (server, client, server)

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

What is NTP

A

Network time protocol is responsible for synchronising computers across a network. This is used in things like kerberos and other security measures to ensure authenticity.

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

What is an application of TFTP?

A

Trivial file transfer protocol is a lightweight protocol commonly used when interfacing with hardware such as routers. It is not for use across the internet due to its insecure nature.

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

What is ICMP and an application of it

A

Internet control management protocol is a lightweight protocol that lacks the major overhead that TCP/UDP tends to have, making it useful for router advertisements and commands like ping. It’s a lightweight layer 3 protocol.

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

What is a firewall

A

A device or software that filters packets between two devices

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

What is IGMP and an application of it

A

Internet group management protocol is used to set up multi-casting.

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

What is multi-casting?

A

When a group of computers consent to receiving the same packets and data by sharing an IP address between devices. This ranges from 224.0.0.x-239.255.255.255

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

What is the range of well-known ports

A

0-1023

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

What is the range of registered ports

A

1024-49151

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

What is the range of ephemeral/dynamic ports

A

49151-65535

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

What is a socket and endpoint

A

Endpoint and socket data is the info stored about a communication partner during a session. This includes IP, ports, TCP/UDP, etc. You see this information when you type netstat commands.

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

What are the four switches to know for netstat

A

anob (lol)

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

What does netstat -a do

A

Shows open and active ports

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

What does netstat -b do

A

Shows application responsible for the session

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

What does netstat -o do

A

Shows process ID

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

What does netstat -n do

A

displays addresses and ports in numerical form

17
Q

What are the ports for Telnet/SSH

A

SSH 22

Telnet 23

18
Q

What are the ports for POP3, IMAP and SMTP

A

POP 110
IMAP 143
SMTP 25

19
Q

What does a relational database do

A

Focuses on potential relations between data entries

20
Q

What is a query language

A

They extract and organize data from databases

21
Q

What is passive FTP, why is it necessary and how does it work

A

FTP works by sending info on port 21 and receiving on 20
Sending info on port 21 opens up that port for responses, but the info comes back on port 20, which is then denied by your router as it counts as unsolicited information.
Passive FTP works by:
>Sending FTP server info from client
>Server sends random port number back on port 21
>Client then sends data out on the port given by the server
>FTP transaction then takes place using that port, as the client has initiated the session by sending out data on that port and thus can now receive info on that port also.

22
Q

What are the ports for DNS, DHCP and TFTP

A

DNS 53
DHCP 67/68
TFTP 69

23
Q

What is the port for NTP

A

123