[Bro] Small bug in TCP_Rewriter
Ruoming Pang
rpang at cs.princeton.edu
Fri Jul 15 16:32:54 PDT 2005
Yes, thanks! This is a bug. And the fix looks right, too.
Ruoming
On Jul 15, 2005, at 5:01 PM, Martin Casado wrote:
> Hi,
>
> This may already be fixed but I believe there is a bug in the TCP
> rewriter. I'm using
> bro 0.9a10.5.
>
> File TCP_Rewriter.cc, Line 710:
>
> ASSERT(next_packet->AppendData(data, left));
> If the ASSERT preprocessor conditional isn't enabled, the statement
> isn't included in the
> translation unit and using -A for re-writing doesn't include any
> payload (only headers) :(
>
> perhaps ..
>
> if(!next_packet->AppendData(data, left))
> { ASSERT(0); }
>
> Plz. let me know if this isn't the appropriate forum for submitting
> bugs.
>
> cheers,
> .martin
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
More information about the Bro
mailing list