* origin/topic/timw/1114-analyzers:
Add type field to session::Key to help avoid collisions in map
Move bad UDP checksum handling into adapter object
Rename IPBasedTransportAnalyzer to SessionAdapter
Move building session analyzer tree out of analyzer::Manager
Rework the packet flow through the IP-based analyzers
Add new UDP packet analyzer, remove old one
Add new ICMP packet analyzer, remove old one
Add base class for IP-based packet analyzers
Move SessionManager::ParseIPPacket to IP analyzer's namespace
Added skeletons for TCP/UDP/ICMP packet analysis plugins.
* origin/topic/jsiwek/gh-1244-print-small-floating-point:
Omit unneeded decimal points in modp_dtoa2() scientific notation output
GH-1244: Change modp_dtoa2() to use scientific notation for small values
* 'master' of https://github.com/kramse/zeek:
Added note about default configuration
More precise description of the example
Removed tcpdump file, as it may not even work.
Just a few ideas for improving the manual page
* origin/topic/vern/cpp: (34 commits)
fixed cut-and-paste botch (redundant line of code)
Fix LGTM warnings in script_opt/CPP code
bug fixes for stand-alone compiles with empty records
remove -O force-C++, and also some inadvertently replicated code
better initial workflow, thanks to Jon Siwek
remove optimization no longer needed
removed redundant Traverse invocation
style nit: removed std:: where not needed due to "using" clause
Fix various compiler/linter warnings in script_opt/CPP code
first cut at embedding filenames in C++ function names - for Justin to test
fixes for personal build scripts - will go away once workflow is streamlined
whoops removed a std:: from generated code
decluttered code by removing "std::" - no semantic changes (also some whitespace fixes)
porting fixes from Justin
documenting poor run-time error messages
README documentation
minor tweaks tidyness tweaks
notes for tests that are problematic when using compile-to-C++
new "-a cpp" btest alternative
hooks for activating the compiler & associated BiF
...
* origin/topic/christian/install-btest-tooling:
Explain zeek-config options in help output
Sort variables at top of zeek-config alphabetically
Install Zeek's btest tooling with the distribution
* origin/topic/vern/record-holes:
switched RecordVal's to use std::optional for tracking missing fields
added constructors for directly building ZVal's
* origin/topic/timw/1114-sessions-manager:
Rename ConnID and ConnIDKey
Remove Session prefix from some session-related classes and files
Move session code into new directory and into zeek::session namespace
Move SessionKey into a separate file, added comments
Review cleanup
Rework stats to store handles to the counters
Rename some connection-specific methods in Session and SessionManager
Add deprecated version of Sessions.h
Rename NetSessions to SessionManager
Store a single map of Sessions instead of split maps of Connections.
Convert session stats to use the new telemetry API
Add test for get_conn_stats BIF before reworking session stats
Add new Session base class
Move packet filter out of NetSessions
Move some code out of NetSessions
* origin/topic/jsiwek/misc-table-stuff:
Add a fatal error condition for invalid Dictionary insertion distances
Fix using clear_table() within an &expire_func
Remove saving/restoring of value pointer after calling expire_func
Avoid allocating a HashKey for no-op table expiry iterations
* origin/topic/vern/vector-holes:
Remove NEWS entry regarding changed vector-holes functionality
Fix potential segfaults in VectorVal Insert/Remove methods
Fix copy() to work with a vector that has trailing holes
update test suite for vector holes now being supported for numeric types
add vector tests for creating holes, "in" operator, "?" operator, copying vectors with holes
restore support for vectors with holes remove vestigial comment
fix using ++/-- to vectors that contain holes
- Extended a btest to cover tables/sets with index types
(this was originally broken until fixed by GH-1514)
* origin/topic/jsiwek/gh-1506-fix-broker-func-indices:
GH-1506: Fix Broker unserialization of set/table function indices
* origin/topic/timw/1487-not-valid-enum:
Move an assert() in input/Manager.cc to account for ValueToVal errors
Add test for config framework
Fix similar issues with ValueTo* methods in the input framework
GH-1487: Handle error from ValueToVal instead of ignoring it
Coverity has trouble analyzing them and they're contributing to
bringing the overall successfully-analyzed-compilation-unit ratio
below the required 85%.
- Minor adjustments to header includes, whitespace, and a
compiler warning fix during merge
* origin/topic/neverlord/gh-1408:
Add new Timer class to the telemetry API
Fix build with latest VectorVal API
Update baselines
Prefix telemetry BIFs with __
Expose telemetry API to scripting land
Add handle types for histogram metrics
Move duplicated code to detail header
Adhere to Zeek coding style
Apply suggestions from code review
Add telemetry Manager to Zeek setup / teardown
Add missing whitespaces for Zeek coding style
Add gauge metric types
Add scaffold for new metrics API with counters
* origin/topic/vern/cpp-prep-profiling:
Add missing errno include to ProfileFunc.cc
Adjust GetAttrs() usage in ProfileFunc::PreExpr() to const-reference
Fix whitespace in ProfileFunc::PreExpr()
Avoid redundant map/set searches in various ProfileFunc methods
Improve detail::script_specific_filename()
Use std::string_view in p_hash() to avoid string copies
function profiling rewritten - more detailed info, supports global profiling
track whether a given function/body should be included/skipped for optimization
* origin/topic/vern/global-stmts:
whitespace adjustment
"balance" tests with multiple Zeek scripts to load the same elements
put global statements into a quasi-function to support script optimization