Ticket #274 (new Feature Request)

Opened 18 months ago

Last modified 18 months ago

Finding lines where redefs occurred

Reported by: seth Owned by:
Priority: Normal Milestone:
Component: Bro Version: 1.5.1
Keywords: Cc:

Description

First, support would need added to Bro for finding all of the lines and scripts where redef's against a certain variable occurred. I would also like to see this support added through broctl.

Here's the scenario...

[BroControl] > find redef ignore_checksums
/usr/local/bro/share/bro/bro.init:360 const ignore_checksums = F &redef;
/usr/local/bro/share/bro/site/local.bro:133 redef ignore_checksums = T;

This is relating to a discussion I had about trouble people have with starting with Bro and the gotcha's encountered from enabling the cluster support. There are so many redef's happening and potentially without the user realizing it.

Change History

comment:1 Changed 18 months ago by robin

More generally, we could do a "config grep" that greps through all scripts that are loaded by the current config.Would then, e.g., also work for events.

Note: See TracTickets for help on using tickets.