[Bro-Dev] [JIRA] (BIT-1472) Bif for a new function to calculates haversine distance between two geoip locations
Johanna Amann (JIRA)
jira at bro-tracker.atlassian.net
Mon Oct 19 13:57:00 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johanna Amann updated BIT-1472:
-------------------------------
Fix Version/s: 2.5
> Bif for a new function to calculates haversine distance between two geoip locations
> -----------------------------------------------------------------------------------
>
> Key: BIT-1472
> URL: https://bro-tracker.atlassian.net/browse/BIT-1472
> Project: Bro Issue Tracker
> Issue Type: New Feature
> Components: Bro
> Affects Versions: 2.4
> Reporter: Aashish Sharma
> Assignee: Daniel Thayer
> Labels: bif, function
> Fix For: 2.5
>
>
> Merge request for:
> topic/aashish/haversine
> ## ## Calculates haversine distance between two geoip locations
> ##
> ##
> ## lat1, long1, lat2, long2
> ##
> ## Returns: distance in miles
> ## function haversine_distance%(lat1:double, long1:double, lat2:double, long2:double %): double
> accompanying bro policy in base/utils/haversine_distance_ip.bro
> module GLOBAL;
> ## Returns the haversine distance between two IP addresses based on GeoIP
> ## database locations
> ##
> ##
> ## orig: the address of orig connection
> ## resp: the address of resp server
> ## Returns: the GeoIP distance between orig and resp in miles
> function haversine_distance_ip(orig: addr, resp: addr): double
--
This message was sent by Atlassian JIRA
(v7.0.0-OD-08-002#70107)
More information about the bro-dev
mailing list