The Presentation contains slides describing the details of IPv4 Header Format
Size: 14.31 MB
Language: en
Added: Sep 06, 2019
Slides: 35 pages
Slide Content
IPv4 Header Deconstruction Pouyan Zamani
Sample Packet
Version
IHL (Internet Header Length) * 4 =in bytes
ToS (Type of Service)
ToS (Type of Service) 1000: Minimize delay 0100: Maximize throughput 0010: Maximize reliability 0001: Minimize monetary cost 0000: Normal service RFC 1349 > Obsolete! 11: Congestion Experienced 10: ECN Aware 01: ECN Aware 00: No ECN RFC 3168 > Newer!
ToS (Type of Service)
IP Datagram Length (Total Length)
IP ID (Identification)
Flags (3 bit)
Flags (3 bit) DF (Do not Fragment) : 0 means allow fragmentation; 1 means do not allow fragmentation . 0 : Reserved, must be zero. MF (More Fragments) : 0 means that this is the last fragment of the datagram; 1 means that additional fragments will follow.
Fragmentation Offset (13 bit) * 8 = in bytes
Fragmentation
Fragmentation
Fragmentation
Fragmentation
Fragmentation
Fragmentation
Fragmentation
Fragmentation
Questions About Fragments
Questions About Fragments
Questions About Fragments
IDS/IPS Challenges for Fragmentation
Ping of Death
Teardrop
TTL (Time to Live)
Protocol
Protocol ( https://www.eit.lth.se/ppplab/IPHeader.htm#Protocol ) Protocol Description Reserved 1 Internet Control Message Protocol (ICMP) 2 Internet Group Management Protocol (IGMP) 3 Gateway-to-Gateway Protocol (GGP) 4 IP (IP encapsulation) 5 Stream 6 Transmission Control Protocol (TCP) 8 Exterior Gateway Protocol (EGP) 9 Private Interior Routing Protocol 17 User Datagram Protocol (UDP)
Header Checksum
Header Checksum 4500 0073 0000 4000 4011 b861 c0a8 0001 c0a8 00c7 0035 e97c 005f 279f 1e4b 8180 4500 + 0073 + 0000 + 4000 + 4011 + c0a8 + 0001 + c0a8 + 00c7 = 2479C 2 + 479C = 479E (if another carry is generated by this addition, another 1 must be added to the sum) 479E > 1st complement (Binary) = B861