Wireshark-bugs: [Wireshark-bugs] [Bug 13221] New: OpenFlow error messages dissected incorrectly

Date: Thu, 08 Dec 2016 06:47:23 +0000
Bug ID 13221
Summary OpenFlow error messages dissected incorrectly
Product Wireshark
Version 2.2.1
Hardware All
OS Linux (other)
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 15115 [details]
pcap with error message

Build Information:
Version 2.2.1 (Git Rev Unknown from unknown)

Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.2.1, with libpcap, with POSIX capabilities (Linux),
with libnl 3, with GLib 2.40.2, with zlib 1.2.8, with SMI 0.4.8, with c-ares
1.10.0, with Lua 5.2.3, with GnuTLS 2.12.23, with Gcrypt 1.5.3, with MIT
Kerberos, with GeoIP, with nghttp2 0.6.7, with QtMultimedia, without AirPcap.

Running on Linux 4.2.0-42-generic, with locale ru_RU.UTF-8, with libpcap
version
1.7.4, with GnuTLS 2.12.23, with Gcrypt 1.5.3, with zlib 1.2.8.
Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz (with SSE4.2)

Built using gcc 4.8.4.
--
Usually the Openflow error message body includes caused the error Openflow
message:

Quote from Openflow 1.3.5 spec
(https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-switch-v1.3.5.pdf)
page 114:
"
The field data is variable in length and interpreted based on the type and
code. Unless specified
otherwise, the data field contains at least 64 bytes of the failed request that
caused the error message
to be generated, if the failed request is shorter than 64 bytes it should be
the full request without any
padding.
"
But wireshark can not properly parse the error message body. Now he examines
only the few first fields of Openflow message (Version,Type,Length and
TransactionID). But fields as Match, Instructions, Role, GenerationId, Cookie,
Cookie mask, Idle_timeout, Hard_timeout, Command, Flags, Buffer ID, Out group,
Out port, etc... is not showing in human-readable form. These problem making
troubleshooting harder. pcap with error in attachement.


You are receiving this mail because:
  • You are watching all bug changes.