TCP/IP: Difference between revisions

Content deleted Content added
 
(6 intermediate revisions by the same user not shown)
Line 13:
* Total length field = 16 bytes
* Therefore Max Packet length = 2<sup>16</sup>-1= 65535
* Fragment offset is required to use 13 bits, it takes away 3 bits, so it can only index every 8th (2^3) byte, so the indices were for 8-byte chunks. THUS the 8 * Fragment Offset to calculate the actual byte-offset of each fragment.
 
<br />
 
Line 109:
* Only Data in a datagram is fragmented. Header is never fragmented.
* Options are in a TLV format which can be max 40 Bytes in length.
[Type][Length][Value]
* Type field is 1 Byte & Length field is also 1 byte in length.
* Options field may or may not be copied into each fragment.
* Copy Options filed into a Fragment is based on the first bit of Type filedfield.
1st bit = 0 ==> Copy options in 1st fragment only
1st bit = 1 ==> Copy options in all fragments
 
* Fragmented Packet Analysis:
Line 348 ⟶ 349:
- Data is delivered to the process in order
* Lost Segment
- ReceiverReceive data in other segmentsegments in its buffer but leaves a gap to indicate non continuity in the data
- Receiver immediately sends an acknowledgment displaying the next byte it expects
- Segment retransmitted after RTO or after 3 duplicate Acks.
Line 703 ⟶ 704:
|HTTP
|TCP
|-
|88
|Kerberos
|TCP,UDP
|-
|110
Line 721 ⟶ 726:
|-
|161
|SNMP (Poll)
|UDP
|-
Line 738 ⟶ 743:
|443
|HTTP over SSL
|
|-
|445
|SMB
|
|-