[Bro] running setseparator.bro fails

Daniel Thayer dnthayer at illinois.edu
Wed Aug 12 09:39:04 PDT 2015


On 08/12/2015 11:19 AM, Earl Eiland wrote:
> Hello.
>
> I’ve copied
> https://github.com/bro/bro/blob/master/testing/btest/scripts/base/frameworks/input/setseparator.bro
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bro_bro_blob_master_testing_btest_scripts_base_frameworks_input_setseparator.bro&d=AwMFAg&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Bi5qPBnY0NmYPqnRTPj_AfXQKpfQTZUpCzpfFBcawv0&m=sTsVQUDlNukOtreU7YJtt4sempYjNJ7sgeqa9hYuSts&s=GuyvPMy77QPhuknn5iQ4_2XI1StCMXGgOkl0ZWSC4OU&e=>
>
> Into my pwd and trying to run it.  I’m getting the error unrecognized
> character - @ when it gets to line 5.
>
> What am I doing wrong?
>
> Best Regards,
>
> Earl Eiland,

That file isn't meant to be run directly as a Bro script, if you want
to do that then you'll need to first extract the part between
"@TEST-START-FILE" and "@TEST-END-FILE" and save it as file "input.log".
Then delete those lines (including lines starting with @TEST) in the 
setseparator.bro file.



More information about the Bro mailing list