Commit graph

2189 commits

Author SHA1 Message Date
Tim Wojtulewicz
3038ec9578 Merge remote-tracking branch 'origin/topic/vlad/bogon'
* origin/topic/vlad/bogon:
  Zeekygen doesn't support comments on set members
  Add 6to4 addresses, if the matching IPv4 address is private
  Update Site::private_address_space to latest IANA networks
2021-07-13 12:25:32 -07:00
Christian Kreibich
281eef398f Merge branch 'topic/vlad/doc_tweaks'
* topic/vlad/doc_tweaks:
  docs: escape * in documentation
  Update the mail_dest documentation with the new email_dest field
2021-07-09 12:02:32 -07:00
Tim Wojtulewicz
f8389c92e0 Merge remote-tracking branch 'origin/topic/timw/freebsd-warning'
* origin/topic/timw/freebsd-warning:
  Fix a compile warning on FreeBSD
2021-07-08 18:00:34 -07:00
Christian Kreibich
8db985ea78 Merge branch 'topic/christian/cluster-controller'
* topic/christian/cluster-controller:
  Add a cluster controller testcase for agent-controller checkin
  Add zeek-client via new submodule
  Update baselines affected by cluster controller changes
  Introduce cluster controller and cluster agent scripting
  Establish a separate init script when using the supervisor
  Add optional bare-mode boolean flag to Supervisor's node configuration
  Add support for making the supervisor listen for requests
  Add support for setting environment variables via supervisor
2021-07-08 16:51:11 -07:00
Christian Kreibich
db600b7393 Merge branch 'topic/christian/policy-hook-docfix'
* topic/christian/policy-hook-docfix:
  Fix reference in the logging framework docs re. Log::StreamPolicyHook
2021-07-08 16:00:43 -07:00
Tim Wojtulewicz
efb9b24ef3 Merge remote-tracking branch 'origin/topic/timw/process-metrics'
* origin/topic/timw/process-metrics:
  Update broker submodule for process metrics
2021-07-08 12:59:13 -07:00
Tim Wojtulewicz
39f96d4720 Merge remote-tracking branch 'origin/topic/timw/1644-patricia-calloc-size'
* origin/topic/timw/1644-patricia-calloc-size:
  GH-1644: Pass a larger structure to be calloc'd in patricia.c
  Fix multiple spelling errors in debug output
2021-07-07 10:10:37 -07:00
Tim Wojtulewicz
cf0745da9f Merge remote-tracking branch 'origin/topic/seth/subproject-build'
* origin/topic/seth/subproject-build:
  Removing a fix from another branch
  Update binpac pointer
  Update bifcl and binpac for building Zeek as a submodule
  Updated the cmake pointer
  Fix the builtin plugin preload mechanism
  Update submodule pointer for cmake to point at the appropriate branch
  Switch to more accurate source and binary references in cmake
2021-07-06 08:59:22 -07:00
Tim Wojtulewicz
2021df7418 Merge remote-tracking branch 'origin/topic/timw/coverity-findings'
* origin/topic/timw/coverity-findings:
  Fix a number of Coverity findings
2021-07-06 08:49:58 -07:00
Tim Wojtulewicz
c43a42fe95 Merge remote-tracking branch 'origin/topic/johanna/update-qtypes'
* origin/topic/johanna/update-qtypes:
  Add a few DNS query types.
2021-07-06 08:49:06 -07:00
Robin Sommer
53f9f1c9ba Merge remote-tracking branch 'origin/topic/robin/new-update'
* origin/topic/robin/new-update:
  Add some more items to NEWS.
2021-07-06 08:47:52 +02:00
Johanna Amann
7ec50bf434 Merge remote-tracking branch 'origin/topic/johanna/gh-859'
* origin/topic/johanna/gh-859:
  Add X509/SSL changes to NEWS
  X509: add check if function succeeds
  GH-1634: Address feedback
  Small indentation fixes in ssl-log-ext.zeek
  Fix memory leak in x509_check_cert_hostname bif
  Small bugfix and updates for external test hashes (SSL/X509)
  Baseline updates for recent SSL changes.
  Add ability to check if hostname is valid for a specific cert
  Add ssl_history field to ssl.log
  Add policy script suppressing certificate events
  Add new ssl-log-ext policy script
  Deprecate extract-certs-pem.zeek and add log-certs-base64.zeek
  Implement X509 certificate log caching
  Deprecate ICSI SSL notary script.
  Change SSL and X.509 logging format
  Enable OCSP logging by default.
  Split the code that handles X509 event hashing into its own file

Closes GH-859
2021-07-05 10:12:46 +01:00
Christian Kreibich
42d2a5fe05 Merge branch 'topic/christian/global-log-filter-hooks'
* topic/christian/global-log-filter-hooks:
  Bump docs to pull in new log filter hooks documentation
  Add a global log policy hook to the logging framework
2021-07-02 12:51:06 -07:00
Christian Kreibich
50c5968c30 Merge branch 'topic/christian/mallinfo2'
* topic/christian/mallinfo2:
  Use mallinfo2() instead of mallinfo() when available
2021-07-02 11:58:54 -07:00
Tim Wojtulewicz
7dd18ec906 Merge remote-tracking branch 'origin/topic/neverlord/broker-fix'
* origin/topic/neverlord/broker-fix:
  Update Broker submodule
2021-07-02 10:16:58 -07:00
Johanna Amann
6eff0594f3 Merge remote-tracking branch 'origin/topic/johanna/undate-cert-stuff'
* origin/topic/johanna/undate-cert-stuff:
  Update Mozilla CA list and CT anchors.
2021-07-02 13:05:04 +01:00
Tim Wojtulewicz
0b342b7bfa Merge remote-tracking branch 'origin/topic/vern/CPP-workflow2'
* origin/topic/vern/CPP-workflow2:
  low-level coding style fixes
  support for standalone compiled scripts to export globals with module qualifiers
  updates for documentation of functionality for compiling scripts to C++
  fixes for standalone C++ scripts making types & variables/functions available
  fixed bug limiting availability of load_CPP() BiF
  updates to development helper scripts to support new workflow
  simpler workflow for -O gen-C++ ; also some hooks for -O gen-standalone-C++
  ReplaceBody now deletes a body if the replacement is nil
  removal of can't-actually-be-executed code
2021-07-01 08:46:53 -07:00
Christian Kreibich
181063634d Merge branch 'topic/christian/input-framework-unset-field-fix'
* topic/christian/input-framework-unset-field-fix:
  Update NEWS [skip ci]
  Skip input framework entries with missing but non-optional fields
  Fix segfault in input framework when reading unset fields
2021-06-30 20:33:51 -07:00
Tim Wojtulewicz
3c0bb8f1dd Merge remote-tracking branch 'origin/topic/seth/small-builtin-plugin-fixes'
* origin/topic/seth/small-builtin-plugin-fixes:
  Fix tests
  Removed a non-functional builtin plugin preload loading mechanism
  Load the builtin-plugin preload files and fix the dev path.
2021-06-30 14:11:10 -07:00
Tim Wojtulewicz
83fcf23f16 Merge remote-tracking branch 'origin/topic/timw/1500-thread-sanitizer'
* origin/topic/timw/1500-thread-sanitizer:
  GH-1500: Mark BasicThread::Done to be ignored by ThreadSanitizer
2021-06-30 08:50:51 -07:00
Johanna Amann
09229c58d7 Update submodule
This updates the bundled SQLite to 3.36.0.

 [nomail]
2021-06-30 13:19:19 +01:00
Robin Sommer
40923fdd65 Merge remote-tracking branch 'origin/topic/robin/gh-1406-m1-tests'
* origin/topic/robin/gh-1406-m1-tests:
  Fix SMB tests on Apple M1.
2021-06-30 07:52:44 +02:00
Christian Kreibich
8942da72b5 Merge branch 'topic/christian/gh-1626-remove-idmef'
* topic/christian/gh-1626-remove-idmef:
  Remove remaining vestigial IDMEF support code
2021-06-29 11:15:20 -07:00
Tim Wojtulewicz
19ba95b716 Merge remote-tracking branch 'origin/topic/vern/ZAM-prep'
* origin/topic/vern/ZAM-prep:
  made RecordVal::AppendField protected: it's low-level & requires knowledge of internals
2021-06-29 10:39:49 -07:00
Vern Paxson
d1334b7bca made RecordVal::AppendField protected: it's low-level & requires knowledge of internals 2021-06-29 10:24:20 -07:00
Tim Wojtulewicz
e454c886a7 Merge remote-tracking branch 'origin/topic/neverlord/ci'
* origin/topic/neverlord/ci:
  Fix package name for CMake on CentOS 8
2021-06-29 08:38:56 -07:00
Tim Wojtulewicz
72f576acd5 Merge remote-tracking branch 'origin/topic/timw/1216-enable-mobile-ipv6'
GH-1216: Enable Mobile IPv6 support by default (Tim Wojtulewicz, Corelight)

* origin/topic/timw/1216-enable-mobile-ipv6:
  GH-1216: Enable Mobile IPv6 support by default
2021-06-28 13:50:36 -07:00
Tim Wojtulewicz
2e5d1d924f Merge remote-tracking branch 'origin/topic/timw/572-deprecate-memoryallocation'
* origin/topic/timw/572-deprecate-memoryallocation:
  GH-572: Mark MemoryAllocation() and related methods deprecated
2021-06-28 11:08:45 -07:00
Tim Wojtulewicz
e6e41ac5d9 Merge remote-tracking branch 'origin/topic/timw/silly-coverity-fix'
* origin/topic/timw/silly-coverity-fix:
  Check for -1 return from FieldOffset() in Val::HasField()
2021-06-28 11:06:51 -07:00
Tim Wojtulewicz
67b45bc502 Merge remote-tracking branch 'origin/topic/vern/ZAM-prep'
* origin/topic/vern/ZAM-prep: (45 commits)
  whoops overlooked the need to canonicalize filenames
  another set of tweaks per review comments
  addressed a number of code review comments
  baseline updates for merge
  support "any" coercions for "-O gen-C++"
  better descriptions for named record constructors
  test suite baseline updates for "-a opt" optimize-AST alternative
  test suite baseline updates for "-a xform" alternative / AST transformation
  error propagation fix for AST reduction
  updates to "-a inline" test suite alternative baseline
  updates for the main test suite baseline
  updates to test suite tests for compatibility with upcoming ZAM functionality
  "-O compile-all" option to specify compilation of inlined functions
  compile inlined functions if they're also used indirectly
  provide ZAM-generated code with low-level access to record fields
  fix for cloning records with fields of type "any"
  direct access for ZAM to VectorVal internal vector
  ZVal constructors, accessors & methods in support of ZAM
  switch ZVal representation of types from Type objects to TypeVal's
  revised error-reporting interface for ZVal's, to accommodate ZAM inner loop
  ...
2021-06-28 11:03:13 -07:00
Tim Wojtulewicz
bea3a615b6 Merge remote-tracking branch 'origin/topic/christian/gh-1600'
* origin/topic/christian/gh-1600:
  Remove unnecessary -B arguments from Zeek invocations in testsuite
  Fix perftools-enabled build
  Minor tweaks to single-character command line option handling
2021-06-27 10:50:37 -07:00
Tim Wojtulewicz
c1b2989035 Merge remote-tracking branch 'htonl/weird_segfault'
* htonl/weird_segfault:
  Add btest test case
  Fix typo
  Fix segfault with incomplete connection
2021-06-27 10:46:30 -07:00
Tim Wojtulewicz
b80eb6f05a Merge remote-tracking branch 'origin/topic/timw/test-catalina-build'
* origin/topic/timw/test-catalina-build:
  Call brew update-reset in ci/macos/prepare.sh
  GH-1368: Use --osx-sysroot for macOS CI builds
2021-06-23 13:54:13 -07:00
Tim Wojtulewicz
30973af94a Merge remote-tracking branch 'origin/topic/johanna/remove-stepping-stone'
* origin/topic/johanna/remove-stepping-stone:
  Remove the Stepping Stone analyzer
2021-06-21 16:14:25 -07:00
Christian Kreibich
84c3cee7ef Merge branch 'topic/christian/ci-drop-fedora-32'
* topic/christian/ci-drop-fedora-32:
  Drop Fedora 32 from CI, now past EOL
2021-06-21 15:44:50 -07:00
Robin Sommer
6559d56dbf Merge remote-tracking branch 'origin/topic/vlad/page_hostnames'
* origin/topic/vlad/page_hostnames:
  Expand the tests, and have email_admin email src contacts in one e-mail, and dst contacts in another.
  Simplify the logic a big by making Notice$email_dest have a default rather than be optional
  Missed some baselines
  Update hashes in external testing repos
  Update notice.log baselines
  Remove unneccessary @load
  Add tests for e-mail actions, and cleanup the new logic a bit.
  Fixup priorities
  Add a new field to the notice, which defines where to send the e-mail
  Add page and email_admin to hostnames extension
2021-06-21 11:21:17 +02:00
Johanna Amann
a995d73fdf Merge remote-tracking branch 'origin/topic/bbannier/issue-1590'
* origin/topic/bbannier/issue-1590:
  Change SSH version field to be `&optional`.
  Reformat function in SSH base script.

Changes during merge:
  * rename weirds to fit into our naming scheme
  * add NEWS entry

Closes GH-1590
2021-06-17 10:52:49 +01:00
Christian Kreibich
a82fe94bcc Merge branch 'topic/christian/gh-1591'
* topic/christian/gh-1591:
  Bump Highwayhash submodule to pull in fix for FreeBSD
2021-06-14 16:21:15 -07:00
Tim Wojtulewicz
6c747a0fca Merge remote-tracking branch 'origin/topic/seth/plugin-dir-fixes'
* origin/topic/seth/plugin-dir-fixes:
  Fixes for the builtin plugin functionality
2021-06-11 11:54:46 -07:00
Tim Wojtulewicz
8b92ba180d Merge remote-tracking branch 'origin/topic/seth/plugin-dir2'
* origin/topic/seth/plugin-dir2:
  Added --include-plugins configure argument
2021-06-10 10:43:20 -07:00
Johanna Amann
e0d284ec9f Merge branch 'logging/script-logdir' of https://github.com/kramse/zeek
* 'logging/script-logdir' of https://github.com/kramse/zeek:
  Copy of ascii-empty test, just changed path in the beginning
  Logdir: Change requested by 0xxon, no problem
  Introduce script-land variable that can be used to set logdir.

Closes GH-772
2021-06-10 12:19:15 +01:00
Tim Wojtulewicz
c621af1e2b Merge remote-tracking branch 'origin/topic/timw/fix-big-sur-build'
* origin/topic/timw/fix-big-sur-build:
  Fix macOS Big Sur builds on Cirrus
2021-06-09 09:12:41 -07:00
Christian Kreibich
289db80270 Merge branch 'topic/johanna/opensuseleap15.3'
* topic/johanna/opensuseleap15.3:
  Add OpenSUSE Leap 15.3 to testing
2021-06-08 13:55:50 -07:00
Robin Sommer
ca106457c2 Update btest submodule and add .cache to .gitignore.
[nomail]
2021-06-07 09:42:59 +02:00
Robin Sommer
ba0a4fe9cf Merge remote-tracking branch 'origin/topic/neverlord/coverity'
* origin/topic/neverlord/coverity:
  Improve assignment operators for IntrusivePtr
2021-06-07 09:39:06 +02:00
Tim Wojtulewicz
9fbbcaad8f Merge remote-tracking branch 'origin/topic/timw/analyzer-deprecations'
* origin/topic/timw/analyzer-deprecations:
  Add deprecated headers for UDP and ICMP analyzers
2021-06-04 08:29:43 -07:00
Tim Wojtulewicz
3dac5ed809 Merge remote-tracking branch 'origin/topic/christian/gh-1572'
* origin/topic/christian/gh-1572:
  Make update-traces fail when the curl invocation fails
2021-06-03 09:28:11 -07:00
Christian Kreibich
cd8beb173a Merge branch 'topic/christian/ci-freebsd-13'
* topic/christian/ci-freebsd-13:
  Add FreeBSD 13 to CI
2021-06-02 15:10:14 -07:00
Tim Wojtulewicz
079ac1654f Merge remote-tracking branch 'origin/topic/timw/1114-tcp-analyzer'
* origin/topic/timw/1114-tcp-analyzer:
  Update NEWS [skip ci]
  Label session adapters in the output of zeek -NN
  Split session adapter code into separate files from the analyzers
  Move adapter-specific code back into the adapter
  Move ICMP counterpart methods outside of ICMPAnalyzer class
  Remove obsolete Skipping()/SetSkip() from Connection
  Remove some code from IPBasedAnalyzer and children that was waiting for TCP to be implemented
  Move TCPStateStats object out of session_mgr
  Move analyzer-to-port mapping out of analyzer::Manager into packet analyzers
  Move packet parsing code out of adapter into analyzer
  Move old TCP analyzer into analyzer adapter in packet analysis tree
2021-06-02 13:22:45 -07:00
Tim Wojtulewicz
b171f94729 Merge remote-tracking branch 'zeek-security/topic/timw/mobile-ipv6-overflow'
* zeek-security/topic/timw/mobile-ipv6-overflow:
  Add some extra length checking when parsing mobile ipv6 packets
2021-06-02 10:02:59 -07:00