Prior to this, static configuration needed to be in place to configure the
controller/agent layout. The configuration update can now include new instances
that the controller will connect to, assuming they're instances with a listening
agent.
Request records for configuration updates now store the full configuration. The
ClusterController::Request module now provies a to_string() function for
rendering requests to a string.
This job runs in sequence after the image build one, using its resulting image.
The actual tests live in the external zeek-testing-cluster testsuite, which
the new job clones and runs.
To specify a version of the testsuite to use, testing/external/ has a new
commit-hash.zeek-testing-cluster file that tracks the testsuite's relevant
commit ref
We used to attempt to remove any port specification before recording
HTTP host headers in logs. Doing so would (1) remove potentially useful
information, (2) not match what the documentation seemed to suggest, and
(3) fail for IP6 addresses containing colons.
We now record the original HOST header as is.
Addresses #1844.
Our test trace is extracted from https://www.cloudshark.org/captures/b9089aac6eee.
There actually seems to be a bug in the existing code: the URI passed to
bt_tracker_request() includes a partial HTTP version. This commits
includes the baseline as the current code produces it, we'll fix that in
a subsequent comment.
* origin/topic/vern/usage-usage:
fixes for double-delete and reducing '?' operator with constant alternatives
additional test suite updates for "-u" usage issues
test suite updates for "xform" and "usage" alternatives, plus test name change
removed unused script variable
correct usage info for -u flag; -uu no longer supported
fix typo in btest filename
* origin/topic/vern/cpp-incr:
tweak to keep clang-format happy
minor note regarding improving performance of C++-generated code
factoring of generating C++ initializations, no semantic changes
restored support for incremental compilation of scripts to C++
fixes for -O gen-standalone-C++
new ZEEK_FILE_ONLY and ZEEK_FUNC_ONLY environment variables for debugging script optimization - replaces ZEEK_ONLY
fix for compiling record constructors to C++
fixes for compiling vector operations to C++
fixed for profiling missing some profile elements
removing vestigial methods
minor efficiency tweak for ZAM record construction
* origin/topic/timw/null-checks:
Check for sets before attempting to check for same Yield types
Add early bail-outs to same_type()
Fix types for Analyzer::register_for_port(s) to be the same
* origin/topic/vern/which-opt2:
btests for new --optimize-funcs and --optimize-files
update btest to no longer use (unsupported) %S formatting, no longer needed
replace --optimize-only with --optimize-funcs and --optimize-files
* origin/topic/vern/cpp-maint-dec21:
fixes for vector operations
flag globals initialized to opaque values as non-compilable
skip type signatures for lambdas
fix for translating filenames beginning with numbers to C++ variable names
remove unnecessary includes