[Bro] new_packet, BuildHeader and IPv6

Robin Sommer robin at icir.org
Fri Jul 20 11:56:16 PDT 2007


On Thu, Jul 19, 2007 at 14:09 -0400, you wrote:

> - This function is called in NetSessions::DoNextPacket just after a "if
> ( new_packet )" but this condition seems to be always false.
> Is there something to activate to make it work ?

Yes, it's true if a script is loaded which contains an event handler
for new_packet.

> "NetSessions::BuildHeader(const IP_Hdr* hdr)".

I'm not really familiar with the IPv6 code but this sounds right to
me.

Robin

-- 
Robin Sommer * Phone +1 (510) 931-5555 * robin at icir.org 
LBNL/ICSI    * Fax   +1 (510) 666-2956 *   www.icir.org



More information about the Bro mailing list