Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue getting bro to load OTX plugin #9

Open
dinger1986 opened this issue Dec 12, 2018 · 2 comments
Open

Issue getting bro to load OTX plugin #9

dinger1986 opened this issue Dec 12, 2018 · 2 comments

Comments

@dinger1986
Copy link

Hello,

I have installed BRO-OTX as suggested but there is no intel.log file and also in /usr/local/bro/logs/current/loaded_scripts.log there is no record of otx, Am I doing something wrong?

I have installed bro-otx into /usr/local/bro/share/bro/policy/bro-otx and in load.bro I have @load bro-otx

I have ran /usr/local/bro/bin/broctl check and get no errors about otx (and when I make the path wrong it gives me an error).

Im sure its simple, if you can point me in the right direction that would be great!

Daniel

@hosom
Copy link
Owner

hosom commented Dec 19, 2018

You should probably place bro-otx in /usr/local/bro/share/bro/site.

In that directory is a file named local.bro. You need to modify that file to include @load bro-otx once you have moved bro-otx into that directory.

@0bsolescence
Copy link

Spent a little bit troubleshooting this a bit, as we ran into the same issue. Unzipping the package from here resulted in the creation of /usr/local/bro/share/bro/site/bro-otx-master. Renamed bro-otx-master to bro-otx. I then checked the config with broctl and received a new error stating:

error in /opt/bro/share/bro/site/local.bro, line 104: Failed to open package `/opt/bro/share/bro/site/bro-otx`: missing `__load__.bro` file
fatal error in /opt/bro/share/bro/site/local.bro, line 104: can't open /opt/bro/share/bro/site/bro-otx/__load__.bro

I then copied the __load__.bro file from /opt/bro/share/bro/site/bro-otx/scripts/ to /opt/bro/share/bro/site/bro-otx/. I then checked again from broctl and everything checked out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants