Wireshark-bugs: [Wireshark-bugs] [Bug 13197] New: RPC-over-RDMA frames with chunk lists are "Mal

Date: Fri, 02 Dec 2016 19:56:41 +0000
Bug ID 13197
Summary RPC-over-RDMA frames with chunk lists are "Malformed"
Product Wireshark
Version unspecified
Hardware All
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component TShark
Assignee [email protected]
Reporter [email protected]

Created attachment 15100 [details]
Wire capture containing RPC-over-RDMA frames with Read lists

Build Information:
TShark (Wireshark) 2.3.0 (v2.3.0rc0-1602-g7275c79)

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 libpcap, with POSIX capabilities (Linux), with libnl 3,
with GLib 2.48.2, with zlib 1.2.8, with SMI 0.4.8, with c-ares 1.12.0, without
Lua, with GnuTLS 3.4.16, with Gcrypt 1.6.6, with MIT Kerberos, with GeoIP,
without nghttp2, without LZ4, without Snappy.

Running on Linux 4.8.10-200.fc24.x86_64, with Intel(R) Core(TM) i7-5557U CPU @
3.10GHz (with SSE4.2), with 1981 MB of physical memory, with locale
en_US.UTF-8,
with libpcap version 1.7.4, with GnuTLS 3.4.16, with Gcrypt 1.6.6, with zlib
1.2.8.

Built using gcc 6.2.1 20160916 (Red Hat 6.2.1-2).
--
A sample wire capture is attached. "tshark -V" displays the RPC-over-RDMA
portion of frame 124 like this:

    RPC over RDMA
        XID: 0x8255124a
        Version: 0x00000001
        Flow Control: 0x00000080
        Message Type: RDMA_MSG (0x00000000)
        Reads (count: 1)
            Position in XDR: 0x10011d0a
            RDMA handle: 0x00100000
            RDMA length: 0x00000008
            RDMA offset: 0x53a9d00000000000
            Position in XDR: 0x00000000
            RDMA handle: 0x00000000
            RDMA length: 0x8255124a
            RDMA offset: 0x0000000000000002
            Position in XDR: 0x000186a3
            RDMA handle: 0x00000003
            RDMA length: 0x00000007
            RDMA offset: 0x0000000100000034
            Position in XDR: 0x0041a31f
            RDMA handle: 0x00000015
            RDMA length: 0x6d616e65
            RDMA offset: 0x742e313031356772
            Position in XDR: 0x616e6765
            RDMA handle: 0x722e6e65
            RDMA length: 0x74000000
            RDMA offset: 0x0000041600000064
            Position in XDR: 0x00000002
            RDMA handle: 0x0000000a
            RDMA length: 0x00000064
            RDMA offset: 0x0000000000000000
            Position in XDR: 0x00000020
            RDMA handle: 0x01000601
            RDMA length: 0x453cd1c2
            RDMA offset: 0xe37b4c6297260204
            Position in XDR: 0x7e9ed236
            RDMA handle: 0x6c3e2b58
            RDMA length: 0x4d570000
            RDMA offset: 0x0000000000000000
            Position in XDR: 0x00000000
            RDMA handle: 0x00100000
            RDMA length: 0x00000002
[Malformed Packet: RPCoRDMA]
    [Expert Info (Error/Malformed): Malformed Packet (Exception occurred)]
        [Malformed Packet (Exception occurred)]

This is wrong. There is only one 1048576-byte Read chunk in this frame at XDR
position 148.

See also frame 385.

Write list and Reply chunk dissection is also broken.


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