Internet Protocol Anatomy Flashcards

1
Q

IP Row 1 Contents

A

Version
IHL
TOS
Total Length

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

Version

A

Row: 1
Purpose: Defines the version of IP - IPv4/IPv6
Size: 4b

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

IHL

A

Row: 1
Purpose: Defines the header length
Meaning: Internet Header Length
Size: 4b

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

TOS

A

Row: 1
Purpose: Defines the Type of Service of the packet
Types: Minimize delay, maximize throughput, maximize reliability, minimize monetary cost
Size: 1B

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

Total Length

A

Row: 1
Purpose: Defines total length of data gram (including data) or the fragment
Extra: Max value is 65,535 or 0xFFFF
Size: 2 B

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

Row 2 content

A

offset: 4-7
Identification, IP flags, Fragment offset

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

Identification

A

Row: 2
Purpose: Uniquely identifies each packet.
Extra: Critical for reassembling fragmented pack
Size: 1 B

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

IP flags

A

Row: 2
Purpose: Defines whether the packet is fragmented(M) or not (D)
Extra: If this field is manipulated, it can be used to evade IDS and firewall
Size: 3b

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

Fragment offset

A

Row: 2
Purpose: Used when packets are fragmented. Defines where the packet should reassemble from the beginning of the IP header.
Size: 13b

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

Row 3 contents

A

TTL, Protocol, Header Checksum

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

TTL

A

Row: 3
Meaning: Time-to-live
Purpose: Defines how many hops across the internet before the packet expires.
Extra: Varies by the operating system, making it helpful to identify the sender.
Size: 1B

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

Protocol

A

Row: 3
Purpose: Defines what protocol is being used with IP. E.g. TCP – 6, ICMP – 1, UDP – 17
Size: 1B

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

Header checksum

A

Row: 3
Purpose: Error checking field—calculates the check sum to determine the integrity of the data in the header
Size: 2B

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

Rows 4 and 5 contents

A

Row 4: Source address
Row 5: Destination address

Extra: Arguably, the most important part of the header

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

Row 6 contents

A

Options: Variable in length and its use is optional.
Padding: Used to fill out the remaining bits and bytes of the header if necessary.

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