zeek/testing/btest/Baseline/coverage.find-bro-logs/out
Arne Welzel efc2681152 WebSocket: Introduce new analyzer and log
This adds a new WebSocket analyzer that is enabled with the HTTP upgrade
mechanism introduced previously. It is a first implementation in BinPac with
manual chunking of frame payload. Configuration of the analyzer is sketched
via the new websocket_handshake() event and a configuration BiF called
WebSocket::__configure_analyzer(). In short, script land collects WebSocket
related HTTP headers and can forward these to the analyzer to change its
parsing behavior at websocket_handshake() time. For now, however, there's
no actual logic that would change behavior based on agreed upon extensions
exchanged via HTTP headers (e.g. frame compression). WebSocket::Configure()
simply attaches a PIA_TCP analyzer to the WebSocket analyzer for dynamic
protocol detection (or a custom analyzer if set). The added pcaps show this
in action for tunneled ssh, http and https using wstunnel. One test pcap is
Broker's WebSocket traffic from our own test suite, the other is the
Jupyter websocket traffic from the ticket/discussion.

This commit further adds a basic websocket.log that aggregates the WebSocket
specific headers (Sec-WebSocket-*) headers into a single log.

Closes #3424
2024-01-22 18:54:38 +01:00

71 lines
748 B
Text

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
analyzer
broker
capture_loss
cluster
config
conn
dce_rpc
dhcp
dnp3
dns
dpd
files
ftp
http
intel
irc
kerberos
known_certs
known_hosts
known_modbus
known_services
ldap
ldap_search
loaded_scripts
modbus
modbus_register_change
mqtt_connect
mqtt_publish
mqtt_subscribe
mysql
netcontrol
netcontrol_catch_release
netcontrol_drop
netcontrol_shunt
notice
notice_alarm
ntlm
ntp
ocsp
openflow
packet_filter
pe
print_log_path
quic
radius
rdp
reporter
rfb
signatures
sip
smb_cmd
smb_files
smb_mapping
smtp
snmp
socks
software
ssh
ssl
stats
syslog
telemetry
telemetry_histogram
traceroute
tunnel
unknown_protocols
websocket
weird
weird_stats
x509