ZigBee: Enable heuristic dissection of Tunneling cluster payload
authorKenneth Soerensen <knnthsrnsn@gmail.com>
Sun, 7 Jan 2018 09:52:59 +0000 (10:52 +0100)
committerAnders Broman <a.broman58@gmail.com>
Sun, 7 Jan 2018 16:08:01 +0000 (16:08 +0000)
commitb3394a76ab58d7e604e67e4b6f54ad3c6d157b4e
tree132cb507249523d2e71d0b71d04abd280287bc54
parentf5f6ceeb66a1d81ef4e10059dae9c713eb8cded2
ZigBee: Enable heuristic dissection of Tunneling cluster payload

The Smart Energy Tunneling cluster can carry various payloads.
The type of payload is determined when the tunnel is established.
However, we cannot be sure to capture the tunnel establishment and
therefore heuristics are used to determine the payload type.

The IP protocol is added as a heuristic dissector because the
specification allows IP in the tunnel payload. However, the only
real life payload type I am aware of is GBCS messages in
UK Smart Metering (https://smartenergycodecompany.co.uk).

Finally, if a heuristic dissector cannot be found, the Data
dissector is used.

Change-Id: I4942bf00d0d0efe7047db6494cd4f8a9d19c96b6
Reviewed-on: https://code.wireshark.org/review/25181
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Boye Petersen <martinboyepetersen@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-ip.c
epan/dissectors/packet-zbee-zcl-se.c