[Click] ipreassembler problem
Marcin
buscin at interia.pl
Thu Sep 20 11:10:39 EDT 2007
At first, thanks for your advices. One more thing: your version works,
except that reassembled packet in output trace lacks 22 last bytes of
the payload. Any idea what could be the problem?
Regards,
Marcin
Eddie Kohler pisze:
> IPReassembler requires the IP header annotation.
>
> The easiest way to make sure that a FromDump element produces IP
> packets is with the FORCE_IP argument.
>
> FromDump(in.dmp, STOP true, FORCE_IP true) -> IPReassembler ->
> ToDump(out.dmp)
>
> THis will work for many different types of pcap trace files, not just
> Ethernet encapsulation.
>
> Note that reassembled packets will have no MAC headers at all. The
> dump will get very confused if you mix no-MAC with MAC packets. You
> probably want this.
>
> FromDump(in.dmp, STOP true, FORCE_IP true)
> -> StripToNetworkHeader
> -> IPReassembler
> -> ToDump(out.dmp, ENCAP IP)
>
> Eddie
>
>
> Marcin wrote:
>> Dear All,
>>
>> I need to take all fragmented packets from the trace file reassemble
>> them and output to another trace file. I tried to do it this way:
>>
>> FromDump(in.dmp, STOP true) -> IPReassembler -> ToDump(out.dmp)"
>>
>> I receive this error message:
>>
>> click: ../elements/ip/ipreassembler.cc:225: virtual Packet*
>> IPReassembler::simple_action(Packet*): Assertion `iph' failed.
>>
>> Any tips would be appreciated.
>>
>> Regards,
>> Marcin
>>
>>
>>
>> ----------------------------------------------------------------------
>> Generator zabawnych dowodow!
>>
>> Kliknij >>> http://link.interia.pl/f1b96
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
----------------------------------------------------------------------
Bedac w toalecie korzystala z ...
>>> http://link.interia.pl/f1bd8
More information about the click
mailing list