mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
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:
parent
4b0e1063ed
commit
d99f041ac5
25 changed files with 248 additions and 26 deletions
|
@ -11,7 +11,7 @@ pkg upgrade -y curl
|
|||
pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")')
|
||||
pkg install -y $pyver-sqlite3 $pyver-pip
|
||||
|
||||
python -m pip install junit2html
|
||||
python -m pip install websockets junit2html
|
||||
|
||||
# Spicy detects whether it is run from build directory via `/proc`.
|
||||
echo "proc /proc procfs rw,noauto 0 0" >>/etc/fstab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue