Chapter 9: TCP/IP Applications Flashcards

1
Q

Describe the TCP three-way handshake.

A

client -> synchronize -> server

client acknowledge -> server

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

Describe how a TCP session closes.

A

client acknowledge>server
client ->finished acknowledge -> server
client<- server

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

What ports does DHCP work on?

A

port 67 is used to send data to server

port 68 servers use to send data to DHCP clients

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

What port does NTP/SNTP use?

A

port 123

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

Describe TFTP.

A

uses UDP, no data proection

-uses port 69

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

Describe ICMP.

A

Layer 3 to deliver connectionless packets

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

Describe IGMP

A

Internet Group management protocol
used for multicasting
-particular multicast assigned to a 224.0.0.0/4
-hosts want to receive tell upstream router that they do.

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

What is a port number?

A
  • 16 bit value between 0 and 65535
  • 0 to 1023 are well known port numbers and reserves
  • 1024-49151: registered ports
  • 49,152 -65635: dynamic or private port numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a socket/endpoint?

A

session that is stored in RAM

-netstat -n shows you the endpoint

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

what command shows all listening ports?

A

netstat -an

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

What command shows the process id

A

netstat -ano

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

what tels you the name of the running program

A

netstat -G

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

What port does HTTPS use?

A

443

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

What is TLS

A

Transport Layer Security

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

What port does telnet use?

A

23, TCP

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

Describe rlogin.

A
  • can configure to login automatically interactively
  • only connects to unix hosts
  • port 513
17
Q

describe remote shell(RSH).

A

single commands to remote server

  • easily integrated into a script
  • port 514
18
Q

describe Remote Copy Protocol(RCP)

A
  • copy files to and from remote server
  • can be used in scripts
  • port 514
19
Q

Describe SMTP.

A
  • used to send email
  • uses port 25
  • used by clients to send messages
20
Q

Describe POP3

A
  • receive email from SMTP servers

- port 110

21
Q

Describe IMAP4.

A
  • Retrieves email from email server
  • port 143
  • can search through messages
  • folders.
22
Q

Describe sendmail.

A

-used on Linux and UNIX and only uses SMTP

23
Q

Describe Microsoft Exchange Server.

A
  • only runs on windows

- SMTP and POP3 in one package.

24
Q

Describe FTP.

A

uses ports 21 and 20

  • not secure because data transfers aren’t encrypted
  • passive FTP only uses port 21
25
Q

Describe active FTP

A

-doesn’t work if you use NAT

26
Q

Describe passive FTP

A
  • server doesn’t use port 20.
  • client sends request on port 21
  • server sends back random port # tells client which port its listening to for data requests.
  • client initiates all conversations, NAT router knows where to send the packet.
  • client needs to expect this incoming data.
27
Q

What port does HTTP use?

A

-TCP, port 80

28
Q

What port does HTTPS use?

A

TCP, port 443,

29
Q

What port does telnet use?

A

TCP port 23

30
Q

What port does SSH use?

A

TCP, port 22

31
Q

What port does SMTP use?

A

TCP port 25

32
Q

What port does POP3 use?

A

TCP port 110

33
Q

What port does IMAP4 use?

A

TCP port 143

34
Q

What port does FTP use?

A

TCP port 20/21

35
Q

What port does TFTP use?

A

UDP port 69