Jan Grashoefer
1fe008945e
af_packet: Hacked VLAN support.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
b38894a329
af_packet: Increase version number.
2025-08-20 08:52:25 -07:00
Christian Kreibich
96384be689
af_packet: Avoid Zeek script double-loading problems
...
The plugin mechanism automatically picks up the scripts folder for
plugin-related Zeek scripts. When a package's zkg.meta also declares the scripts
folder the location for package-level scripts, the scripts get installed
redundantly in two places. Zeek cannot recognize them as duplicates, triggering
various errors relating to double-defined symbols.
This moves the package-level scripts to a subdirectory with a placeholder. The
placeholder avoids the zkg install-time warning, whose original fix in e3aea1
introduced this problem.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
74f9d11776
af_packet: Fix Zeek version dependency.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
e945e2c8bb
af_packet: Increase version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
45b3dbf267
af_packet: Slightly reorder README.
2025-08-20 08:52:25 -07:00
Johanna Amann
e4aa85d2a6
af_packet: Add FANOUT_CBPF and FANOUT_EBPF
2025-08-20 08:52:25 -07:00
Michael Dopheide
79842b25c1
af_packet: Namespace changes adding zeek:: as well as zeek/ prefix for include files.
2025-08-20 08:52:25 -07:00
Vlad Grigorescu
e3c5865684
af_packet: GetFanoutMode: Fix case statement (missing breaks).
...
Without this, you can't actually set the fanout mode to anything but HASH.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
62356c38dd
af_packet: Fixed test baseline to include defrag option.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
130f7f7272
af_packet: Increase version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
4deb8f6402
af_packet: Add support for defragmentation of IP packets.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
57dd239917
af_packet: Increase version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
8aa35fed6f
af_packet: Add upgrade note to README.
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
8d0bc4a804
af_packet: Add some missing includes due to changes in Zeek 3.1
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
a7195a7a75
af_packet: File naming and build system changes to support deprecation changes in Zeek 3.0
2025-08-20 08:52:25 -07:00
Jan Grashoefer
1f1627ad73
af_packet: Increased version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
5e3ae6227b
af_packet: Updated README.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
eb3dc4b563
af_packet: Include info files for distribution.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
9cc01769b4
af_packet: Minor improvements to fix compiler warnings.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
b6e52b262c
af_packet: Increased version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
4eaa201821
af_packet: Updated README regarding --with-latest-kernel.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
3adaef434b
af_packet: Added buffer_size option to broctl plugin.
...
The buffer size can now be set in node.cfg using the
af_packet_buffer_size key.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
a89379c353
af_packet: Added bro-pkg instructions to the README.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
1a107bd838
af_packet: Increased version number.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
1dfb115e35
af_packet: Fixed broctl example.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
478265b4f2
af_packet: Fixed compatibility for kernel versions < 3.14.
2025-08-20 08:52:25 -07:00
Jan Grashoefer
742b0820bc
af_packet: Imported version 1.1 of the plugin.
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
32522307d9
gen-zam: Fix clang-tidy and pre-commit warnings
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
a2f4f2adc3
gen-zam: Remove submodule, adapt CMake configuration for Zeek build
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
526238299d
gen-zam: Fix a pile of Coverity findings
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
3845fced55
gen-zam: Require C++20 for builds
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
f6f84184ed
gen-zam: Add clang-format pre-commit hook
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
d5cc0d5135
gen-zam: Add cmake-format pre-commit hook
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
027c075fb0
gen-zam: Use const references instead of copying type values
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
97492b4d70
gen-zam: Reserve space for args vector before pushing back items
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
75bba1a8f5
gen-zam: Fix clang-tidy bugprone-macro-parentheses/cppcoreguidelines-macro-usage warnings in headers
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
0acd4bf04e
gen-zam: Fix clang-tidy bugprone-branch-clone warnings in headers
2025-08-20 08:52:25 -07:00
Vern Paxson
53591cf205
gen-zam: generate descriptions of macros, akin to those already generated for operations
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
12bb2a04eb
gen-zam: Require CMake 3.15, in line with other Zeek projects
2025-08-20 08:52:25 -07:00
Vern Paxson
a20e268f13
gen-zam: more robust dispatch that allows for eval/eval-mixed overlap
2025-08-20 08:52:25 -07:00
Vern Paxson
736eb99054
gen-zam: extensive changes corresponding to those described in GH-3872
2025-08-20 08:52:25 -07:00
Vern Paxson
4ae4548ceb
gen-zam: gen-zam extended to read from multiple files on the command-line
2025-08-20 08:52:25 -07:00
Vern Paxson
aee70af743
gen-zam: fix for generating relational operations with first operand being a constant
2025-08-20 08:52:25 -07:00
Vern Paxson
f9385ef88d
gen-zam: hooks for supporting ZAM profiling
2025-08-20 08:52:25 -07:00
Vern Paxson
4e07a9681d
gen-zam: fixes for generating ZAM operations relating to indirect calls
2025-08-20 08:52:25 -07:00
Vern Paxson
6f8c54d69a
gen-zam: support for ZAM instructions using IntrusivePtr for call expression ASTs
2025-08-20 08:52:25 -07:00
Vern Paxson
6f648e36d1
gen-zam: fix to make generated function calls compatible with "when" lambdas
2025-08-20 08:52:25 -07:00
Tim Wojtulewicz
b04c03ee89
gen-zam: Fix some warnings from newer compilers about unqualified std::move calls
2025-08-20 08:52:25 -07:00
Vern Paxson
1e73b02977
gen-zam: better error reporting when ZAM code does a function call
2025-08-20 08:52:25 -07:00