Re: fragmented packet

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

 



hi changli, the file is sendip_handler.c....but what's the line code
where you see that ''mtu'' is only the payload?
(i'm sure that it is so, but i wanna see it from source code!)

On Mon, Sep 6, 2010 at 2:09 AM, Changli Gao <xiaosuo@xxxxxxxxx> wrote:
> On Mon, Sep 6, 2010 at 8:04 AM, Nicola Padovano
> <nicola.padovano@xxxxxxxxx> wrote:
>> those 140 bytes are the __tcp payload__ so the payload of IP is: Ip
>> header +TCP payload = 180...
>> isn't it?
>
> After checking the code of hping, I find the 'mtu' parameter of hping
> is the payload of a IP packet.
>
> So the packet you captured should be 20iphdr + 20tcphdr + 140data,
> 20tcphdr + 140data == 160("mtu" of hping), no fragmentation is needed.
>
> --
> Regards,
> Changli Gao(xiaosuo@xxxxxxxxx)
>



-- 
Nicola Padovano
e-mail: nicola.padovano@xxxxxxxxx
web: http://npadovano.altervista.org
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux