I am trying to run bro in my bash terminal. I have got a duplicate local.bro
file which i renamed as localv2.bro
, and put it in my working directory /home/bibin
, so its not in default path. I am just trying to do a simple signature match, therefore i have created a signature.sig
file in the directory. In my localv2.bro
file i have tried using both ways:
@load-sigs ./signature
And
redef signature_files += "signature.sig
The signature.sig
file has the signature my-first-sig example from bro.org site.
In the terminal when i try to execute this command:
bro -r traffic.pcap localv2.bro
I get an error message saying:
line 27: unrecognized character -
I have also tried doing it in a different route:
bro -r traffic.pcap -s signature.sig
This also gives me the same unrecognized character error.
Am i doing something wrong, please can you guide me to a solution ?