Commit graph

13057 commits

Author SHA1 Message Date
Benjamin Bannier
95aff9a1e3 Include spicy in build. 2022-05-16 09:07:11 +02:00
Benjamin Bannier
e83c4c834d Add bare_mode bif. 2022-05-16 09:07:11 +02:00
Benjamin Bannier
0f1dd8ef1b Change test so included plugins can load notice framework. 2022-05-16 09:07:11 +02:00
Benjamin Bannier
1e4f368c68 Do not log function arguments in test.
This was excercising hooks to validate that they were called. For that
it uses pretty verbose logging. Since version numbers are not stable and
hard to canonify this script already unloads the version module (there
is e.g., code in `base/misc/version` which splits the version strings
and works on single components which might appear like pretty ordinary
floating point numbers in the log).

This test however worked under the assumption that nothing in bare mode
loads `base/misc/version` which is hard to guarantee, especially
considering that plugins can be embedded and might load that module
themself.

With this patch we now make the logging slightly less verbose so that
function call arguments are not logged anymore.
2022-05-16 09:07:11 +02:00
zeek-bot
0c2f04548a Update doc submodule [nomail] [skip ci] 2022-05-14 00:40:58 +00:00
Tim Wojtulewicz
6cd3724747 Merge remote-tracking branch 'origin/topic/neverlord/gh-2084'
* origin/topic/neverlord/gh-2084:
  Fix formatting
  Fix UB during early shutdown on OpenSSL state
2022-05-13 16:51:05 -07:00
Tim Wojtulewicz
bd1ea5edda Merge remote-tracking branch 'origin/topic/johanna/bloomfilter'
* origin/topic/johanna/bloomfilter:
  Bloom filter changes: address review feedback
  Bloom-filter: fix documentation syntax problem
  Bloomfilter related clang-format fixes
  Correcly typify bloom filters in all cases during merge
  Add intersect operation for bloom filters
  Add bloomfilter_decrement bif
2022-05-13 16:49:13 -07:00
Johanna Amann
b61fe59f9f Bloom filter changes: address review feedback
This are minor stylistic changes requested in GH-2085.
2022-05-12 11:09:31 +01:00
Johanna Amann
5118e7f86b Merge remote-tracking branch 'origin/topic/johanna/cert-weak-key'
* origin/topic/johanna/cert-weak-key:
  Include certificate information in SSL::Weak_Key notice
2022-05-12 11:04:34 +01:00
Dominik Charousset
327f5e76f9 Fix formatting 2022-05-12 07:17:41 +02:00
Dominik Charousset
6b1e796df7 Fix UB during early shutdown on OpenSSL state 2022-05-12 07:15:37 +02:00
zeek-bot
4d8a24642e Update doc submodule [nomail] [skip ci] 2022-05-12 00:45:59 +00:00
Tim Wojtulewicz
8b0263cb39 Merge remote-tracking branch 'origin/topic/vern/script-profiling'
* origin/topic/vern/script-profiling:
  tidy up after generating profile
  test suite updates for refined script coverage, use of new BiF to speed startup
  fix for coverage reporting for functions that use "when" statements
  new global_options() BiF to speed up startup, plus a micro-preen
  hooks for new --profile-scripts option
  classes for managing script profiles
  address some holes in script coverage
  fix for script coverage missing on-exit activity
  memory management fixes for loggers
  make curr_CPU_time() broadly available rather than just isolated to ZAM
2022-05-11 12:56:41 -07:00
Johanna Amann
5f04f216bc Include certificate information in SSL::Weak_Key notice 2022-05-11 18:56:04 +01:00
Johanna Amann
d5c2a0caaa Update submodules
[nomail]
2022-05-11 18:51:02 +01:00
Johanna Amann
3a7b127a71 Merge remote-tracking branch 'origin/topic/johanna/topk-cite'
* origin/topic/johanna/topk-cite:
  Add exact name of the Top-k algorithm.
2022-05-11 18:45:48 +01:00
Johanna Amann
25c33d2a29 Add exact name of the Top-k algorithm.
I needed to figure out which exact algorithm we use for our
probabilistic top-k measurements. It turns out that we do not mention
this in our source tree at all so far.
2022-05-11 13:21:26 +01:00
Johanna Amann
0aafc8ae6c Merge remote-tracking branch 'origin/topic/vern/type-names'
* origin/topic/vern/type-names:
  regularize deprecation warning
  make DoDescribe protected for a tidier interface mark use of DESC_PORTABLE as deprecated
  when printing a description of a type, use its name if available
2022-05-09 11:15:36 +01:00
zeek-bot
87b54de5a3 Update doc submodule [nomail] [skip ci] 2022-05-07 00:42:39 +00:00
Christian Kreibich
8d101f21be Merge branch 'topic/christian/management-consistency-tweaks'
* topic/christian/management-consistency-tweaks:
  Management framework: consistency tweaks in zeek-client, plus test updates
2022-05-06 15:28:48 -07:00
Tim Wojtulewicz
c55c06a325 Merge remote-tracking branch 'origin/topic/timw/doctest-update'
* origin/topic/timw/doctest-update:
  Update doctest to v2.4.8
2022-05-06 12:47:58 -07:00
Tim Wojtulewicz
cf51931615 Merge remote-tracking branch 'origin/topic/vern/footprint'
* origin/topic/vern/footprint:
  new environment variable to enable BTests to skip ASAN checks
  skip new BiF test for ASAN CI runs
  btest update to include recursive value that doesn't require a record
  to avoid recursion, track all aggregates, not just records isolate the internal methods
  simpler public calling interface for computing footprint
  use stack-based set to prevent infinite recursion rather than a static one
  change value_footprint() to val_footprint() to be more similar to val_size()
  make including count of container elements non-optional
  btest for mutually-recursive case
  fix for tracking footprints of mutually-recursive records
  added value_footprint() and global_container_footprints() BiFs
2022-05-06 11:32:49 -07:00
Tim Wojtulewicz
62d77d959b Update doctest to v2.4.8 2022-05-06 11:30:37 -07:00
Christian Kreibich
8c76af6ab9 Management framework: consistency tweaks in zeek-client, plus test updates
A minor changeset that reflects zeek-client updates, with some effects on
its output and hence test cases.
2022-05-06 11:22:48 -07:00
Vern Paxson
eaf63402cc new environment variable to enable BTests to skip ASAN checks 2022-05-06 07:55:57 -07:00
Vern Paxson
113d6cd87a tidy up after generating profile 2022-05-06 07:47:45 -07:00
Christian Kreibich
7198c847e8 Merge branch 'topic/christian/management-get-config'
* topic/christian/management-get-config:
  Management framework: add get_configuration_request/response transaction
2022-05-05 18:10:46 -07:00
Vern Paxson
a387157ead skip new BiF test for ASAN CI runs 2022-05-05 17:07:46 -07:00
Vern Paxson
f17fe4101b regularize deprecation warning 2022-05-05 17:02:14 -07:00
Vern Paxson
d5f60cfaba btest update to include recursive value that doesn't require a record 2022-05-05 16:55:03 -07:00
Vern Paxson
58cdc0be09 to avoid recursion, track all aggregates, not just records
isolate the internal methods
2022-05-05 16:51:59 -07:00
Christian Kreibich
001de561fc Management framework: add get_configuration_request/response transaction
Includes submodule bumps for Broker (to pull in better handling of data
structures that are difficult to unserialize in Python), zeek-client (for the
get-config command), and a commit hash update for the external testsuite.
2022-05-05 16:09:21 -07:00
Christian Kreibich
6fb5c1fe5c Update zeek-archiver submodule [nomail] [skip ci] 2022-05-05 12:10:10 -07:00
Johanna Amann
a34a597e4c Bloom-filter: fix documentation syntax problem 2022-05-05 13:19:41 +01:00
Tim Wojtulewicz
1d1cad95c9 Merge remote-tracking branch 'origin/topic/vern/zam-maint-01May22'
* origin/topic/vern/zam-maint-01May22:
  fix for coverage reporting for functions that use "when" statements
  ZAM maintenance for recent changes and some newly exercised corner cases
2022-05-04 11:58:02 -07:00
Vern Paxson
ba44c468b2 fix for coverage reporting for functions that use "when" statements 2022-05-04 10:14:52 -07:00
Tim Wojtulewicz
00c85425ae Merge remote-tracking branch 'origin/topic/timw/coverity-fixes'
* origin/topic/timw/coverity-fixes:
  Fixes Coverity issues reported from DNS_Mgr merge
2022-05-04 09:24:07 -07:00
Johanna Amann
9b73eb7561 Bloomfilter related clang-format fixes 2022-05-04 09:07:54 +01:00
zeek-bot
96c1e5a4d4 Update doc submodule [nomail] [skip ci] 2022-05-04 00:43:36 +00:00
Tim Wojtulewicz
edd990359f Merge remote-tracking branch 'origin/topic/vern/set-of-rec-record'
* origin/topic/vern/set-of-rec-record:
  fix for sets containing recursive records
2022-05-03 14:41:05 -07:00
Vern Paxson
d75d1715a9 make DoDescribe protected for a tidier interface
mark use of DESC_PORTABLE as deprecated
2022-05-03 13:41:39 -07:00
Vern Paxson
690a4590b7 test suite updates for refined script coverage, use of new BiF to speed startup 2022-05-03 12:36:50 -07:00
Vern Paxson
5d38971030 fix for coverage reporting for functions that use "when" statements 2022-05-03 12:36:02 -07:00
Vern Paxson
fab4905fc2 new global_options() BiF to speed up startup, plus a micro-preen 2022-05-03 11:13:15 -07:00
Vern Paxson
07f5e9cbe7 hooks for new --profile-scripts option 2022-05-03 11:12:29 -07:00
Vern Paxson
bc3902fa79 classes for managing script profiles 2022-05-03 11:11:46 -07:00
Vern Paxson
ca32cab6cb address some holes in script coverage 2022-05-03 10:47:07 -07:00
Vern Paxson
2bb4e696e1 fix for script coverage missing on-exit activity 2022-05-03 10:44:30 -07:00
Vern Paxson
fbe33d4ee9 memory management fixes for loggers 2022-05-03 10:42:25 -07:00
Vern Paxson
41aee03c17 make curr_CPU_time() broadly available rather than just isolated to ZAM 2022-05-03 10:38:32 -07:00