[Bro-Dev] [JIRA] (BIT-1232) Command line script execution has limitations
Tim Yardley (JIRA)
jira at bro-tracker.atlassian.net
Tue Aug 19 07:31:07 PDT 2014
Tim Yardley created BIT-1232:
--------------------------------
Summary: 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
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