Commit graph

12897 commits

Author SHA1 Message Date
Christian Kreibich
337c7267e0 Management framework: allow agents to communicate with cluster nodes
This provides Broker-level plumbing that allows agents to reach out to their
managed Zeek nodes and collect responses.

As a first event, it establishes Management::Node::API::notify_agent_hello,
to notify the agent when the cluster node is ready to communicate.

Also a bit of comment rewording to replace use of "data cluster" with simply
"cluster", to avoid ambiguity with data nodes in SumStats, and expansion of
test-all-policy.zeek and related/dependent tests, since we're introducing new
scripts.
2022-04-15 18:51:54 -07:00
Christian Kreibich
d29160e9de Merge branch 'topic/christian/fix-tsan-supervisor'
* topic/christian/fix-tsan-supervisor:
  Mask our signal handlers' triggering signals around thread creation
2022-04-11 12:47:06 -07:00
Tim Wojtulewicz
8a99e343a5 Merge remote-tracking branch 'origin/topic/timw/2026-protocol-confirmation'
* origin/topic/timw/2026-protocol-confirmation:
  GH-2026: Ensure both protocol and analyzer confirmation and violation events can be called
2022-04-11 12:40:23 -07:00
Tim Wojtulewicz
007bc0c083 GH-2026: Ensure both protocol and analyzer confirmation and violation events can be called 2022-04-11 12:39:27 -07:00
Christian Kreibich
1440080791 Update doc submodule [nomail] [skip ci] 2022-04-11 12:36:23 -07:00
Christian Kreibich
9a11df808b Mask our signal handlers' triggering signals around thread creation
This avoids tsan complaints around race conditions in signal handlers running
from threads other than the main one.
2022-04-08 18:05:49 -07:00
Tim Wojtulewicz
de2d3435ce Merge remote-tracking branch 'origin/topic/timw/bump-libkqueue'
* origin/topic/timw/bump-libkqueue:
  Update libkqueue to 2.6.0 release [skip ci] [nomail]
2022-04-09 00:09:19 +00:00
Tim Wojtulewicz
3b50d810de Update libkqueue to 2.6.0 release [skip ci] [nomail] 2022-04-08 21:43:38 +00:00
Christian Kreibich
b17c992b47 Merge branch 'topic/christian/fix-install-symlink'
* topic/christian/fix-install-symlink:
  Bump submodules to pull in InstallSymlink fix [nomail]
2022-04-08 11:31:57 -07:00
Christian Kreibich
21b3bcea2b Bump submodules to pull in InstallSymlink fix [nomail] 2022-04-07 13:39:02 -07:00
Tim Wojtulewicz
d0e13a1e79 Merge remote-tracking branch 'origin/topic/vern/table-attr-fixes'
* origin/topic/vern/table-attr-fixes:
  updates for btests - new cases to check, new baselines
  updates for btests - new cases to check, new baselines
  fix for ill-formed (complex) &default function
  type-checking for use of empty table constructors in expressions
  catch empty constructors used for type inference suppress repeated error messages
  factoring to make checking of &default attributes externally accessible
  bug fix for empty table constructors with &default attributes (plus a typo)
2022-04-05 18:05:15 -07:00
Tim Wojtulewicz
e0ad92c9f4 Merge remote-tracking branch 'origin/topic/vern/ZAM-frame-opt'
* origin/topic/vern/ZAM-frame-opt:
  reduce interpreter frames for compiled function bodies
2022-04-05 18:04:28 -07:00
zeek-bot
cc50129dc3 Update doc submodule [nomail] [skip ci] 2022-04-06 00:34:19 +00:00
Christian Kreibich
5e937e4038 Merge branch 'topic/christian/gh-1994'
* topic/christian/gh-1994:
  Correct origin documentation of the version field in the HTTP log.
2022-04-05 16:08:02 -07:00
Christian Kreibich
669cfbe109 Correct origin documentation of the version field in the HTTP log. 2022-04-04 14:22:58 -07:00
Christian Kreibich
5ccc3ea156 Merge branch 'topic/christian/news-additions'
* topic/christian/news-additions:
  Move new TLS decryption capabilities up to Zeek 5 in NEWS file
  Update NEWS to reflect recent updates
2022-04-04 13:27:49 -07:00
Tim Wojtulewicz
03109733e7 Merge remote-tracking branch 'origin/topic/vern/ZAM-loops-fix'
* origin/topic/vern/ZAM-loops-fix:
  fix & btest for ZAM bug with inlined nested loop
2022-04-04 10:52:51 -07:00
Tim Wojtulewicz
1b67464d25 Merge remote-tracking branch 'origin/topic/timw/const-cast-zip'
* origin/topic/timw/const-cast-zip:
  GH-2009: Use auto to fix ZIP analyzer failure on some platforms
2022-04-04 10:51:31 -07:00
Tim Wojtulewicz
ffb9ba1f26 GH-2009: Use auto to fix ZIP analyzer failure on some platforms 2022-04-03 16:48:51 -07:00
Vern Paxson
03194949c9 reduce interpreter frames for compiled function bodies 2022-04-01 18:00:11 -07:00
Vern Paxson
84dc430e00 fix & btest for ZAM bug with inlined nested loop 2022-04-01 14:04:50 -07:00
Vern Paxson
33d804db16 Merge branch 'topic/vern/table-attr-fixes' of github.com:zeek/zeek into topic/vern/table-attr-fixes 2022-03-31 20:44:11 -07:00
Vern Paxson
77007eccf8 updates for btests - new cases to check, new baselines 2022-03-31 20:42:54 -07:00
Vern Paxson
215e6ea098 updates for btests - new cases to check, new baselines 2022-03-31 19:31:58 -07:00
Vern Paxson
24be03f7c5 fix for ill-formed (complex) &default function 2022-03-31 19:31:21 -07:00
Vern Paxson
e786ba2fa9 type-checking for use of empty table constructors in expressions 2022-03-31 19:30:58 -07:00
Vern Paxson
4d2115ffd3 catch empty constructors used for type inference
suppress repeated error messages
2022-03-31 19:30:00 -07:00
Vern Paxson
ffdcc36bd5 factoring to make checking of &default attributes externally accessible 2022-03-31 19:29:17 -07:00
Vern Paxson
18fe9d84f6 bug fix for empty table constructors with &default attributes (plus a typo) 2022-03-31 19:28:23 -07:00
Christian Kreibich
b956539b46 Move new TLS decryption capabilities up to Zeek 5 in NEWS file 2022-03-31 15:55:25 -07:00
Christian Kreibich
67012b96ff Update NEWS to reflect recent updates 2022-03-29 10:59:24 -07:00
Christian Kreibich
aa8f11fa17 Merge branch 'topic/christian/gh-1963'
* topic/christian/gh-1963:
  Add cmake-time reporting of bifcl, binpac, and gen-zam used for build
  Build Gen-ZAM from a submodule and support use of pre-existing executable
2022-03-28 17:05:09 -07:00
Christian Kreibich
0d29346ca3 Update doc submodule [nomail] [skip ci] 2022-03-28 10:50:14 -07:00
Christian Kreibich
0a2cd1e99f Update doc submodule [nomail] [skip ci] 2022-03-28 09:57:33 -07:00
zeek-bot
8929bcb48e Update doc submodule [nomail] [skip ci] 2022-03-26 00:34:23 +00:00
Tim Wojtulewicz
fe935a572f Merge remote-tracking branch 'origin/topic/vern/event-trace'
* origin/topic/vern/event-trace:
  low-level style tweaks
  --event-trace / -E option to generate event trace
  hooks to support event tracing
  classes providing event-tracing/dumping functionality
  provide access to Val internals for event tracing purposes
  set_network_time() BiF in support of event replaying
  low-level naming tweaks / comments / const-ified accessor
2022-03-25 15:31:42 -07:00
zeek-bot
e2b2220201 Update doc submodule [nomail] [skip ci] 2022-03-25 00:36:00 +00:00
Tim Wojtulewicz
3c66fb11cb Merge remote-tracking branch 'origin/topic/vern/init-integration'
* origin/topic/vern/init-integration:
  updates for compile-to-C++
  updates for ZAM optimization
  btest tweaks I overlooked
  updates for script optimization
  new btests to cover extended functionality & associatd errors
  updates to btests to support switch to expression-based initialization
  tweaks to base scripts revealed by switch to expression-based initialization
  switch variable initialization over to being expression-based
  simplification of Val classes now that they don't have to support initialization
  factoring and re-working of type merging
  use new interface for associating attributes with constructors
  rework type inference due to switch from separate initializers to expressions
  avoid evaluating calls to determine whether an expression value is ignored
  reworking of expressions to unify =/+=/-= with initialization
  allow {} expression lists for =/+=/-= RHS
  tweak for comparing redundant-but-complex attributes
2022-03-24 11:02:11 -07:00
zeek-bot
bedcc6820f Update doc submodule [nomail] [skip ci] 2022-03-24 00:33:38 +00:00
Vern Paxson
bcebe27ced updates for compile-to-C++ 2022-03-23 15:36:36 -07:00
Vern Paxson
16a16948a1 updates for ZAM optimization 2022-03-23 15:36:36 -07:00
Vern Paxson
1f27edf756 btest tweaks I overlooked 2022-03-23 15:36:35 -07:00
Vern Paxson
18cfee51c2 updates for script optimization 2022-03-23 15:36:35 -07:00
Vern Paxson
ae75635c5a new btests to cover extended functionality & associatd errors 2022-03-23 15:36:35 -07:00
Vern Paxson
64775a8192 updates to btests to support switch to expression-based initialization 2022-03-23 15:36:35 -07:00
Vern Paxson
f62c04c9eb tweaks to base scripts revealed by switch to expression-based initialization 2022-03-23 15:36:35 -07:00
Vern Paxson
63f902daff switch variable initialization over to being expression-based 2022-03-23 15:36:35 -07:00
Vern Paxson
c3e2871a5e simplification of Val classes now that they don't have to support initialization 2022-03-23 15:36:35 -07:00
Vern Paxson
9b6a3e8b74 factoring and re-working of type merging 2022-03-23 15:36:35 -07:00
Vern Paxson
0bbbd84c9d use new interface for associating attributes with constructors 2022-03-23 15:36:35 -07:00