[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bro
Subject:    Re: [Bro] true global functions/tables/variables
From:       Christoph_Göldi <goeldich () ee ! ethz ! ch>
Date:       2005-02-03 17:22:17
Message-ID: 972133CDE66F89B642CFDF8D () [192 ! 168 ! 0 ! 2]
[Download RAW message or body]

Hi

sorry, your right. i messed up with the @load commands.
i didn't realize that the order of loading files and defining
functions is important.

thanx
christoph


--On Donnerstag, 3. Februar 2005 15:57 +0000 Christian Kreibich
<christian@whoop.org> wrote:

> Hi Christoph,
> 
> I'm far from a Bro language guru but I don't think that's true. Just as
> an example, function service_name() is defined in conn.bro but used in
> conn.bro and login.bro. Are you @load'ing things correctly? I hope I'm
> not just missing your point ...
> 
> On Thu, 2005-02-03 at 11:24 +0100, Christoph Goeldi wrote:
>> hi everybody
>> 
>> today i noticed that i can't define functions, tables or variables and 
>> use it different policy files. it only worked, after i placed these 
>> things in the bro.init file.
>> i think it is a drawback if it's impossible to implement a certain 
>> functionality with a bunch of files and use the same functions, tables 
>> etc. in them.
>> if an algorithm is a bit complex you have no chance to implement it with 
>> a nice structure...
>> 
>> thanx for any help or comments
>> christoph
> 
> Cheers,
> Christian.
> -- 
> ________________________________________________________________________
>                                           http://www.cl.cam.ac.uk/~cpk25
>                                                     http://www.whoop.org
> 
> 
> _______________________________________________
> Bro mailing list
> bro@bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic