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

Seth Hall (JIRA) jira at bro-tracker.atlassian.net
Thu Oct 23 08:00:07 PDT 2014

    [ https://bro-tracker.atlassian.net/browse/BIT-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18508#comment-18508 ] 

Seth Hall commented on BIT-1274:

It looks like you've placed the geo_location type into the GeoIP namespace.  You need to make sure when you reference that type from your C code that your include the full namespace which is GeoIP::geo_location.  Maybe you could change it to GeoIP::location?  Like this...

RecordType* geo_location = internal_type("GeoIP::location")->AsRecordType();

I think you also want to put that type definition into an export section.

> 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

More information about the bro-dev mailing list