Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2214

Proton can generate an attach frame that violates the remotes max-frame-size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • proton-c-0.30.0
    • proton-c-future
    • proton-c
    • None

    Description

      Not convinced this is actually a bug - more a user error - but wanted to raise the issue to understand what the expected behavior should be.

      See DISPATCH-1533 for details and reproducer;

      TL;DR: a chaos client written in Proton/python stresses the qdrouterd by creating links with very long target addresses. If the addresses are too long - resulting in a Attach performative that is larger than the remote's max-frame-size - proton generates and sends the oversized Attach frame regardless.

      This could be considered a bug because according to the standard a client must not generate a frame > max-frame-size.

      While the reaction of the peer is correct (close w/framing-error) the description is too vague given the actual error is specific (frame too large). It would've helped me debug this faster if description was that specific.

      [0x614000035850]: AMQP:FRAME:0 <- @close(24) [error=@error(29) [condition=:"amqp:connection:framing-error", description="malformed frame"]]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: