[Bro] Question about packet-bricks

C. L. Martinez carlopmart at gmail.com
Thu Mar 26 03:52:40 PDT 2015

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>

I have attached my actual lua scripts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.lua
Type: text/x-lua
Size: 218 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150326/26021c0e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startup-one-thread.lua
Type: text/x-lua
Size: 2068 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150326/26021c0e/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utils.lua
Type: text/x-lua
Size: 2108 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150326/26021c0e/attachment-0002.bin 

More information about the Bro mailing list