[Bro] Fixing deprecated scripts

James Lay jlay at slave-tothe-box.net
Wed Jun 10 19:55:38 PDT 2015

On Wed, 2015-06-10 at 20:07 -0500, Chris Walsh wrote:

> From https://www.bro.org/documentation/beta/NEWS.bro.html, under Deprecated Functionality:
> 	• split: use split_string instead.
> I just did this in another script  2 minutes before your mail hit my mailbox :^)
> cw
> On Jun 10, 2015, at 7:02 PM, James Lay <jlay at slave-tothe-box.net> wrote:
> > Topic says it...I have the excellent smtp-embedded-url-bloom.bro which I use almost every day for looking up links.  Upon upgrading to 2.4 I see:
> > 
> > error in /usr/local/bro/share/bro/site/./smtp-embedded-url-bloom.bro, line 40: value used but not set (bloomfilter_basic_init)
> > warning in /usr/local/bro/share/bro/site/./smtp-embedded-url-bloom.bro, line 73: deprecated (split)
> > 
> > I read in the release notes that split was going away.  So now, what do I use to fix it?  I'm including this in the email as I'm not able to find it online.  Thank you.

Thanks Chris and Vlad, changing split_string fixed the warning, but did
not fix the error at line 40 which halts bro from running.  Any reason

global mail_links = bloomfilter_basic_init(0.00000001, 10000000) ;

causes this issue?  This worked just fine with 2.3.2.  Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150610/b8371d43/attachment.html 

More information about the Bro mailing list