[Click] ipreassembler problem

Nicholas Weaver nweaver at ICSI.Berkeley.EDU
Wed Sep 19 11:56:19 EDT 2007


On Wed, Sep 19, 2007 at 05:42:31PM +0200, Marcin composed:
> Ok I tried, but this time output trace is empty. While input trace 
> contains several fragmented packets.

> --
> FromDump(in.dmp, STOP true) ->MarkIPHeader -> IPReassembler -> 
> ToDump(out.dmp)"

You need to tell MarkIPHeader how far its off (14 for ethernet).

Also, as was pointed out, you need to strip the non-IP packets too.

> 
> Thanks for help,
> Regards,
> Marcin
> Nicholas Weaver pisze:
> > On Wed, Sep 19, 2007 at 05:20:35PM +0200, Marcin composed:
> >   
> >> 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.
> >>     
> >
> > CheckIPHeader or MarkIPHeader is needed before the IPReassembler.
> >
> >
> >
> >   
> >> 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
> >>     
> >
> >   
> 
> 
> 
> ----------------------------------------------------------------------
> Pokaz innym kto tu rzadzi!
> Kliknij >>> http://link.interia.pl/f1bbc
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

-- 
Nicholas C. Weaver                               nweaver at icsi.berkeley.edu
     This message has been ROT-13 encrypted twice for higher security.


More information about the click mailing list