Add WebSocket support for exchanging events with external clients.

This exposes Broker's new WebSocket support in Zeek. To enable it,
call `Broker::listen_websocket()`. Zeek will then start listening on
port 9997 for incoming WebSocket connections.

See the Broker documentation for a description of the message format
expected over these WebSocket connections.
This commit is contained in:
Robin Sommer 2022-05-19 07:45:02 +02:00
parent 4b0e1063ed
commit d99f041ac5
No known key found for this signature in database
GPG key ID: 6BEDA4DA6B8B23E3
25 changed files with 248 additions and 26 deletions

View file

@ -26,4 +26,4 @@ RUN apk add --no-cache \
openssh-client \
py3-pip
RUN pip3 install junit2html
RUN pip3 install websockets junit2html