Re: Don't use IP packets with payload < 8 octets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Jan 2002, David S. Miller wrote:
>    From: Morten Schlaeger <morten@ee.tu-berlin.de>
>    Date: Wed, 09 Jan 2002 10:18:20 +0100
> 
>    as far as I remember the IP RFC, the smallest IP fragment has a length
>    of 21 octets
> 
> Page 24 of RFC791 states that IP fragments must be a multiple
> of 8 octets in length in their data portion.  This is because
> fragments are measured in units of 8 octets.

More specifically, the RFC says:

If an internet datagram is fragmented, its data portion must be
broken on 8 octet boundaries.

AFAICS, this is not quite the same as saying every fragment's data portion
must be multiple of 8?

One could say that every fragment with More Fragments = 1 complies to
this.  But the last part is somewhere between 1-8 bytes, right?  RFC791
says nothing about padding it, but it may be implied?

Something I've missed?

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux