mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/3424-http-upgrade-websocket-v1'
* origin/topic/awelzel/3424-http-upgrade-websocket-v1: websocket: Handle breaking from WebSocket::configure_analyzer() websocket: Address review feedback for BinPac code fuzzers: Add WebSocket fuzzer websocket: Fix crash for fragmented messages websocket: Verify Sec-WebSocket-Key/Accept headers and review feedback btest/websocket: Test for coalesced reply-ping HTTP/CONNECT: Also weird on extra data in reply HTTP/Upgrade: Weird when more data is available ContentLine: Add GetDeliverStreamRemainingLength() accessor HTTP: Drain event queue after instantiating upgrade analyzer btest/http: Explain switching-protocols test change as comment WebSocket: Introduce new analyzer and log HTTP: Add mechanism to instantiate Upgrade analyzer
This commit is contained in:
commit
822ca99e80
86 changed files with 1896 additions and 25 deletions
|
@ -0,0 +1,19 @@
|
|||
# @TEST-DOC: Test no analysis of tunneled WebSocket when the analyzer is globally disabled.
|
||||
#
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/websocket/wstunnel-ssh.pcap %INPUT
|
||||
#
|
||||
# @TEST-EXEC: zeek-cut -m ts uid history service < conn.log > conn.log.cut
|
||||
|
||||
# @TEST-EXEC: btest-diff conn.log.cut
|
||||
# @TEST-EXEC: test ! -f websocket.log
|
||||
# @TEST-EXEC: test ! -f ssh.log
|
||||
# @TEST-EXEC: test ! -f analyzer.log
|
||||
# @TEST-EXEC: test ! -f weird.log
|
||||
|
||||
@load base/protocols/conn
|
||||
@load base/protocols/ssh
|
||||
@load base/protocols/websocket
|
||||
|
||||
redef Analyzer::disabled_analyzers += {
|
||||
Analyzer::ANALYZER_WEBSOCKET,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue