mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Merge remote-tracking branch 'zeek-as-org/as-org'
* zeek-as-org/as-org: Mark lookup_asn() BIF as deprecated in v6.1 Define geo_autonomous_system record type Add lookup_autonomous_system() BIF that returns AS number and org
This commit is contained in:
commit
535a6013aa
4 changed files with 91 additions and 7 deletions
|
@ -984,6 +984,14 @@ type geo_location: record {
|
|||
longitude: double &optional; ##< Longitude.
|
||||
} &log;
|
||||
|
||||
## GeoIP autonomous system information.
|
||||
##
|
||||
## .. zeek:see:: lookup_autonomous_system
|
||||
type geo_autonomous_system: record {
|
||||
number: count &optional; ##< The autonomous system number.
|
||||
organization: string &optional; ##< Associated organization.
|
||||
} &log;
|
||||
|
||||
## The directory containing MaxMind DB (.mmdb) files to use for GeoIP support.
|
||||
const mmdb_dir: string = "" &redef;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue