zeek/scripts/policy/frameworks
Arne Welzel fa22f91ca4 cluster/zeromq: Fix XSUB threading issues
It is not safe to use the same socket from different threads, but the
current code used the xsub socket directly from the main thread (to setup
subscriptions) and from the internal thread for polling and reading.

Leverage the PAIR socket already in use for forwarding publish operations
to the internal thread also for subscribe and unsubscribe.

The failure mode is/was a bit annoying. Essentially, closing of the
context would hang indefinitely in zmq_ctx_term().
2025-02-05 10:39:56 +01:00
..
cluster cluster/zeromq: Fix XSUB threading issues 2025-02-05 10:39:56 +01:00
control frameworks/control: Remove Broker::auto_publish() 2024-11-14 12:59:22 +01:00
dpd Introduce generic analyzer_confirmation_info and analyzer_violation_info 2022-09-27 17:49:51 +02:00
files Remove full scripts marked as 6.1 deprecations 2023-06-14 10:07:22 -07:00
intel intel/seen/file-names: Use file_over_new_connection() 2023-01-10 10:10:28 +01:00
management Management framework: move up addition of agent IPs into deployable cluster configs 2025-01-30 16:43:12 -08:00
netcontrol netcontrol/catch-and-release: Move to Cluster::publish() 2024-12-12 17:54:42 +01:00
notice policy/community-id: Populate conn$community_id in new_connection() 2024-11-08 18:19:55 +01:00
packet-filter Fix errors from rst linting on the generated docs 2025-01-24 11:41:36 -07:00
signatures signatures/iso-9660: Add \x01 suffix to CD001 2024-02-26 21:00:01 +01:00
software policy: Use literal dots for patterns used against content-type and hostname 2022-07-11 10:34:47 +02:00
spicy all: Fix typos identified by typos pre-commit hook 2023-06-13 17:57:32 +02:00
telemetry Fix errors from rst linting on the generated docs 2025-01-24 11:41:36 -07:00