mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
This caps size of payload strings within mqtt_publish events and mqtt_publish.log files. A new "payload_len" field in the log file shows the real payload size in cases where it may have been truncated.
6 lines
162 B
Text
6 lines
162 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/mqtt.pcap %INPUT >output
|
|
# @TEST-EXEC: btest-diff mqtt_publish.log
|
|
|
|
redef MQTT::max_payload_size = 8;
|
|
|
|
@load base/protocols/mqtt
|