[Bro] Fixing deprecated scripts

Aashish Sharma asharma at lbl.gov
Fri Jun 12 09:58:01 PDT 2015


Sorry for catching up on this late. 

I take you got script working now. If not, let me know, I will send a revised version. 

Thanks, 
Aashish 

On Thu, Jun 11, 2015 at 06:41:51AM -0600, James Lay wrote:
> 
>    On Wed, 2015-06-10 at 20:55 -0600, James Lay wrote:
> 
>      On Wed, 2015-06-10 at 20:07 -0500, Chris Walsh wrote:
> 
> >From [1]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 <[2]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
>      why:
>      global mail_links = bloomfilter_basic_init(0.00000001, 10000000) ;
>      causes this issue?  This worked just fine with 2.3.2.  Thank you.
>      James
> _______________________________________________
> Bro mailing list
> [3]bro at bro-ids.org
> [4]http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
> 
>    Looks like this showed up last year:
>    [5]http://mailman.icsi.berkeley.edu/pipermail/bro/2014-October/007662.html
>    Is there something I need to do on my end?  Thank you.,
>    James
> 
> References
> 
>    1. https://www.bro.org/documentation/beta/NEWS.bro.html
>    2. mailto:jlay at slave-tothe-box.net
>    3. mailto:bro at bro-ids.org
>    4. http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>    5. http://mailman.icsi.berkeley.edu/pipermail/bro/2014-October/007662.html

> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro


-- 
Aashish Sharma	(asharma at lbl.gov) 				 
Cyber Security, 
Lawrence Berkeley National Laboratory  
http://go.lbl.gov/pgp-aashish 
Office: (510)-495-2680  Cell: (510)-612-7971


More information about the Bro mailing list