mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

Don't log them, they are random and arbitrary in the normal case. Users can do the following to log them if wanted. redef += WebSocket::Info$client_key += { &log }; redef += WebSocket::Info$server_accept += { &log };
7 lines
274 B
Text
7 lines
274 B
Text
# @TEST-DOC: Test weird generation when the Sec-WebSocket-Accept socket isn't as expected.
|
|
#
|
|
# @TEST-EXEC: zeek -b -r $TRACES/websocket/wrong-accept-header.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff websocket.log
|
|
# @TEST-EXEC: btest-diff weird.log
|
|
|
|
@load base/protocols/websocket
|