Re: IP Defragmentation

From: Jan Engelhardt
Date: Sat Mar 10 2007 - 18:47:00 EST



On Mar 8 2007 11:45, Kanhu Rauta wrote:
>
> 1>in case of fragmention i am getting only one packet at the
> hook,While analyzing the ip header it says this is the assembled
> packet(skb->len=1528,offset=0,MF=0).

conntrack assembles defragmented packets.

> While dumping the data(for 0 to 1528 print skb->data[i]) it shows that
> only 1472 bytes are valid data and rest 28 bytes are something
> garbage.

Have you forgotten to use skb_header_pointer()?



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