mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
GH-474: add MQTT::max_payload_size option
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.
This commit is contained in:
parent
c43e809a69
commit
6bc947a48e
12 changed files with 66 additions and 17 deletions
|
@ -0,0 +1,6 @@
|
|||
# @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
|
Loading…
Add table
Add a link
Reference in a new issue