Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-587

RDP connections fail due to Guacamole protocol violation

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • libguac
    • None

    Description

      The implementation of the Guacamole protocol within libguac enforces a limit on the number of elements a instruction may contain to ensure instruction space cannot be exhausted without bound by a malicious client. This limit is currently set at 64:

      /**
       * The maximum number of elements per instruction, including the opcode.
       */
      #define GUAC_INSTRUCTION_MAX_ELEMENTS 64
      

      As GUACAMOLE-445 added a 64th parameter to RDP, this means the client cannot send its connect response to the initial args instruction during the Guacamole protocol handshake without exceeding this limit, and connections cannot be established:

      ...
      guacd[7]: ERROR:        Guacamole protocol violation. Perhaps the version of guacamole-client is incompatible with this version of libguac?
      guacd[7]: DEBUG:        Error reading "connect": Instruction parse error
      ...
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vnick Nick Couchman
            meeheewee Marc
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment