Commit graph

13262 commits

Author SHA1 Message Date
Vern Paxson
6cb5ea6835 removed some now-obsolete profiling functionality 2022-01-07 11:50:01 -08:00
Vern Paxson
a85d92b2ee minor commenting clarifications 2022-01-07 11:49:03 -08:00
Tim Wojtulewicz
0064554d71 Merge remote-tracking branch 'origin/topic/timw/1624-migrate-checkandpromote'
* origin/topic/timw/1624-migrate-checkandpromote:
  GH-1624: Migrate check_and_promote and a few Expr methods to IntrusivePtr
2022-01-07 12:34:46 -07:00
Tim Wojtulewicz
edf90a51e4 GH-1624: Migrate check_and_promote and a few Expr methods to IntrusivePtr 2022-01-07 12:33:54 -07:00
Tim Wojtulewicz
75b7bd0c6e Update zeek-aux submodule [nomail] [skip ci] 2022-01-07 11:50:21 -07:00
Tim Wojtulewicz
4c1b3c82d9 Merge remote-tracking branch 'origin/topic/vern/record-constructor-bug'
* origin/topic/vern/record-constructor-bug:
  bug fix for reporting poorly formed record constructors
2022-01-06 15:07:13 -07:00
Tim Wojtulewicz
ac8301481f Merge remote-tracking branch 'origin/topic/johanna/centos8-ci'
* origin/topic/johanna/centos8-ci:
  Remove CentOS 8 from CI.
2022-01-06 14:05:00 -07:00
Tim Wojtulewicz
3e7472cc71 Merge remote-tracking branch 'origin/topic/vern/ZAM-leaks-and-test-suite'
* origin/topic/vern/ZAM-leaks-and-test-suite:
  test suite alternative baseline fixes for recent test renaming
  addressed a couple of memory leaks in ZAM execution
2022-01-06 13:54:52 -07:00
Vern Paxson
16be867fef test suite alternative baseline fixes for recent test renaming 2022-01-06 13:54:07 -07:00
Vern Paxson
334f7f4ada addressed a couple of memory leaks in ZAM execution 2022-01-06 13:54:07 -07:00
Tim Wojtulewicz
3d16baae83 Updating submodule(s). [nomail] 2022-01-06 12:05:31 -07:00
Tim Wojtulewicz
412a053942 Update doc submodule [nomail] [skip ci] 2022-01-05 11:05:56 -07:00
Tim Wojtulewicz
e803748403 Merge remote-tracking branch 'leres/master'
* leres/master:
  Make FreeBSD more flexible, don't look for jemalloc unless we were given a specific path for it.
  Set JEMALLOC_FOUND when on FreeBSD (suggested by Tim Wojtulewicz)
  FreeBSD: don't look for jemalloc as a package, it's in the base system
2022-01-05 09:14:07 -07:00
Tim Wojtulewicz
e0ecbc76f2 Merge remote-tracking branch 'origin/topic/johanna/gh-1919'
* origin/topic/johanna/gh-1919:
  Fix return type of double_to_int
2022-01-05 09:12:54 -07:00
Tim Wojtulewicz
03b2adb312 Fixed local-compat test and added NEWS section for 5.0 2022-01-05 09:11:45 -07:00
Johanna Amann
c04246bd7c SSL decryption: refactor TLS12_PRF
Less use of raw pointers.
2022-01-05 15:45:04 +00:00
Johanna Amann
4204615997 SSL decryption: small style changes, a bit of documentation 2022-01-05 15:44:36 +00:00
Johanna Amann
f77213ba66 Deprecation and warning fixes 2022-01-05 10:41:55 +00:00
Johanna Amann
9e5c4ae700 Clang-format updates 2022-01-05 10:28:26 +00:00
Johanna Amann
d1e7134156 Merge remote-tracking branch 'origin/master' into topic/johanna/tls12-decryption 2022-01-05 10:27:55 +00:00
Johanna Amann
46df2edfb1 Remove CentOS 8 from CI.
EOL was 2021-12-31
2022-01-05 10:24:46 +01:00
Johanna Amann
b9ba362948 Fix return type of double_to_int
Fixes GH-1919
2022-01-05 10:09:08 +01:00
Craig Leres
8f2ac836f8 Make FreeBSD more flexible, don't look for jemalloc unless we were
given a specific path for it.
2022-01-04 17:19:43 -08:00
Christian Kreibich
e0e779ade1 Bump the zeek-testing-cluster testsuite 2022-01-04 16:17:33 -08:00
Tim Wojtulewicz
c3839d9871 Merge remote-tracking branch 'origin/topic/timw/update-rapidjson'
* origin/topic/timw/update-rapidjson:
  Update rapidjson submodule to latest upstream master
2022-01-04 14:59:32 -07:00
Tim Wojtulewicz
b56f1ab861 Update rapidjson submodule to latest upstream master 2022-01-04 12:11:24 -07:00
Tim Wojtulewicz
e586964837 Update submodules to latest (new) release tags [skip ci] [nomail] 2022-01-04 11:49:43 -07:00
Tim Wojtulewicz
078d58e17a Update NEWS prior to 4.2 branching [skip ci] [nomail] 2022-01-04 09:42:50 -07:00
Christian Kreibich
326ea47158 Update doc submodule [nomail] [skip ci] 2022-01-03 13:00:11 -08:00
Tim Wojtulewicz
5400d789fe Merge remote-tracking branch 'origin/topic/vern/local-scope-work'
* origin/topic/vern/local-scope-work:
  added notice of deprecation to NEWS
  test suite update
  deprecation warning on use of out-of-scope local
2022-01-03 13:56:27 -07:00
Tim Wojtulewicz
a75b46bd12 Merge remote-tracking branch 'origin/topic/robin/gh1822-bittorrent-re'
* origin/topic/robin/gh1822-bittorrent-re:
  Switch BitTorrent analyzer to Zeek's regex engine
  Adding test for BitTorrent tracker.
2022-01-03 13:55:18 -07:00
Christian Kreibich
8a61a3689e Updating CHANGES, VERSION, and NEWS. 2022-01-03 12:13:07 -08:00
Vern Paxson
aee333cc62 added notice of deprecation to NEWS 2022-01-03 11:24:18 -08:00
Christian Kreibich
a52d297fca Merge branch 'topic/christian/cluster-controller-comments'
* topic/christian/cluster-controller-comments:
  Docs/comment pass over the cluster controller framework
2022-01-03 09:33:43 -08:00
Christian Kreibich
5a72864ae8 Docs/comment pass over the cluster controller framework 2022-01-03 00:31:03 -08:00
Vern Paxson
38c6c8f073 test suite update 2021-12-25 16:04:08 -08:00
Vern Paxson
9970f45ecb deprecation warning on use of out-of-scope local 2021-12-25 16:03:53 -08:00
Vern Paxson
721d99636e support for compiling type-based switches to C++ 2021-12-23 11:39:58 -08:00
Vern Paxson
c6cd5d7a3b make encountering uncompilable "standalone" functions to be a hard error 2021-12-23 11:38:09 -08:00
Vern Paxson
7a66b4fea4 fix: ZAM could misinterpret a "type" switch that starts with a "default" 2021-12-23 11:37:45 -08:00
Vern Paxson
a09c5e6bde fix: don't treat pseudo-identifiers in type cases as local variables 2021-12-23 11:37:17 -08:00
Vern Paxson
adb4958c73 removed development helper scripts now obsolete with --optimize-files= 2021-12-23 11:36:35 -08:00
zeek-bot
86aed8c91b Update doc submodule [nomail] [skip ci] 2021-12-23 00:38:25 +00:00
Vern Paxson
4f566f35ee bug fix for reporting poorly formed record constructors 2021-12-22 14:26:03 -08:00
Christian Kreibich
8d38d5dc7e Update doc submodule [nomail] [skip ci] 2021-12-22 13:37:25 -08:00
Christian Kreibich
260403edd3 Merge branch 'topic/christian/cluster-controller-next'
* topic/christian/cluster-controller-next: (22 commits)
  Remove periodic pinging of controller by agents
  Move cluster controller/agent main.zeek scripts into their own modules
  Bump zeek-client
  First uses of request state timeouts
  Add expiration mechanism to client request state.
  Move get_instances_response event to using a Result record
  Track successful config deployment in cluster controller
  Bump zeek-client
  Add ClusterController::API::notify_agents_ready event
  Make all globals start with a "g_" prefix
  Add missing debug() log function to log module's API
  Add separate utility module for controller and agent
  Bump zeek-client
  Support for dropping instances no longer needed after config updates
  Additional infrastructure for printing types
  Bump zeek-client
  Support on-demand peering with agents when receiving new cluster configuration
  Expand requests support in the controller
  Whitespace tweaks in cluster controller and agent scripts
  Add Github action job for cluster tests
  ...
2021-12-22 13:29:59 -08:00
Avinal Kumar
c2cff6dac7
Switch BitTorrent analyzer to Zeek's regex engine
- Removes dependency on <regex.h>
- Replaces regex function with Zeek's standard regex functions
- Some replacements are workaround, may be improved later via an
appropiate API
- Update test baseline to fix what seems to be capturing on a bug in the
existing code.

Edit pass by Robin Sommer. Note that our test doesn't cover all the code
paths, but it does go through the one with the most substantial change.
2021-12-22 08:24:27 +01:00
Christian Kreibich
ac40d5c5b2 Remove periodic pinging of controller by agents
This changes the agent-controller communication to remove the need for ongoing
pinging of the controller by agents not actively "in service". Instead, agents
now use the notify_agent_hello event to the controller to report only their
identity. The controller puts them into service via an agent_welcome_request/
response pair, and takes them out of service via agent_standby_request/response.

This removes the on_change handler from the set of agents that is ready for
service, because not every change to this set is now a suitable time to
potentially send out the configuration. We now invoke this check explicitly in
the two situations where it's warranted: when a agent reports ready for service,
and when we've received a new configuration.
2021-12-21 16:44:04 -08:00
Christian Kreibich
8463f14a52 Move cluster controller/agent main.zeek scripts into their own modules
This has no practical relevance other than allowing the two to be loaded a the
same time, which some of our (cluster-unrelated) tests require. Absence of
namespacing would trigger symbol clashes at this point.
2021-12-21 14:52:29 -08:00
Christian Kreibich
069eb28987 Bump zeek-client 2021-12-21 14:52:29 -08:00