Chapter 9 - TCP/IP Applications Flashcards

1
Q

What does TCP over IP include

A

HTTP
DHCP
POP
… 500 other terms over tcp/udp & ICMP over IP

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

Define a session

A

Any single communication between a computer and another computer

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

What happens when an URL is entered

A

TCP Three Way Handshake
1. A SYN packet is ent to the Web Server.
2. Assuming the server has recieved it returns a SYN,
ACK packet
3. Client sends ACK and requests web page

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

How is a session closed

A

Server sends FIN packet and Client sends ACK to close session

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

Explain how DHCP works

A
Ports 67 (server) and 68 (DHCP clients)
Uses a connectionless packet, if server doesn't respond it sends again
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is NTP/SNTP used for

A

Ports 123

Used to synchronize the clocks of devices on a network

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

What is TFTP used for

A

Port 69

Enables you to tranfer files from one machine to another. Common to send files via LAN

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

What is ICMP used for

A

used bynetwork devices, includingrouters, to send error messages and operational information indicating. This is the protocol used by ping.

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

What is the ‘ping of death’

A

Malicious users will send malformed ping packets to a destination causing the computer to crash.. now a fixed issue

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

Define IGMP

A

Internet Group Management Protocol enables routers to communicate with hosts to determine a ‘group’ membership
Uses a particular multicast where those who wish to receive a particular multicast must tell their upstream router/switch they want to receive. They are then added to the IGMP group

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

How big is a port number

A

16 bit

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

What is the range of the well known port numbers

A

0 to 1023, reserved for specific TCP/IP applications

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

Define Ephemeral Port numbers and the range

A

1024-5000 (varies by OS) + 49512-65535

A number is generated at random within this range to be used as the Web clinet’s source port number

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

What are the important (3) ranges to remember

A

0-1023 = well known ports
1024-49151 = Registered ports
49512 - 65535 = Dynamic or Private ports

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

Define Socket/Endpoint

A

Terms for the session information (IP address and port number) stored on a single computer

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

Define Socket Parts / Endpoints

A

Terms for the connection data stored on two computers about the same connection

17
Q

Define connection / session

A

Terms for the whole interconnection

18
Q

What is a open port /listening port

A

A socket prepared to respond to any IP packets sent its way

19
Q

How does one use the netstat switches

A
  • a = all used ports
  • n = raw port numbers & IP
  • o = process ID
  • b = name of process
20
Q

Define XML

A

Extensible Markup Language provides the basic format for everything from RSS feeds to Office documentse

21
Q

Define NNTP

A

Network Nets transfer Protocol used to access USENET

Port 119

22
Q

Define USENET

A

in the early days of internet it was used to swap info, ideas, and files.

23
Q

Define URL

A

Uniform resource locator

24
Q

Define TLS

A

Transport Layer Security is being used as a replacement for SSL

25
Q

What was Telnet used for

A

connecting to different mainframes outside the local network. Connect via the command line

26
Q

What features does IMAP4 have

A

Enables you to search through messages on the email server to find specific keywords and select the messages you want to download onto your machine. Also implements folders.

27
Q

Explain the use of FTP

A

Using port 21 (outbound) and 20 )(requests) for old active connections and 21 only for passive connections. Anonymous sites mean anyone can log on

28
Q

What issue does FTP have with NAT

A

Port 20 won’t be initiated and NAT won’t know where to send the packet. Firewalls will see this as evil.
Passive connections will receive a random port number from server so they work with NAT