[Bro-Dev] [JIRA] (BIT-1274) Moving GeoIP Code to Plugin

anthony kasza anthony.kasza at gmail.com
Wed Oct 22 20:18:36 PDT 2014


I am having two issues. The first is how global bro configure options
should affect plugins (e.g. USE_GEOIP in CMakeList.txt). This seems
like a relatively large architectural decision and I have no solution
to this. The second is the following error when I run bro with my
dynamic plugin:

internal error in /usr/local/bro/share/bro/base/init-bare.bro, line 1:
internal type geo_location missing

Steps to replicate this error:
git clone --recursive https://github.com/anthonykasza/bro.git
cd bro
git checkout remotes/origin/topic/akasza/geoplugin
./configure --enable-debug && make
make install
cd aux/bro-aux/plugin-support/
git clone https://github.com/anthonykasza/Bro_GeoIP.git
cd Bro_GeoIP/
./configure --bro-dist=%BRO GIT CLONE DIR%
make
export BRO_PLUGIN_PATH=%BRO GIT CLONE DIR%/aux/bro-aux/plugin-support/Bro_GeoIP
bro -NN


-AK

On Tue, Oct 21, 2014 at 1:51 PM, Robin Sommer (JIRA)
<jira at bro-tracker.atlassian.net> wrote:
>
>     [ https://bro-tracker.atlassian.net/browse/BIT-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18505#comment-18505 ]
>
> Robin Sommer commented on BIT-1274:
> -----------------------------------
>
> I've lost track if there's still a particular problem you're having?
>
>> Moving GeoIP Code to Plugin
>> ---------------------------
>>
>>                 Key: BIT-1274
>>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1274
>>             Project: Bro Issue Tracker
>>          Issue Type: Improvement
>>          Components: Bro
>>            Reporter: AK
>>
>> I've started moving the GeoIP code to a plugin. The branch of Bro I'm working from is here: https://github.com/anthonykasza/bro/tree/topic/akasza/geoplugin.
>> The source for the plugin is here: https://github.com/anthonykasza/Bro_GeoIP.
>> Any pointers would be appreciated.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.4-OD-07-004#64005)
> _______________________________________________
> bro-dev mailing list
> bro-dev at bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


More information about the bro-dev mailing list