Dissector bug

asked Nov 26 '25

updated Nov 26 '25

Hi, I just installed wireshark via git following the instruction and it seems that some ceph dissector are bugged or something ?

Ceph UNKNOWN x2
Ceph UNKNOWN x4
Ceph UNKNOWN x7
Ceph UNKNOWN x9
Ceph UNKNOWN x24

 ** (wireshark:59037) 14:16:32.124968 [Epan WARNING] -- Dissector bug, protocol Ceph, in packet 16317: epan/dissectors/packet-ceph.c:1516: failed assertion "d->convd" (Frame visited, but no saved state.)
[Dissector bug, protocol Ceph: epan/dissectors/packet-ceph.c:1516: failed assertion "d->convd" (Frame visited, but no saved state.)]

Thanks for any help

Comments

Could this be a false positive? Are you looking for Ceph protocol specifically?
Do you get a better dissection by disabling that protocol?

It's registered as a heuristic and that type of dissector is making a best guess (and sometimes greedy) at whether the packet matches the protocol.

    heur_dissector_add("tcp", dissect_ceph_heur, "Ceph over TCP", "ceph_tcp", proto_ceph, HEURISTIC_ENABLE);

(source line printing WARNING: https://gitlab.com/wireshark/wireshar...)

User 2763 ( Nov 26 '25 )

Hi,

Thanks for your answer

Could this be a false positive? Are you looking for Ceph protocol specifically?

I was just looking at ceph protocol because I'm curious about it but I'm not very use to wireshark developpers mode and wireshark in general (just using it for casual things). Just wonder what's going on with those package.

Do you get a better dissection by disabling that protocol?

If I disable the protocol, they didn't show up in wireshark but I wan't to see Ceph protocol to understand the underlaying. (It's around 1% of the package so it's not that much)

User 20644 ( Nov 27 '25 )

Can you share a packet capture (place on a public file share and update question with link to it) or a hex dump of the packet causing the warning.

User 2763 ( Nov 27 '25 )

Do any of the sample captures attached to 10150: Ceph Dissector give the same warning you see with your capture?

User 2763 ( Nov 27 '25 )

Hi,

None of the capture in the link are giving me the type of error that I get.

This is what I get in CLI when I load the capture

** (wireshark:11309) 10:14:20.529693 [Epan WARNING] -- Dissector bug, protocol Ceph, in packet 494: epan/dissectors/packet-ceph.c:1516: failed assertion "d->convd" (Frame visited, but no saved state.)

Copy of one of the packet involved

494 3.961913    192.168.219.11  192.168.219.20  Ceph    218 UNKNOWN x7[Dissector bug, protocol Ceph: epan/dissectors/packet-ceph.c:1516: failed assertion "d->convd" (Frame visited, but no saved state.)]

0000   30 3e a7 1b a6 75 92 bf 9c f8 28 c3 08 00 45 00   0>...u....(...E.
0010   00 cc 00 40 40 00 40 06 02 7b c0 a8 db 0b c0 a8   ...@@.@User 8033.{......
0020   db 14 1a 92 e2 fa 06 45 7b 71 22 6a 00 7c 80 18   .......E{q"j.|..
0030   01 e7 a1 38 00 00 01 01 08 0a 6a ef 20 89 a5 9a   ...8......j. ...
0040   1e 7f 06 01 74 00 00 00 08 00 00 00 00 00 00 00   ....t...........
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 e9 15   ................
0060   f1 fd 5d 89 b6 00 00 00 00 00 02 00 00 00 64 00   ..]...........d.
0070   00 00 60 00 00 00 da 46 ab 1d 93 a5 1b ab 5a 71   ..`....F......Zq
0080   8d 35 54 a9 ba 2a 58 9b bf 0b 7c 10 cb 2e 8c 71   .5T..*X...|....q
0090   3d 74 40 0e 92 25 c3 80 70 86 36 bb 7c 1a 3e 82   =t@..%..p.6.|.>.
00a0   2c bd 92 b1 30 78 45 20 5b 10 cd 1f 19 d0 1a 89   ,...0xE [.......
00b0   59 b5 b1 91 34 60 77 69 b9 61 b5 e2 be 7a 65 5b   Y...4`wi.a...ze[
00c0   13 dc 21 50 7d 63 e0 cf fb c5 ac f7 89 65 52 cc   ..!P}c.......eR.
00d0   a4 be 64 19 f0 38 06 20 34 65                     ..d..8. 4e
User 20644 ( Nov 28 '25 )

It's tagged as a CLOSE but the spec says there should be no data after the tag.
Can you share a capture file that shows the full conversation?

Tag: closing pipe (0x06)
https://docs.ceph.com/en/reef/dev/net...

CEPH_MSGR_TAG_CLOSE (0x06)
struct ceph_msgr_close {
        u8 tag = 0x06;
        u8 data[0]; // No data.
}
User 2763 ( Nov 28 '25 )