mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
GH-320: Improve RFB (VNC) protocol parsing
Mostly rewrote the parsing logic to support incremental parsing and to support parsing of client messages. Though I did not add events for client messages, that's easy to add later. Parsing now stops for both client and server if either encounters any parsing error or invalid state. After a complete handshake, server messages are no longer parsed. Support for that is incomplete and not sure it's that useful anyway since it mostly contains pixel data.
This commit is contained in:
parent
3f7bbf2784
commit
2696ca3005
8 changed files with 577 additions and 172 deletions
4
testing/btest/scripts/base/protocols/rfb/vnc-scanner.bro
Normal file
4
testing/btest/scripts/base/protocols/rfb/vnc-scanner.bro
Normal file
|
@ -0,0 +1,4 @@
|
|||
# @TEST-EXEC: bro -C -r $TRACES/rfb/vnc-scanner.pcap
|
||||
# @TEST-EXEC: btest-diff rfb.log
|
||||
|
||||
@load base/protocols/rfb
|
Loading…
Add table
Add a link
Reference in a new issue