Commit graph

15378 commits

Author SHA1 Message Date
Vern Paxson
5722596970 ZAM bug fix (simplification) for nested inline functions that don't do anything 2023-06-14 17:43:55 -07:00
Vern Paxson
d474317958 ZAM support for negative vector indices 2023-06-14 17:43:04 -07:00
Vern Paxson
5165a04ae0 ZAM ignores new "assert" statement 2023-06-14 17:41:41 -07:00
Vern Paxson
2c5b5bb41f fixes for doing "script validation" to check for ZAM compile-ability 2023-06-14 17:39:47 -07:00
Vern Paxson
cae5d30c62 tweak for Broker BTest that needs a delay for ZAM 2023-06-14 17:37:46 -07:00
Vern Paxson
6c9bab29e9 BTest baseline updates for minor Zeek differences (in one case, no difference) 2023-06-14 17:37:07 -07:00
Vern Paxson
40d7e6949a BTest to check for invalid negative vector indices 2023-06-14 17:35:08 -07:00
Tim Wojtulewicz
f64304067b Update docs submodule [nomail] 2023-06-14 10:51:28 -07:00
Tim Wojtulewicz
b5b5df4e2d Merge remote-tracking branch 'origin/topic/timw/remove-6-1-deprecations'
* origin/topic/timw/remove-6-1-deprecations:
  Update docs submodule [nomail]
  Update external test baselines
  Change table initialization deprecation to error
  Remove 5.2 deprecation we missed
  Remove Supervisor::NodeConfig (6.1 deprecation)
  Remove LogAscii::logdir (6.1 deprecation)
  Make break/next/continue outside loops an error (6.1 deprecation)
  Remove analyzer_confirmation/analyzer_violation events (6.1 deprecation)
  Remove full scripts marked as 6.1 deprecations
  Remove script functions marked as unused (6.1 deprecations)
  Remove deprecations tagged for v6.1
2023-06-14 10:09:57 -07:00
Tim Wojtulewicz
bd2e6fbbc8 Update docs submodule [nomail] 2023-06-14 10:07:23 -07:00
Tim Wojtulewicz
453c0ff7b5 Update external test baselines 2023-06-14 10:07:23 -07:00
Tim Wojtulewicz
d5b19c61ff Change table initialization deprecation to error 2023-06-14 10:07:23 -07:00
Tim Wojtulewicz
a105b26692 Remove 5.2 deprecation we missed 2023-06-14 10:07:23 -07:00
Tim Wojtulewicz
0d25583049 Remove Supervisor::NodeConfig (6.1 deprecation) 2023-06-14 10:07:22 -07:00
Tim Wojtulewicz
531276cfe0 Remove LogAscii::logdir (6.1 deprecation) 2023-06-14 10:07:22 -07:00
Tim Wojtulewicz
0110c15ee2 Make break/next/continue outside loops an error (6.1 deprecation) 2023-06-14 10:07:22 -07:00
Tim Wojtulewicz
9a79b98a1e Remove analyzer_confirmation/analyzer_violation events (6.1 deprecation) 2023-06-14 10:07:22 -07:00
Tim Wojtulewicz
a55e5e3724 Remove full scripts marked as 6.1 deprecations 2023-06-14 10:07:22 -07:00
Tim Wojtulewicz
7a867d52e2 Remove script functions marked as unused (6.1 deprecations) 2023-06-14 10:07:22 -07:00
Tim Wojtulewicz
4229af6820 Remove deprecations tagged for v6.1 2023-06-14 10:07:22 -07:00
Arne Welzel
84d605602f Merge remote-tracking branch 'origin/topic/awelzel/3115-debian-12'
* origin/topic/awelzel/3115-debian-12:
  NEWS: Add entry about Debian 12
  docker: Add libnode to enable JavaScript support
  docker: Bump images to Debian 12
2023-06-14 18:56:00 +02:00
Tim Wojtulewicz
881ea3f699 Merge remote-tracking branch 'origin/topic/timw/make-dist-fixes'
* origin/topic/timw/make-dist-fixes:
  Fix usage of realpath on macOS, instead preferring grealpath
  Don't generate minimal tarball anymore
2023-06-14 09:26:18 -07:00
Arne Welzel
fdd6dfd096 plugin/Manager: Warn when plugin with the same name is found
This was brought up on Slack as a potential source of confusion during
development as it's not visible when plugin directories are ignored outside
of looking into the plugin debug stream. I'd actually prefer to just
FatalError() this, but a warning seems reasonably visible for interactive
usage.
2023-06-14 17:36:18 +02:00
Arne Welzel
c873857953 NEWS: Fix enumeration in Breaking Changes 2023-06-14 13:16:01 +02:00
Arne Welzel
0fe32715c0 Merge remote-tracking branch 'origin/topic/awelzel/pre-commit-typos'
* origin/topic/awelzel/pre-commit-typos:
  all: Fix typos identified by typos pre-commit hook
  NEWS typo fixes
  Start with a typos pre-commit file
2023-06-14 13:06:47 +02:00
Arne Welzel
2f1ea789d1 Merge remote-tracking branch 'origin/topic/awelzel/2285-assert-statement'
* origin/topic/awelzel/2285-assert-statement:
  NEWS: Small section about assert statement
  Stmt: Rework assertion hooks break semantics
  Stmt: Introduce assert statement and related hooks
  ZeekArgs: Helper for empty arguments
  Reporter: Allow AssertStmt to throw InterpreterException
  Lift backtrace() code into Func.{h,cc}
2023-06-14 12:51:53 +02:00
Arne Welzel
90ec6582d8 Update cmake submodule [nomail] 2023-06-14 11:06:00 +02:00
zeek-bot
4056d904b7 Update doc submodule [nomail] [skip ci] 2023-06-14 00:20:36 +00:00
Tim Wojtulewicz
05efc0f9df Fix usage of realpath on macOS, instead preferring grealpath 2023-06-13 15:51:47 -07:00
Tim Wojtulewicz
894be5aa2d Don't generate minimal tarball anymore 2023-06-13 15:51:28 -07:00
Tim Wojtulewicz
9f80d62cde Update cmake submodule [nomail] 2023-06-13 14:20:31 -07:00
Tim Wojtulewicz
8175558a56 Merge remote-tracking branch 'origin/topic/bbannier/configure-summary-indention'
* origin/topic/bbannier/configure-summary-indention:
  Clarify subitem relationship in CMake configure summary.
2023-06-13 11:29:47 -07:00
Tim Wojtulewicz
9e2e6d0174 Merge remote-tracking branch 'origin/topic/awelzel/3112-log-suffix-left-over-log-rotation-fixup'
* origin/topic/awelzel/3112-log-suffix-left-over-log-rotation-fixup:
  tests: Do not use archiver_rotation_format_func as postprocessor
2023-06-13 11:28:34 -07:00
Arne Welzel
f83e96d1a6 NEWS: Add entry about Debian 12 2023-06-13 20:11:38 +02:00
Arne Welzel
e99db077bb docker: Add libnode to enable JavaScript support 2023-06-13 20:11:38 +02:00
Arne Welzel
2fb26c2f15 docker: Bump images to Debian 12 2023-06-13 20:11:34 +02:00
Arne Welzel
e1a81c528c tests: Do not use archiver_rotation_format_func as postprocessor
This test triggered ubsan by putting a function with the wrong type
as a post-processor into the .shadow file. Don't do that.

Likely Zeek should provide a better error message, but hand-crafting
.shadow files isn't what is normally done and this is to fix the
master build for now.
2023-06-13 19:17:32 +02:00
Arne Welzel
7a043e5e8f all: Fix typos identified by typos pre-commit hook 2023-06-13 17:57:32 +02:00
Arne Welzel
260c868f26 NEWS typo fixes 2023-06-13 17:57:32 +02:00
Arne Welzel
8a2249fa76 Start with a typos pre-commit file
Inspired by Spicy and me creating typos everywhere. Some of the
suggestions are also very reasonable.
2023-06-13 17:57:29 +02:00
Arne Welzel
f53aefdd5b Merge branch 'topic/awelzel/3112-log-suffix-left-over-log-rotation'
* topic/awelzel/3112-log-suffix-left-over-log-rotation:
  cluster/logger: Fix leftover-log-rotation in multi-logger setups
  cluster/logger: Fix global var reference
2023-06-13 17:33:56 +02:00
Arne Welzel
30c084d39f NEWS: Small section about assert statement 2023-06-13 16:18:54 +02:00
Arne Welzel
0b0f6e509f Stmt: Rework assertion hooks break semantics
Using break in either of the hooks allows to suppress the default reporter
error message rather than suppressing solely based on the existence of an
assertion_failure() handler.
2023-06-13 16:18:01 +02:00
Arne Welzel
6d1991fb6a cluster/logger: Fix leftover-log-rotation in multi-logger setups
Populating log_metadata during zeek_init() is too late for the
leftover-log-rotation functionality, so do it at script parse time.

Also, prepend archiver_ to the log_metadata table and encoding function
due to being in the global namespace and to align with the
archiver_rotation_format_func. This hasn't been in a released
version yet, so fine to rename still.

Closes #3112
2023-06-13 10:47:20 +02:00
Arne Welzel
27432c457c cluster/logger: Fix global var reference 2023-06-13 10:47:20 +02:00
Tim Wojtulewicz
4314bdfd38 Merge remote-tracking branch 'origin/topic/timw/update-broker'
* origin/topic/timw/update-broker:
  Update broker submodule [nomail]
2023-06-12 15:27:42 -07:00
Tim Wojtulewicz
b8c3d99842 Update broker submodule [nomail] 2023-06-12 12:31:12 -07:00
Tim Wojtulewicz
27575df917 Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy'
* origin/topic/bbannier/bump-spicy:
  Bump `auxil/spicy`.
  Update link to slack in README.md
  Updating CHANGES and VERSION.
2023-06-12 11:07:03 -07:00
Tim Wojtulewicz
98e44ee14f Merge remote-tracking branch 'origin/topic/awelzel/cluster-at-if-removal'
* origin/topic/awelzel/cluster-at-if-removal:
  test-all-policy: Do not load nodes-experimental/manager.zeek
  cluster/main: Remove extra @if ( Cluster::is_enabled() )
2023-06-12 11:04:53 -07:00
Tim Wojtulewicz
c389d9804b Merge remote-tracking branch 'origin/topic/awelzel/3099-fix-and-extend-socks5-sig'
* origin/topic/awelzel/3099-fix-and-extend-socks5-sig:
  socks/dpd: Add newer auth methods
  socks/dpd: Fix socks5_server side signature
2023-06-12 10:57:08 -07:00