[Bro-Dev] [JIRA] (BIT-1232) Command line script execution has limitations

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Tue Aug 19 09:08:07 PDT 2014


     [ https://bro-tracker.atlassian.net/browse/BIT-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-1232:
---------------------------
    Resolution: Fixed
        Status: Closed  (was: Open)

> Command line script execution has limitations
> ---------------------------------------------
>
>                 Key: BIT-1232
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1232
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: 2.3
>            Reporter: Tim Yardley
>            Assignee: Jon Siwek
>
> root at lubuntu:/exercises/BroCon14/analyzers# bro -e "GridFTP::size_threshold = 1000;"
> error in <command line>, line 1: const is not a modifiable lvalue (GridFTP::size_threshold)
> and then to do it right...
> root at lubuntu:/exercises/BroCon14/analyzers# bro -e "redef GridFTP::size_threshold = 1000;"
> internal warning in <command line>, line 1: Can't document redef of GridFTP::size_threshold, lookup of <command line> failed
> Neither work.
> However...
> root at lubuntu:/exercises/BroCon14/analyzers# bro "GridFTP::size_threshold=1000"
> root at lubuntu:/exercises/BroCon14/analyzers# cat blah.bro
> redef GridFTP::size_threshold = 1000;
> root at lubuntu:/exercises/BroCon14/analyzers# bro blah.bro
> root at lubuntu:/exercises/BroCon14/analyzers#
> All fine. The redef from the command line is the interesting part.



--
This message was sent by Atlassian JIRA
(v6.4-OD-03-010#64001)


More information about the bro-dev mailing list