mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/mmdb-fix-and-tests'
* origin/topic/awelzel/mmdb-fix-and-tests:
base/frameworks/spicy: Do not load base/misc/version
btest/core/mmdb: Basic lookup_autonomous_system / lookup_location tests
btest/files: Add mmdb testing databases and generator code
zeek.bif: Switch mmdb stale check to network_time
Fix mmdb pointer destruction
(cherry picked from commit 44b67894ac
)
This commit is contained in:
parent
5c68e43687
commit
ffc281703f
24 changed files with 329 additions and 76 deletions
|
@ -1,5 +1,3 @@
|
|||
@load base/misc/version
|
||||
|
||||
# doc-common-start
|
||||
module Spicy;
|
||||
|
||||
|
|
|
@ -1107,6 +1107,11 @@ type geo_autonomous_system: record {
|
|||
## The directory containing MaxMind DB (.mmdb) files to use for GeoIP support.
|
||||
const mmdb_dir: string = "" &redef;
|
||||
|
||||
## Sets the interval for MaxMind DB file staleness checks. When Zeek detects a
|
||||
## change in inode or modification time, the database is re-opened. Setting
|
||||
## a negative interval disables staleness checks.
|
||||
const mmdb_stale_check_interval: interval = 5min &redef;
|
||||
|
||||
## Computed entropy values. The record captures a number of measures that are
|
||||
## computed in parallel. See `A Pseudorandom Number Sequence Test Program
|
||||
## <http://www.fourmilab.ch/random>`_ for more information, Zeek uses the same
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue