Girl Geekette dotNet

Where the Girl Ends and the Geekette Begins

Fragmentation of Datagrams

Fragmentation occurs if the IP must send a datagram that is large than is allowed by the receive window in the network layer. This process will break up a datagram into smaller packets and then it will be restored when received by the other end. This is a normal and very important process. Each packet is marked with a length, an offset and a more bit.

Length = Total length of the fragment
Offset - distance from the beginning of the original datagram
More bit = used to determine if there are other packets after that one. 1 indicates there is another packet which is part of that set. 0 indicates it is the last packet of the set.

IPID = 043C   Length = 3,600   Offset = 0

Fragmented (Normal)

More = 1
Len = 1,000
Offset = 0
     
  More = 1
Len = 1,000
Offset = 1,000
   
    More = 1
Len = 1,000
Offset = 2,000
 
      More = 0
Len = 600
Offset = 3,000

When the packets are manipulated so that they overlap (shown below) instead of following in order one after another (above) it can crash the computer. The teardrop attack is a good example of an exploit that will overlap packets. The packets can also be manipulated so that instead of overlapping, there is too much space between them as well.

Overlapping Fragment Attack

More = 1
Len = 1,000
Offset = 0
     
  More = 1
Len = 1,000
Offset = 500
   
        More = 0
Len = 1,000
Offset = 1,500
Permanent link to this post (228 words, 0 images, estimated 55 secs reading time)




Search: Cosmos | BlogPulse
Submit: Digg This | Shout this! | Slashdot
Bookmark: Del.icio.us | Furl It | Spurl | Tag!RawSugar | Simpy This! | Shadows Tag! | Blink It | My Web
GirlGeekteete dotNet Tags: , , , , , ,
Technorati Tags: , , , , , ,
No Comments »

Top of the Page Top of the Page




About the Geekette

I am a Computer and Network Technician. I love what I do for a living, as my work is also my hobby.

All of the technical information from the original Aleeya.net site became this site - GirlGeekette dotNet - and the remaining became what is now known as Aleeya dotNet. This site is where I store all of my notes related to computers and Technology so I may share it with others.

  Google


Web This site

Feeds

Validations

Ratings

Computer Links

Blog Links

Security Links

Geek Links

You Are Here

Archives

Powered by WordPress with a modified version of Ragiels Dream theme.

35 queries complete in 0.217 seconds.