TCP Packet Header Flashcards

1
Q

TCP Packet Header

A

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|————-Source Port ———————- | ————————Destination port ———————-|
|——————————————- Sequence Number —————————————————–|
|————————————— Acknowledgment Number ———————————————–|
|Offset|Reserved|—-TCP Flags ———–| — Window —————————————————–|
/ C E U A P R S F \

|———————Checksum—————–| ———-Urgent Pointer ————————————–|
|————————————–TCP Options (Variable length, optional) ——————————|

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

Source Port =

A

The (software) port number of the source host. (16 bits)

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

Destination Port =

A

The (software) port number of the destination host. (16 bits)

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

Sequence Number =

A

The sequence number of the first data octet in this segment. (32 bits) (Not used when the SYN flag is set.)

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

Acknowledgement Number =

A

The sequence number of the next data octet to be sent by the source. This field is used when the ACK flag is set. (32 bits)

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

Data Offset =

A

The number of 32 bit words in the TCP Header.

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

Reserved =

A

These bits should be set to 0.

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

Flags (Contains control information used for connection establishment)
0 1 2 3 4 5
URG ACK EOL RST SYN FIN

A

Flags (Contains control information used for connection establishment)
0 1 2 3 4 5
URG ACK EOL RST SYN FIN

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

URG =

A

The Urgent Pointer field is significant

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

ACK =

A

The Acknowledgement field is significant

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

EOL =

A

End of Letter

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

RST =

A

Reset the connection

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

SYN =

A

Synchronize sequence numbers

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

FIN =

A

No more data from the sender

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

Window =

A

The maximum number of octets which the sender will accept. (16 bits)

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

Checksum =

A

This checksum covers both the header and data portion of the TCP packet.

17
Q

Urgent Pointer =

A

Points to the first urgent data byte in the packet.

18
Q

Options (Variable Length, 0-44 bytes) =

A

Used to specify various TCP options.

19
Q

Padding =

A

As required to make the header length a multiple of 32 bits.