Commit graph

13346 commits

Author SHA1 Message Date
Christian Kreibich
5592beaf31 Management framework: handle no-instances corner case in set-config correctly
When the controller receives a configuration with no instances (and thus no
nodes), it needs to roundtrip to agents and can send the response right away.
2022-06-19 01:19:47 -07:00
Tim Wojtulewicz
6a4c8e4e70 Merge remote-tracking branch 'origin/topic/johanna/opensuse-leap-ci'
* origin/topic/johanna/opensuse-leap-ci:
  CI: Add OpenSuSE Leap 15.4, fix 15.3
2022-06-17 09:21:56 -07:00
Tim Wojtulewicz
740c6e2207 Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy'
* origin/topic/bbannier/bump-spicy:
  Bump Spicy and spicy-plugin to latest dev snapshot.
2022-06-17 09:10:12 -07:00
Benjamin Bannier
d15ba08890 Bump Spicy and spicy-plugin to latest dev snapshot.
This bump brings in fixes for the following issues:

- zeek/spicy#1204
- zeek/spicy#1208
- zeek/spicy#1210
- zeek/spicy-plugin#112
- zeek/spicy-plugin#117
2022-06-17 11:09:52 +02:00
zeek-bot
f46b2318d3 Update doc submodule [nomail] [skip ci] 2022-06-17 00:47:27 +00:00
Tim Wojtulewicz
e7a7b2923b Merge remote-tracking branch 'origin/topic/vern/history-tweak'
* origin/topic/vern/history-tweak:
  tie to revised private testing repo
  flip connections that begin with SYN-ACKs if subsequent acks or data seen
2022-06-16 15:57:44 -07:00
Vern Paxson
a94afdec47 tie to revised private testing repo 2022-06-16 14:33:11 -07:00
Tim Wojtulewicz
6c57046404 Revert "Merge remote-tracking branch 'turrisxyz/Dependabot-GitHub-Actions'"
This reverts commit 910e3b3024, reversing
changes made to 6419865520.
2022-06-16 14:28:10 -07:00
Christian Kreibich
e7f60d4128 Merge branch 'topic/christian/management-schedule-archiver'
* topic/christian/management-schedule-archiver:
  Management framework: bump external cluster testsuite
  Management framework: make agents support zeek-archiver invocations
  Management framework: fix module naming typo
2022-06-16 11:12:07 -07:00
Tim Wojtulewicz
5ccba54335 Merge remote-tracking branch 'origin/topic/timw/docs-gen-ccache'
* origin/topic/timw/docs-gen-ccache:
  Use ccache for docs gen github workflow
2022-06-16 10:08:57 -07:00
Vern Paxson
847963e94d flip connections that begin with SYN-ACKs if subsequent acks or data seen 2022-06-15 14:01:32 -07:00
Tim Wojtulewicz
a26b504b8e Use ccache for docs gen github workflow 2022-06-15 10:25:30 -07:00
Johanna Amann
35121779f1 Merge remote-tracking branches 'origin/dependabot/github_actions/actions/download-artifact-3', 'origin/dependabot/github_actions/docker/setup-buildx-action-2', 'origin/dependabot/github_actions/pre-commit/action-3.0.0' and 'origin/dependabot/github_actions/docker/build-push-action-3'
* origin/dependabot/github_actions/actions/download-artifact-3:
  Bump actions/download-artifact from 2 to 3

* origin/dependabot/github_actions/docker/setup-buildx-action-2:
  Bump docker/setup-buildx-action from 1 to 2

* origin/dependabot/github_actions/pre-commit/action-3.0.0:
  Bump pre-commit/action from 2.0.3 to 3.0.0

* origin/dependabot/github_actions/docker/build-push-action-3:
  Bump docker/build-push-action from 2 to 3
2022-06-15 10:34:12 +01:00
Johanna Amann
538e7977bc CI: Add OpenSuSE Leap 15.4, fix 15.3
15.3 included the wrong update repo in the Dockerfile
2022-06-15 09:43:00 +01:00
Johanna Amann
ff1c52df1d Merge remote-tracking branch 'origin/topic/johanna/ubuntu2204'
* origin/topic/johanna/ubuntu2204:
  CI: Add Ubuntu 22.04 (LTS Release, EOL 04/2027)
2022-06-15 09:35:29 +01:00
zeek-bot
b58f81e66f Update doc submodule [nomail] [skip ci] 2022-06-15 00:43:25 +00:00
dependabot[bot]
5fd07215af
Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 22:45:37 +00:00
dependabot[bot]
00a63f8916
Bump actions/download-artifact from 2 to 3
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 22:45:33 +00:00
dependabot[bot]
0ed36129d1
Bump pre-commit/action from 2.0.3 to 3.0.0
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 22:45:20 +00:00
dependabot[bot]
5a1df07e26
Bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 22:45:18 +00:00
Tim Wojtulewicz
073f16a119 Merge remote-tracking branch 'origin/dependabot/github_actions/dawidd6/action-send-mail-3.6.1'
* origin/dependabot/github_actions/dawidd6/action-send-mail-3.6.1:
  Fix pattern matching in Cirrus dependabot check
  Bump dawidd6/action-send-mail from 3.4.1 to 3.6.1
2022-06-14 15:44:00 -07:00
Tim Wojtulewicz
c3d1f6f454 Fix pattern matching in Cirrus dependabot check 2022-06-14 15:39:48 -07:00
dependabot[bot]
e2ccef67d8
Bump dawidd6/action-send-mail from 3.4.1 to 3.6.1
Bumps [dawidd6/action-send-mail](https://github.com/dawidd6/action-send-mail) from 3.4.1 to 3.6.1.
- [Release notes](https://github.com/dawidd6/action-send-mail/releases)
- [Commits](https://github.com/dawidd6/action-send-mail/compare/v3.4.1...v3.6.1)

---
updated-dependencies:
- dependency-name: dawidd6/action-send-mail
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 21:41:42 +00:00
Tim Wojtulewicz
d8cfdba71a Merge remote-tracking branch 'origin/topic/timw/ci-ignore-dependabot-prs'
* origin/topic/timw/ci-ignore-dependabot-prs:
  Ignore dependabot PRs on Cirrus
2022-06-14 14:39:13 -07:00
Tim Wojtulewicz
02da9a79a7 Merge remote-tracking branch 'origin/topic/timw/merge-timer-mgr'
* origin/topic/timw/merge-timer-mgr:
  Merge PQ_Timer into base TimerMgr class
2022-06-14 14:34:49 -07:00
Tim Wojtulewicz
b77ede4bed Merge PQ_Timer into base TimerMgr class 2022-06-14 12:59:14 -07:00
Christian Kreibich
e92c787987 Management framework: bump external cluster testsuite 2022-06-14 12:32:49 -07:00
Christian Kreibich
a3fcd1462d Management framework: make agents support zeek-archiver invocations
This makes agents handle log archival automatically. By default, they invoke
zeek-archiver once every log rotation interval to archive rotated files from the
log-queue spool directory into the installation's log directory. The user can
disable the feature, customize the command to invoke, and adjust the rotation
interval.
2022-06-14 12:32:17 -07:00
Christian Kreibich
4c0543d0ed Management framework: fix module naming typo
This had no effect since this module name wasn't used anywhere else.
2022-06-14 12:32:17 -07:00
Christian Kreibich
e802603b4a Management framework: bump zeek-client 2022-06-14 12:12:31 -07:00
Christian Kreibich
216aaa5774 Merge branch 'topic/christian/management-default-listen-interfaces'
* topic/christian/management-default-listen-interfaces:
  Management framework: bump external cluster testsuite
  Management framework: switch default network visibilities
2022-06-14 12:03:08 -07:00
Tim Wojtulewicz
0edc331ca1 Merge remote-tracking branch 'turrisxyz/Pinned-Dependencies-GitHub'
* turrisxyz/Pinned-Dependencies-GitHub:
  chore: Set permissions for GitHub actions
2022-06-14 11:30:46 -07:00
Tim Wojtulewicz
dc86916a9c Ignore dependabot PRs on Cirrus 2022-06-14 10:31:44 -07:00
Tim Wojtulewicz
910e3b3024 Merge remote-tracking branch 'turrisxyz/Dependabot-GitHub-Actions'
* turrisxyz/Dependabot-GitHub-Actions:
  chore: Included githubactions in the dependabot config
2022-06-14 10:07:56 -07:00
Johanna Amann
7a28b7458e CI: Add Ubuntu 22.04 (LTS Release, EOL 04/2027) 2022-06-14 09:37:53 +01:00
Johanna Amann
6419865520 Merge remote-tracking branch 'origin/topic/timw/cleanup-dockerfiles'
* origin/topic/timw/cleanup-dockerfiles:
  Sort package names in Dockerfiles
  Dockerfile changes for consistency with Broker files
  Make some of the CI Dockerfiles more consistent
2022-06-14 09:32:11 +01:00
Johanna Amann
58588e7955 Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy'
* origin/topic/bbannier/bump-spicy:
  Bump Spicy to the latest development version.
2022-06-11 07:09:46 +01:00
Christian Kreibich
5a5c702967 Management framework: bump external cluster testsuite 2022-06-10 21:56:25 -07:00
Benjamin Bannier
d796b3dd57 Bump Spicy to the latest development version. 2022-06-09 15:48:10 +02:00
naveen
4de3cd6b5c chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-09 01:32:01 +00:00
zeek-bot
d139868e16 Update doc submodule [nomail] [skip ci] 2022-06-09 00:39:09 +00:00
Christian Kreibich
64741b571e Management framework: switch default network visibilities
Up to now, agents and controllers listened locally only, and the Supervisor
(which listens when we run an agent) listened globally. It's now the other way
around: controllers and agents listen globally and the Supervisor, when
listening, does so locally.
2022-06-08 15:00:19 -07:00
Christian Kreibich
763b0c8d10 Merge branch 'topic/christian/management-auto-assign-ports'
* topic/christian/management-auto-assign-ports:
  Management framework: bump zeek-client to pull in relaxed port handling
  Management framework: bump external cluster testsuite
  Management framework: also use send_set_configuration_response_error elsewhere
  Management framework: minor log formatting tweak, for consistency
  Management framework: support auto-assignment of ports in cluster nodes
2022-06-08 13:44:29 -07:00
Christian Kreibich
d8605884ff Management framework: bump zeek-client to pull in relaxed port handling 2022-06-08 13:29:25 -07:00
Christian Kreibich
c0a4bc3ade Management framework: bump external cluster testsuite 2022-06-08 13:29:25 -07:00
Tim Wojtulewicz
7bb5e196d7 Sort package names in Dockerfiles 2022-06-08 11:16:12 -07:00
Christian Kreibich
9b4841912c Management framework: also use send_set_configuration_response_error elsewhere 2022-06-07 13:42:07 -07:00
Christian Kreibich
ccf3c24e23 Management framework: minor log formatting tweak, for consistency 2022-06-07 13:41:47 -07:00
Christian Kreibich
7a471df1a1 Management framework: support auto-assignment of ports in cluster nodes
This enables the controller to assign listening ports to managers, loggers, and
proxies. (We don't currently make the workers listen.) The feature is controlled
by the Management::Controller::auto_assign_ports flag. When enabled (the
default), enumeration starts from Management::Controller::auto_assign_start_port,
beginning with the manager, then the logger(s), then proxy(s). When the feature
is disabled and nodes that require a port lack it, the controller rejects the
configuration.
2022-06-07 13:38:04 -07:00
Tim Wojtulewicz
31fa43b3df Merge remote-tracking branch 'origin/topic/timw/make-dist-deleting-build-files'
* origin/topic/timw/make-dist-deleting-build-files:
  Keep make dist from deleting all paths containing 'build' [skip ci]
2022-06-07 10:02:47 -07:00