Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from zeek:master #1027

Open
wants to merge 4,999 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4999 commits
Select commit Hold shift + click to select a range
6482a9a
Merge remote-tracking branch 'origin/topic/awelzel/ctu-sme-11-vm-win7ad'
awelzel Dec 5, 2024
e773fe0
init-bare: Deprecate tcp_reassembler_ports
awelzel Dec 5, 2024
488ac7d
Merge remote-tracking branch 'origin/topic/vern/zam-pattern-comparison'
timwoj Dec 5, 2024
9efa12b
Merge remote-tracking branch 'origin/topic/vern/ZAM-empty-hook-opt'
awelzel Dec 5, 2024
93a3a11
Merge remote-tracking branch 'origin/topic/vern/script-opt-keep-asserts'
awelzel Dec 5, 2024
682789a
Merge remote-tracking branch 'origin/topic/awelzel/deprecate-tcp-reas…
timwoj Dec 5, 2024
e6e31bc
fix for ZAM "assert" statements potentially evaluating invalid expres…
vpax Dec 5, 2024
a177654
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 6, 2024
2f27db6
Merge remote-tracking branch 'origin/topic/vern/zam-assert-fix'
awelzel Dec 6, 2024
4958c56
Add missing "COPYING" in file comments
awelzel Dec 6, 2024
d93249e
pre-commit: Add license-header check inspired by Spicy
awelzel Dec 6, 2024
9619cd0
Add missing copyright line to headers and cc files
awelzel Dec 6, 2024
51836d0
protocol: Add StreamEvent analyzer
awelzel Dec 5, 2024
079ae46
btest/http: Demo StreamEvent analyzer with HTTP::upgrade_analyzers
awelzel Dec 5, 2024
27517ee
Merge remote-tracking branch 'origin/topic/awelzel/4068-http-upgrade-…
awelzel Dec 6, 2024
bbd7f56
Add signatures for Python bytecode for 3.8-3.14
timwoj Dec 6, 2024
e81856a
No need to namespace Cluster:: functions in their own namespace
ckreibich Nov 8, 2024
b9df167
Bump Broker to pull in disconnect feature and infinite-loop fix
ckreibich Oct 10, 2024
4c4eb4b
Add Zeek-level configurability of Broker slow-peer disconnects
Neverlord Sep 25, 2024
0010e65
Support re-peering with Broker peers that fall behind
ckreibich Oct 12, 2024
46a11ec
Add Cluster::nodeid_to_node() helper function
ckreibich Nov 19, 2024
d260a5b
Remove unneeded @loads from base/misc/version.zeek
ckreibich Nov 19, 2024
ead6134
Add backpressure disconnect notification to cluster.log and via telem…
ckreibich Nov 19, 2024
db79c88
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 7, 2024
7ed3f79
modified merge_types() to skip work if given identical types, which
vpax Dec 7, 2024
62f891d
modified AST profiling to mark (and fully skip) non-optimizable funct…
vpax Dec 7, 2024
79c5790
when reporting available/unavailble C++ script bodies, flag those tha…
vpax Dec 7, 2024
612d99e
streamline generated -O C++ code by relying on per-function profiles …
vpax Dec 7, 2024
2e69a88
introduced simplified initialization for non-standalone -O gen-C++ code
vpax Dec 7, 2024
de98f1c
fix for -O gen-C++ maintenance helper to skip BTest intermediary files
vpax Dec 7, 2024
2047ae9
mark ZAM regression BTests as not suitable for compile-to-C++
vpax Dec 7, 2024
96305aa
BTest baseline updates for compile-to-C++
vpax Dec 7, 2024
e6d0c8a
Add sleep() BiF.
ckreibich Dec 2, 2024
feb2aa8
Expand documentation of Broker events.
ckreibich Dec 4, 2024
83d16f9
Bump cluster testsuite to pull in Broker backpressure tests
ckreibich Dec 3, 2024
99989b8
Disable CTU-SME test under TSAN
awelzel Dec 9, 2024
28f76d5
ScriptOpt: Fail compilation if known exprs/stmts is outdated
awelzel Dec 9, 2024
0ebcd96
Merge remote-tracking branch 'origin/topic/vern/script-opt-uncompilab…
awelzel Dec 9, 2024
97c0df2
Bump clang-format pre-commit hooks
bbannier Dec 9, 2024
24894fe
Bump typos pre-commit hooks
bbannier Dec 9, 2024
29a49a5
Bump pre-commit hooks
bbannier Dec 9, 2024
08c5a9c
Introduce get_current_packet_ts to fix packet lag
J-Gras Aug 23, 2024
6977c07
Add btest for get_current_packet_ts()
J-Gras Aug 26, 2024
e94fe45
Merge remote-tracking branch 'origin/topic/bbannier/bump-pre-commit-h…
bbannier Dec 9, 2024
f6c44e3
DNS/dns_binds_rr: Fix complte to complete typo, switch to count
awelzel Dec 9, 2024
ccefd66
Move python signatures to a separate file
timwoj Dec 6, 2024
c2b17f9
Introduce get_packet_lag()
J-Gras Dec 9, 2024
832b9b6
Merge remote-tracking branch 'origin/topic/timw/python-magic-numbers'
timwoj Dec 9, 2024
6e75417
Merge remote-tracking branch 'origin/topic/vern/CPP-streamlining'
timwoj Dec 9, 2024
cb7cda9
Merge remote-tracking branch 'origin/topic/awelzel/license-header-cle…
timwoj Dec 9, 2024
09541d5
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 10, 2024
1c42bfc
Merge branch 'topic/christian/disconnect-slow-peers'
ckreibich Dec 10, 2024
a32ea43
NEWS tweaks [skip ci]
ckreibich Dec 10, 2024
9034e13
Merge remote-tracking branch 'origin/topic/awelzel/fix-dns-binds-comp…
awelzel Dec 10, 2024
9228f0f
Add protocol_id count to unknown protocol record
J-Gras Dec 10, 2024
1805afe
Add btest for unknown_protocols.log
J-Gras Dec 10, 2024
77465a9
Merge remote-tracking branch 'jgras/topic/jgras/fix-packet-lag'
awelzel Dec 10, 2024
7449b05
Update BiF-tracking, add get_current_packet_ts()
awelzel Dec 10, 2024
79a7135
Merge remote-tracking branch 'origin/topic/awelzel/bif-tracking-fix'
awelzel Dec 10, 2024
210b547
cluster: Move publish_hrw() and publish_rr() to cluster.bif
awelzel Nov 15, 2024
a2249f7
cluster: Add Cluster::node_id(), allow redef of node_topic(), nodeid_…
awelzel Nov 15, 2024
889c7d8
cluster/backend/zeromq: Add cppzmq submodule
awelzel Nov 14, 2024
35c79ab
cluster/backend/zeromq: Add ZeroMQ based cluster backend
awelzel Nov 14, 2024
34275af
ci: Add cppzmq and libzmq to most platforms
awelzel Nov 15, 2024
2f37dcf
tsan_suppressions: Add called_from_lib: libzmq
awelzel Nov 15, 2024
d946be8
docker: Add cppzmq/libzmq dependencies
awelzel Nov 15, 2024
df69ec1
generate-docs: Run on Ubuntu 24.04, add cppzmq
awelzel Nov 15, 2024
d816bfb
btest/generic: Add publish_hrw(), publish_rr() and logging tests
awelzel Nov 22, 2024
07e23fb
zeromq: Conditionally enable by default
awelzel Dec 4, 2024
9e9d0ba
CMakeLists: Cluster backends output
awelzel Dec 4, 2024
b93a4f5
configure: Add --disable-cluster-backend-zeromq
awelzel Dec 10, 2024
759281d
Update ZAM BiF-tracking
awelzel Dec 10, 2024
666d319
Merge remote-tracking branch 'origin/topic/christian/news-tweaks'
timwoj Dec 10, 2024
f61ba4d
Update zeek-testing and zeek-testing-cluster commit hashes
timwoj Dec 10, 2024
0701895
Merge remote-tracking branch 'J-Gras/topic/jgras/add-unknown-proto-co…
timwoj Dec 10, 2024
567d2f3
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 11, 2024
4ee2f92
Merge remote-tracking branch 'origin/topic/awelzel/pluggable-cluster-…
awelzel Dec 11, 2024
f674fc2
Merge remote-tracking branch 'origin/topic/timw/update-zeek-testing'
awelzel Dec 11, 2024
0ad3210
Broker::publish: Warn on using Broker::publish() when inactive
awelzel Dec 11, 2024
c6c6d88
btest/coverage: Avoid warnings in test-all-policy-cluster
awelzel Dec 11, 2024
85189ca
btest: Avoid loading ZeroMQ if not compiled in
awelzel Dec 11, 2024
7f3bea7
Merge remote-tracking branch 'origin/topic/awelzel/broker-publish-warn'
timwoj Dec 11, 2024
beb7b5b
CI: Install python 3.9 on ubuntu 20
timwoj Dec 4, 2024
566fa7c
Require Python 3.9 in CMakeLists.txt
timwoj Dec 5, 2024
641306b
Upgrade btest submodule to get python upgrade
timwoj Dec 4, 2024
38fb76d
Upgrade zeek-client submodule to get python upgrade
timwoj Dec 4, 2024
c98ed62
Upgrade zeekctl submodule to get python upgrade
timwoj Dec 9, 2024
e65e92e
Upgrade broker submodule to get python upgrade
timwoj Dec 10, 2024
b02f812
Upgrade package-manager submodule to get python upgrade
timwoj Dec 10, 2024
49f82b3
Swap pre-commit yapf for ruff/ruff-format, fix findings
timwoj Dec 10, 2024
649cedb
Merge remote-tracking branch 'origin/topic/timw/python-upgrade'
timwoj Dec 11, 2024
b1d077c
Add Spicy analyzers to Coverity builds
timwoj Dec 11, 2024
9f1a30d
Merge remote-tracking branch 'origin/topic/timw/add-spicy-to-coverity'
timwoj Dec 11, 2024
3711af5
Add blurb about Spicy SSL to NEWS
0xxon Dec 11, 2024
9e19b51
Merge remote-tracking branch 'origin/topic/johanna/spicysslnews'
timwoj Dec 11, 2024
7b8f9b5
NEWS additions for v7.1 [nomail] [skip ci]
timwoj Dec 10, 2024
4eebc97
Add note about various dependency updates [nomail] [skip ci]
timwoj Dec 11, 2024
746d61f
Run Coverity workflow on ubuntu 22.04
timwoj Dec 11, 2024
1043840
Pre-compute the node topics for all pool entries.
Dec 11, 2024
72375ab
Update zeekctl submodule to remove BroControl dir
timwoj Dec 11, 2024
b547c72
Merge remote-tracking branch 'origin/topic/timw/remove-brocontrol-dir'
timwoj Dec 11, 2024
fb74834
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 12, 2024
2356388
Fix ZAM's implementation of Analyzer::name() BiF
ckreibich Dec 12, 2024
271fc15
cluster: Be noisy when attempting to connect to an unknown node
awelzel Dec 12, 2024
42406ad
Bump auxil/spicy to latest development snapshot
bbannier Dec 9, 2024
e100a8e
Merge remote-tracking branch 'origin/topic/christian/fix-zam-analyzer…
awelzel Dec 12, 2024
953fe8e
Merge remote-tracking branch 'origin/topic/justin/pools-cache-node-to…
awelzel Dec 12, 2024
d9a74cf
cluster: Fix Cluster::publish() of Broker::Data
awelzel Dec 12, 2024
f58a2c2
sumstats: Move to Cluster::publish()
awelzel Dec 11, 2024
347faf5
intel: Move to Cluster::publish()
awelzel Dec 11, 2024
a9243ba
notice: Move to Cluster::publish()
awelzel Dec 11, 2024
b372b47
dhcp: Move to cluster publish
awelzel Dec 11, 2024
387db42
ftp: Move to Cluster::publish()
awelzel Dec 11, 2024
3d37064
irc: Move to Cluster::publish()
awelzel Dec 11, 2024
32c9c94
ssl/validate-certs: Move to Cluster::publish()
awelzel Dec 11, 2024
66f6149
config: Move to Cluster::publish()
awelzel Dec 11, 2024
100b825
netcontrol/catch-and-release: Move to Cluster::publish()
awelzel Dec 11, 2024
b2df78c
openflow: Move to Cluster::publish()
awelzel Dec 11, 2024
fdf783d
cluster/Backend: Handle unspecified table/set
awelzel Dec 11, 2024
3d55341
netcontrol: Move to Cluster::publish()
awelzel Dec 11, 2024
98ec627
Merge branch 'topic/timw/7.1-news-updates'
timwoj Dec 12, 2024
c3bae4f
Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy'
timwoj Dec 12, 2024
25554fa
Merge remote-tracking branch 'origin/topic/awelzel/fix-cluster-publis…
timwoj Dec 12, 2024
1158757
Merge remote-tracking branch 'origin/topic/awelzel/move-broker-to-clu…
timwoj Dec 12, 2024
0a813a5
-O gen-standalone-C++ fixes for recent more aggressive AST profiling
vpax Dec 12, 2024
8876ec6
BTest updates in support of compiling-scripts-to-C++
vpax Dec 12, 2024
14b5919
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 13, 2024
f4421d8
fix for memory management associated with ZAM table iteration
vpax Dec 13, 2024
85ef6e0
removed a bunch of no-longer used BTest alternatives and their associ…
vpax Dec 13, 2024
94f64a6
Merge remote-tracking branch 'origin/topic/vern/preen-btest-alternati…
ckreibich Dec 13, 2024
4b6cec4
simplified ZAM instructions for executing "assert" statements
vpax Dec 13, 2024
38e77ea
zeekygen: Disable Cluster::Experimental module
awelzel Dec 13, 2024
9c5c8b5
Merge remote-tracking branch 'origin/topic/vern/CPP-standalone-fixes'
awelzel Dec 13, 2024
8d09a40
Merge remote-tracking branch 'origin/topic/awelzel/zeekygen-disable-c…
awelzel Dec 13, 2024
eac91fd
cirrus: Move additional tag "computation" into separate script
awelzel Dec 13, 2024
522b03d
cirrus/container_image_manifest: match RC tags, too
awelzel Dec 13, 2024
805e9db
Merge remote-tracking branch 'origin/topic/vern/ZAM-tbl-iteration-mem…
timwoj Dec 13, 2024
48b26f7
btest/validate-ZAM: Update baseline, run always
awelzel Dec 13, 2024
21e33fd
btest/cluster: Bump timeouts to 30 seconds
awelzel Dec 13, 2024
a675aea
btest/supervisor: Bump one timeout to 30 seconds
awelzel Dec 13, 2024
ef98afb
Merge remote-tracking branch 'origin/topic/awelzel/3287-push-rc-conta…
timwoj Dec 13, 2024
d788ab8
Merge remote-tracking branch 'origin/topic/vern/ZAM-assert-streamlining'
timwoj Dec 13, 2024
ee6d137
Merge remote-tracking branch 'origin/topic/vern/ZAM-assert-streamlining'
timwoj Dec 13, 2024
0b301bb
Updating submodule(s) [nomail]
timwoj Dec 13, 2024
0890de2
Merge remote-tracking branch 'origin/topic/timw/update-all-submodules'
timwoj Dec 13, 2024
db3dcd5
Start of 7.2.0 development
timwoj Dec 13, 2024
d702675
CI: Add missing packages to coverity workflow
timwoj Dec 13, 2024
909a3d3
Merge branch 'topic/timw/coverity-build-failure'
timwoj Dec 13, 2024
ef35ead
Fix naming of cppzmq-dev package in Coverity workflow
timwoj Dec 16, 2024
9a4791f
Fix naming of zeromq package in Coverity workflow
timwoj Dec 16, 2024
15511e0
QUIC/decrypt_crypto: Fix decrypting into too small stack buffer
awelzel Dec 11, 2024
f10832d
QUIC/decrypt_crypto: Limit payload_length to 10k
awelzel Dec 11, 2024
7bdc856
QUIC/decrypt_crypto: Actually check if decryption was successful
awelzel Dec 11, 2024
cd8adb3
Expr: Fix folding of pattern values to support == and !=
awelzel Dec 16, 2024
f940f2d
Merge remote-tracking branch 'security/topic/awelzel/217-quic-decrypt…
timwoj Dec 16, 2024
30de8db
ZAM/relexpr-op NE for patterns
vpax Dec 16, 2024
33eaa5c
Merge remote-tracking branch 'origin/topic/awelzel/4084-vector-of-pat…
timwoj Dec 16, 2024
6b5d049
Return a warning and fail if creating a store at global scope
timwoj Dec 16, 2024
e448961
Merge remote-tracking branch 'origin/topic/timw/3969-broker-stores-at…
timwoj Dec 17, 2024
6e54955
fix for ZAM optimization of assigning a record field to result of "in…
vpax Dec 18, 2024
f290529
pre-commit: Bump spicy-format to 0.23
awelzel Dec 18, 2024
991bc96
Merge remote-tracking branch 'origin/topic/vern/ZAM-field-assign-in-op'
awelzel Dec 18, 2024
77273a6
Document `get_tag` to ensure that `name` exists
evantypanski Dec 18, 2024
fd4f259
Add spicy runtime-support current_analyzer_id(), use it to set id in …
timwoj Dec 18, 2024
f405f4e
Merge remote-tracking branch 'origin/topic/timw/4090-current-spicy-an…
timwoj Dec 18, 2024
15a506a
Merge remote-tracking branch 'origin/topic/etyp/get-tag-doc'
timwoj Dec 19, 2024
6502261
Update doc submodule [nomail] [skip ci]
zeek-bot Dec 20, 2024
eb8f99d
Require spicy for spicy.analyzer-id btest
timwoj Dec 20, 2024
3a0bb55
Merge remote-tracking branch 'origin/topic/timw/require-spicy-for-ana…
timwoj Dec 20, 2024
4278ab2
Bump auxil/spicy to latest development snapshot
bbannier Dec 20, 2024
f39f0aa
Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy'
timwoj Dec 20, 2024
9e85a0d
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 1, 2025
e8960e0
Fix incorrect uses of `zeek:see`
bbannier Jan 1, 2025
3d58732
fixes for initializing globals when using -O gen-standalone-C++
vpax Jan 1, 2025
4f48428
factoring of some ZAM header files for better modularity
vpax Jan 2, 2025
7a908a2
Extended ZAM validation to include macros
vpax Jan 2, 2025
b0b534d
CI: Upgrade coverity workflow to ubuntu24, add jq
timwoj Jan 5, 2025
2cc2056
CI: Remove use of wget from coverity workflow
timwoj Jan 5, 2025
f95298f
CI: Fix coverity workflow to support large uploads
timwoj Jan 5, 2025
6deae2d
Merge remote-tracking branch 'origin/topic/bbannier/fix-zeek-see-uses'
timwoj Jan 5, 2025
01e6c2c
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 6, 2025
c99f544
Update ssl consts with more post-quantum curves
0xxon Jan 6, 2025
c892594
Merge remote-tracking branch 'origin/topic/timw/coverity-upload-large…
timwoj Jan 6, 2025
7f4a620
Merge remote-tracking branch 'origin/topic/johanna/more-post-quantum-…
timwoj Jan 6, 2025
a819d7c
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 7, 2025
87d9ecb
More updates to the SSL consts from recent protocol additions
0xxon Jan 7, 2025
2ce71a7
Merge remote-tracking branch 'origin/topic/johanna/even-more-tls-cons…
timwoj Jan 7, 2025
9f72353
Raise warnings when for DNS events that are not raised due to dns_ski…
0xxon Jan 7, 2025
0ff3fbb
Add 7.1 contributors to NEWS file [skip ci]
ckreibich Jan 7, 2025
f1c054f
Merge remote-tracking branch 'origin/topic/christian/news-7-1-contribs'
timwoj Jan 7, 2025
adf02b4
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 8, 2025
8b85acf
Add CECPQ2 curve number to SSL consts
0xxon Jan 8, 2025
0b2f843
Try to be more careful with `--help` printing
evantypanski Jan 7, 2025
5d55d40
CI: Fix escaping in coverity workflow
timwoj Jan 8, 2025
e0961da
Merge remote-tracking branch 'origin/topic/timw/fix-coverity-request'
timwoj Jan 8, 2025
ac1c55c
Merge remote-tracking branch 'origin/topic/johanna/yet-another-curve-…
0xxon Jan 8, 2025
b76cc88
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 9, 2025
597e137
Merge remote-tracking branch 'origin/topic/etyp/help-stdout'
ckreibich Jan 9, 2025
fe44022
Update COPYING date to now and fix some [skip CI]
evantypanski Jan 8, 2025
0fc7a8c
Merge remote-tracking branch 'origin/topic/etyp/copying-2025'
awelzel Jan 9, 2025
34f13e7
Harden flaky test based on creating a file
evantypanski Jan 9, 2025
f57e650
Merge remote-tracking branch 'origin/topic/vern/CPP-standalone-fixes'
timwoj Jan 9, 2025
7df5298
Merge remote-tracking branch 'origin/topic/vern/zam-header-factoring'
timwoj Jan 9, 2025
c30af24
Add missing include for <vector>
timwoj Jan 9, 2025
a919226
Merge remote-tracking branch 'origin/topic/vern/macro-descriptions'
timwoj Jan 9, 2025
a4d9067
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 10, 2025
5fbbbe9
Fix another typo in the Coverity workflow script
timwoj Jan 10, 2025
05e3de9
Add recommended non-routable subnets
JW-Corelight Jan 7, 2025
0fcbc85
Update btests for new local-only subnets
timwoj Jan 9, 2025
c10b182
Merge remote-tracking branch 'origin/topic/timw/non-routeable-subnets'
timwoj Jan 10, 2025
7f1d3ae
Bump auxil/spicy to latest development snapshot
bbannier Jan 8, 2025
a4ab0af
Prevent unnecessary copies in Spicy bindings
bbannier Jan 9, 2025
85ad608
Prevent exception escape.
bbannier Jan 9, 2025
3ea2d27
Prevent exception in `noexcept` function.
bbannier Jan 9, 2025
feec451
Clean up some includes
bbannier Jan 9, 2025
a17ca4f
Mark `swap` specialization `noexcept`
bbannier Jan 9, 2025
f2d54db
Merge remote-tracking branch 'origin/topic/etyp/harden-flaky-test'
ckreibich Jan 10, 2025
7b31266
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 11, 2025
8910415
Merge branch 'topic/bbannier/bump-spicy'
bbannier Jan 11, 2025
436d232
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 12, 2025
0970880
Fix incomplete includes in Spicy SSL analyer C++ code
bbannier Jan 12, 2025
1680943
Update zeekctl submodule [nomail]
timwoj Jan 10, 2025
3673765
Merge remote-tracking branch 'origin/topic/timw/non-routeable-subnets'
timwoj Jan 13, 2025
1ff5569
Add SECURITY.md, pointing at the website
timwoj Jan 10, 2025
3ae6904
Merge branch 'topic/timw/add-security-md'
timwoj Jan 13, 2025
8931c35
Merge remote-tracking branch 'origin/topic/bbannier/fix-spicy-ssl-inc…
timwoj Jan 13, 2025
2fd20f7
Prevent copies in various places
bbannier Jan 13, 2025
3f5fd5c
Bump auxil/spicy to latest development snapshot
bbannier Jan 13, 2025
300b378
Merge branch 'topic/bbannier/coverity'
bbannier Jan 14, 2025
13f042c
Address review comments and small updates for DNS warnings
0xxon Jan 8, 2025
6bfa559
Update BiF-tracking, add is_event_handled
0xxon Jan 8, 2025
927a06b
logging: Fix HookLogInit() and HookLogWrite() info usage
awelzel Jan 14, 2025
345c4ca
logging: Avoid repeated writer name lookups for plugin hooks
awelzel Jan 14, 2025
fd2229e
logging: Fix reporter message
awelzel Jan 14, 2025
960931b
support for record extensions when using -O gen-standalone-C++
vpax Jan 10, 2025
5f91f84
Merge remote-tracking branch 'origin/topic/vern/C++-standalone-record…
awelzel Jan 14, 2025
b2222e9
Merge remote-tracking branch 'origin/topic/johanna/gh-4061'
0xxon Jan 14, 2025
a14dd51
Prevent unneeded copies in QUIC C++ helper code
bbannier Jan 14, 2025
0e12e68
Bump auxil/spicy to latest development snapshot
bbannier Jan 14, 2025
c6f9dfb
Merge branch 'topic/bbannier/coverity'
bbannier Jan 14, 2025
868eb12
Merge remote-tracking branch 'origin/topic/awelzel/fix-writer-info-in…
awelzel Jan 14, 2025
f571ee3
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 15, 2025
a3b54b6
fixes for -O gen-standalone-C++ generation of lambdas
vpax Jan 15, 2025
eed205d
Update doc submodule [nomail] [skip ci]
zeek-bot Jan 17, 2025
33fd324
session/Manager: Header cleanup
awelzel Jan 17, 2025
1105c8f
IPAddr/ConnKey: Promote transport to uint16_t
awelzel Jan 17, 2025
ec0a85f
IPAddr/ConnKey: Protect from uninitialized conn_id
awelzel Jan 17, 2025
17836ef
session/Manager: Emit explicit errors for FindConnection() with proto…
awelzel Jan 17, 2025
92f2f66
Merge remote-tracking branch 'origin/topic/vern/standalone-lambdas'
awelzel Jan 20, 2025
7e5a9c3
Merge remote-tracking branch 'origin/topic/awelzel/lookup-connection-…
timwoj Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
713 changes: 599 additions & 114 deletions .cirrus.yml

Large diffs are not rendered by default.

173 changes: 111 additions & 62 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,74 +1,66 @@
# Clang-format configuration for Zeek. This configuration requires
# at least clang-format 12.0.1 to format correctly.

Language: Cpp
Standard: c++17

BreakBeforeBraces: Whitesmiths

# BraceWrapping:
# AfterCaseLabel: true
# AfterClass: false
# AfterControlStatement: Always
# AfterEnum: false
# AfterFunction: true
# AfterNamespace: false
# AfterStruct: false
# AfterUnion: false
# AfterExternBlock: false
# BeforeCatch: true
# BeforeElse: true
# BeforeWhile: false
# IndentBraces: true
# SplitEmptyFunction: false
# SplitEmptyRecord: false
# SplitEmptyNamespace: false
# See the file "COPYING" in the main distribution directory for copyright.

---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignTrailingComments: false
AllowShortBlocksOnASingleLine: Empty
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: true
BreakConstructorInitializers: BeforeColon
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: false
FixNamespaceComments: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentExternBlock: NoIndent
IndentPPDirectives: None
IndentWidth: 4
NamespaceIndentation: None
PointerAlignment: Left
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: true
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInConditionalStatement: true
SpacesInContainerLiterals: false
SpacesInParentheses: false
TabWidth: 4
UseTab: AlignWithSpaces

# Setting this to a high number causes clang-format to prefer breaking somewhere else
# over breaking after the assignment operator in a line that's over the column limit
PenaltyBreakAssignment: 100

BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: 'NOLINT'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup

# Include categories go like this:
Expand All @@ -79,6 +71,7 @@ IncludeBlocks: Regroup
# 4: any header that starts with "zeek/"
# 5: everything else, which should catch any of the auto-generated code from the
# build directory as well
# 6: third party doctest header
#
# Sections 0-1 and 2-3 get grouped together in their respective blocks
IncludeCategories:
Expand All @@ -94,7 +87,63 @@ IncludeCategories:
- Regex: '^<[[:print:]]+>'
Priority: 2
SortPriority: 3
- Regex: '^"zeek/3rdparty/doctest.h'
Priority: 6
- Regex: '^"zeek/'
Priority: 4
- Regex: '.*'
Priority: 5

IncludeIsMainRegex: '$'
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: '^BEGIN_'
MacroBlockEnd: '^END_'
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 500
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: false
SpaceAfterLogicalNot: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInConditionalStatement: true
Standard: Cpp11
StatementMacros:
- STANDARD_OPERATOR_1
TabWidth: 4
UseTab: Never
---
Language: Json
...
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Checks: '-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
clang-analyzer-*,
performance-*'
88 changes: 88 additions & 0 deletions .cmake-format.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"parse": {
"additional_commands": {
"CheckIPProto": {
"kwargs": {
"_proto": "*"
}
},
"CheckType": {
"kwargs": {
"_type": "*",
"_alt_type": "*",
"_var": "*"
}
},
"SetPackageVersion": {
"kwargs": {
"_version": "*"
}
},
"SetPackageFileName": {
"kwargs": {
"_version": "*"
}
},
"SetPackageInstallScripts": {
"kwargs": {
"VERSION": "*"
}
},
"ConfigurePackaging": {
"kwargs": {
"_version": "*"
}
},
"SetPackageGenerators": {},
"SetPackageMetadata": {},
"FindRequiredPackage": {
"kwargs": {
"packageName": "*"
}
},
"InstallClobberImmune": {
"kwargs": {
"_srcfile": "*",
"_dstfile": "*"
}
},
"InstallPackageConfigFile": {
"kwargs": {
"_srcfile": "*",
"_dstdir": "*",
"_dstfilename": "*"
}
},
"InstallShellScript": {
"kwargs": {
"_srcfile": "*",
"_dstfile": "*"
}
},
"InstallSymLink": {
"kwargs": {
"_filepath": "*",
"_sympath": "*"
}
},
"spicy_add_analyzer": {
"kwargs": {
"NAME": "*",
"PACKAGE_NAME": "*",
"SOURCES": "*",
"MODULES": "*"
}
}
}
},
"format": {
"line_width": 100,
"tab_size": 4,
"separate_ctrl_name_with_space": true,
"max_subgroups_hwrap": 3,
"line_ending": "unix"
},
"markup": {
"enable_markup": false
}
}
9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@ e97c14add5b04aedc7f3f9dba59f665cbad793af

# Remove trailing whitespace from script files
a6378531dbc5c357926d98fe785bb719cc70e1b4

# clang-format: Reformat Zeek in Spicy style
f5a76c1aedc7f8886bc6abef0dfaa8065684b1f6

# clang-format: Bump pre-commit hooks.
26d04fd9fca0868d9c81e02fbffb6f81a00b56e5

# clang-format: Format JSON with clang-format
e6256446ddef5c5d5240eefff974556f2e12ac46
6 changes: 5 additions & 1 deletion .github/workflows/ci-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ jobs:
if: github.repository == 'zeek/zeek'
runs-on: ubuntu-latest
steps:
- name: Show the event
run: cat "$GITHUB_EVENT_PATH" || true

- name: Send CI Email Notification
uses: zeek/ci-email-action@master
env:
CI_APP_NAME: "Cirrus CI"
BRANCH_WHITELIST: "master|release/.*"
BRANCH_REGEX: "master|release/.*"
SKIP_CONCLUSIONS: 'cancelled,neutral,skipped'
SMTP_HOST: ${{ secrets.SMTP_HOST }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
SMTP_USER: ${{ secrets.SMTP_USER }}
Expand Down
Loading