[Bro] Question about packet-bricks

Asim Jamshed ajamshed at ICSI.Berkeley.EDU
Thu Mar 26 05:03:15 PDT 2015


pe is not a global variable.
You should type the following commands:

bricks> init()
.
.
.
bricks> start()
.
.
.
-- to stop packet-bricks
bricks> stop()


--Asim



On 03/26/2015 07:52 PM, C. L. Martinez wrote:
> On Thu, Mar 26, 2015 at 10:24 AM, Asim Jamshed
> <ajamshed at icsi.berkeley.edu>  wrote:
>> Hi,
>>
>> The utilObj functions are actually referenced in
>> scripts/startup-one-thread.lua
>> startup script file. So you should start your packet-bricks using the
>> following
>> command:
>>
>> # bin/bricks -f scripts/startup-one-thread.lua
>>
>> I suggest that you go through the scripts/startup-one-thread.lua and
>> scripts/utils.lua files (after reading the README file) before using
>> packet-bricks.
>>
>> Thanks,
>> --Asim
>>
> Nothing ...
>
> root at nsm02:/data/config/etc/packet-bricks #
> /opt/packet-bricks/bin/bricks -f startup-one-thread.lua
> [     pmain(): line  463] Executing startup-one-thread.lua
> [print_version(): line  345] BRICKS Version 0.1-alpha
> bricks> pe:start()
> [    report(): line  222] stdin:1: attempt to index global 'pe' (a nil value)
> stack traceback:
>      stdin:1: in main chunk
>      [C]: ?bricks>
> bricks> show_stats()
> [    report(): line  222] stdin:2: ambiguous syntax (function call x
> new statement) near '('bricks>
> bricks>
>
> I have attached my actual lua scripts
>
>
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro



More information about the Bro mailing list