Commit graph

393 commits

Author SHA1 Message Date
Arne Welzel
9330a74fe1 Merge remote-tracking branch 'origin/topic/awelzel/zeek-archiver-multiple-loggers'
* origin/topic/awelzel/zeek-archiver-multiple-loggers:
  cluster/supervisor: Multi-logger awareness
  Bump zeek-archiver submodule
2023-05-09 15:20:53 +02:00
Arne Welzel
2f035dbc07 Bump zeek-archiver submodule 2023-05-05 12:24:18 +02:00
Arne Welzel
0374d0fe42 Update zeek-aux submodule [nomail] 2023-04-27 15:17:11 +02:00
Arne Welzel
004dce2cf2 Merge remote-tracking branch 'origin/topic/awelzel/zeekctl-multiple-loggers'
* origin/topic/awelzel/zeekctl-multiple-loggers:
  NEWS: Add entry for ZeekControl and multi-loggers
  Bump zeekctl to multi-logger version
  logging: Support rotation_postprocessor_command_env
2023-04-27 12:17:02 +02:00
Arne Welzel
ee91201785 Merge remote-tracking branch 'origin/topic/awelzel/topic/bump-zeekjs-0-9-0'
* origin/topic/awelzel/topic/bump-zeekjs-0-9-0:
  Update ZeekJS submodule to 0.9.0
2023-04-27 09:09:44 +02:00
Arne Welzel
cc7e35b39a Update AF-Packet submodule
Include Tim's cleanup and modernization fixes, too.
2023-04-26 15:36:50 +02:00
Arne Welzel
ef7e714afd Update AF-Packet submodule
* Mask VLAN ID from tp_vlan_tci field to fix vlan > 4095 reported by Zeek
  when PCP and/or DEI bits are set.
* Descriptive error message when interface is down. Instead of
  "Invalid argument", Zeek now reports "interface is down".
2023-04-25 11:15:53 +02:00
Arne Welzel
d2c09676bb Update ZeekJS submodule to 0.9.0
* Performance improvements for the Redis Log::log_stream_policy example
  around PortVal wrapping and caching field offsets for property lookups.
* Debug output is now channeled through PLUGIN_DBG_LOG() and available via
  zeek -B plugin-Zeek-JavaScript instead of unconditionally on stderr.
* Reduced CMake output when Node.js isn't found
2023-04-25 11:03:48 +02:00
Arne Welzel
5aae4381d7 bifcl: Bump for runtime-type checks in var_arg bifs 2023-04-19 19:30:41 +02:00
Arne Welzel
1b1d4c47c7 Bump zeekctl to multi-logger version 2023-04-18 15:41:36 +02:00
Arne Welzel
f0b9c59adb Add experimental JavaScript support when libnode is available
zeek.on('zeek_init', () => {
        console.log('Hello, Zeek!');
    });

For interaction with external systems and HTTP APIs, JavaScript and the
Node.js ecosystem beat Zeek script. Make it more easily accessible by
including ZeekJS with Zeek directly.

When a recent enough libnode version is found on the build system, ZeekJS is
added as a builtin plugin. This behavior can be disabled via
``--disable-javascript``. Linux distributions providing such a package are
Ubuntu (22.10) and Debian (testing/bookworm) as libnode-dev.
Fedora provides it as nodejs-devel.

This plugin takes over loading of .js or .cjs files. When no such files
are provided to Zeek, Node and the V8 engine are not initialized and
should not get into the way.

This should be considered experimental.
2023-04-14 11:26:41 +02:00
Dominik Charousset
9aeed5284d Redesign subdir-libs and plugin scaffolding 2023-04-13 22:23:46 +02:00
Tim Wojtulewicz
a7a895b178 Only use -Wno-changes-meaning if it exists 2023-04-11 14:35:56 -07:00
Tim Wojtulewicz
ca35c85983 Ignore -Wchanges-meaning warning in Spicy
This fixes a build failure with GCC 13. It's meant as a short-term fix to avoid
the failure in Zeek, but probably should be fixed more correctly upstream in
the Spicy repo.
2023-04-11 11:55:34 -07:00
Tim Wojtulewicz
a0dbfd2822 Update broker submodule to pull in GCC 13 fix 2023-04-11 11:55:34 -07:00
Tim Wojtulewicz
0d4f842190 Update gen-zam submodule for std::move warnings 2023-04-04 09:02:05 -07:00
Benjamin Bannier
53652a0673 Bump Spicy and spicy-plugin to their latest development snapshots. 2023-03-29 16:54:41 +02:00
Christian Kreibich
a9cec2e4f4 Bump zeekctl and doc submodule for updates regarding Site::local_nets 2023-03-22 13:34:54 -07:00
Tim Wojtulewicz
1b6b6b3209 Update zeekctl test baseline for command.peerstatus test 2023-03-20 10:04:20 -07:00
Tim Wojtulewicz
88c6d64cc5 Update zeekctl test baseline for changes to Site::local_nets 2023-03-18 20:23:00 -07:00
Tim Wojtulewicz
7c92a58e05 Merge remote-tracking branch 'origin/topic/neverlord/gh-2853'
* origin/topic/neverlord/gh-2853:
  Update Broker for fixing #2853
2023-03-18 17:10:46 -07:00
Dominik Charousset
ffb31a64af Update Broker for fixing #2853 2023-03-17 19:52:18 +01:00
Arne Welzel
ec1933ddaa Bump Spicy to latest main
To fix compile warnings.
2023-03-08 10:25:37 +01:00
Arne Welzel
209c226e48 Bump zeekctl submodule 2023-03-01 10:19:55 +01:00
Tim Wojtulewicz
13d5753e49 Merge remote-tracking branch 'origin/topic/awelzel/af-packet-zeekctl-5.2'
* origin/topic/awelzel/af-packet-zeekctl-5.2:
  Bump zeekctl and add NEWS entries
2023-02-27 13:47:53 -07:00
Tim Wojtulewicz
6bb93a5ef8 Update bifcl submodule [nomail] 2023-02-27 09:34:03 -07:00
Arne Welzel
d32ef970a9 Bump zeekctl and add NEWS entries
These are added to the 5.2 section of NEWS. This is for backporting
into release/5.2.
2023-02-27 16:26:30 +01:00
Tim Wojtulewicz
b459b6212f Update bifcl submodule [nomail] 2023-02-22 16:39:54 -07:00
Tim Wojtulewicz
84db1f7973 Update binpac submodule [nomail] 2023-02-22 16:39:54 -07:00
Arne Welzel
4d540a11a9 Bump zeek-af_packet-plugin 2023-02-22 16:49:16 +01:00
Robin Sommer
0f55521a9d
Bump spicy-plugin. 2023-02-22 15:51:07 +01:00
Benjamin Bannier
eb05122e74 Bump Spicy and spicy-plugin to latest releases.
(cherry picked from commit f27a9a6264)
2023-02-17 09:59:04 -07:00
Tim Wojtulewicz
c3aecb0c96 Update cmake and zeek-aux submodules [nomail] 2023-02-17 09:51:53 -07:00
Tim Wojtulewicz
b3fbfebd6a Merge remote-tracking branch 'origin/topic/vern/ZAM-Feb23-maint'
* origin/topic/vern/ZAM-Feb23-maint:
  better error reporting when ZAM code calls a function
  fix for ZAM compilation of "in" expressions
2023-02-11 22:07:45 -07:00
Vern Paxson
2c9857a618 better error reporting when ZAM code calls a function 2023-02-09 11:24:35 -08:00
Tim Wojtulewicz
913b94b411 Update binpac submodule for modernization fixes [nomail] 2023-02-07 09:48:03 -07:00
Tim Wojtulewicz
e008ab1b71 Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy-plugin'
* origin/topic/bbannier/bump-spicy-plugin:
  Bump spicy-plugin to latest development snapshot.
2023-02-03 09:05:26 -07:00
Tim Wojtulewicz
96f82ea74d Update package-manager submodule [nomail] 2023-02-03 08:38:27 -07:00
Benjamin Bannier
811bdcdf53 Bump spicy-plugin to latest development snapshot. 2023-02-03 16:36:02 +01:00
Tim Wojtulewicz
916ffd25eb Updating submodule(s) [nomail] 2023-02-02 08:44:25 -07:00
Tim Wojtulewicz
335d376396 Updating submodule(s) [nomail] 2023-02-02 08:28:47 -07:00
Christian Kreibich
0630d9a10a Update btest submodule to v1.0 2023-02-01 16:05:54 -08:00
Tim Wojtulewicz
3bd837e8f4 Update broker submodule [nomail] 2023-02-01 15:33:57 -07:00
Robin Sommer
2512fd1e68
Switch to shared Spicy libraries by default.
This should work now. It affects only the toolchain libraries
`libhilti`/`libspicy`. the runtime libraries `libhilti-rt` and
`libspicy-rt` are always built static (but they are small). Zeek
itself doesn't link against the toolchain anymore now anyways, but a
number of the Spicy tools do.

Note, we have an issue with Broker I believe: it looks like it always
overrides BUILD_SHARED_LIBS to `OFF`

Addresses #2675.
2023-02-01 11:33:48 +01:00
Robin Sommer
04a1ead978
Provide infrastructure to migrate legacy analyzers to Spicy.
As initial examples, this branch ports the Syslog and Finger analyzers
over. We leave the old analyzers in place for now and activate them
iff we compile without any Spicy.

Needs `zeek-spicy-infra` branches in `spicy/`, `spicy-plugin/`,
`CMake/`, and `zeek/zeek-testing-private`.

Note that the analyzer events remain associated with the Spicy plugin
for now: that's where they will show up with `-NN`, and also inside
the Zeekygen documentation.

We switch CMake over to linking the runtime library into the plugin,
vs. at the top-level through object libraries.
2023-02-01 11:33:48 +01:00
Tim Wojtulewicz
9f1ac1e3ab Updating submodule(s) [nomail] 2023-01-31 09:22:59 -07:00
Arne Welzel
b720f71e5e auxil/broker: Bump submodule 2023-01-30 10:25:33 +01:00
Tim Wojtulewicz
3648ded80e Merge remote-tracking branch 'origin/topic/neverlord/broker-submodule-bump'
* origin/topic/neverlord/broker-submodule-bump:
  Update Broker submodule
2023-01-27 13:23:48 -07:00
Benjamin Bannier
885a2fb695 Bump spicy to v1.6.1. 2023-01-26 12:43:39 +01:00
Johanna Amann
6d6238ddf7 Update submodules
[nomail]
2023-01-23 09:14:15 +00:00