dissector/mqtt: Add the MQTT protocol description

The packet-PROTOABBREV.c template recommends to provide a short
description of the protocol below the license header. Currently,
this information is not present in the packet-mqtt.c dissector.

This patch adds the protocol description taken from the official
specification. Links to the v3.1 and v3.1.1 specifications are
also provided by this patch.

Change-Id: I9bb85aa3b78c8804c923f77c163904a7949f6899
Signed-off-by: Flavio Santes <flavio.santes@1byt3.com>
Reviewed-on: https://code.wireshark.org/review/23936
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Flavio Santes 2017-10-15 02:33:56 -04:00 committed by Stig Bjørlykke
parent f7054dcf05
commit 5967621d19
1 changed files with 15 additions and 2 deletions

View File

@ -1,7 +1,5 @@
/* packet-mqtt.c
* Routines for MQTT Protocol dissection
* http://mqtt.org
* This dissector dissects MQTT data transfers as per MQTT V3.1 and V3.1.1 Protocol Specification
*
* By Lakshmi Narayana Madala <madalanarayana@outlook.com>
* Stig Bjorlykke <stig@bjorlykke.org>
@ -25,6 +23,21 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/*
* Protocol description:
*
* MQTT is a Client Server publish/subscribe messaging transport
* protocol. The protocol runs over TCP/IP, or over other network
* protocols that provide ordered, lossless, bi-directional
* connections.
*
* MQTT v3.1 specification:
* http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html
*
* MQTT v3.1.1 specification:
* http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/dwarf.h>