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

guacd cannot connect to ssh servers with IPv6 addresses

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.13-incubating
    • Fix Version/s: 0.9.14
    • Component/s: SSH
    • Labels:
      None
    • Environment:
      IPv6

      Description

      While IPv6 works well with RDP, if an SSH server is configured with an IPv6 address, guacd will always fails to connect to the SSH server via that IPv6 address, reporting the following error in the logs:

      guacd[8407]: Unable to connect to any addresses.
      

      This is due to the following code in guacd:

          /* Get socket */
          fd = socket(AF_INET, SOCK_STREAM, 0);
      

      The socket type for the socket created above will be always AF_INET which only works for IPv4.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sanhex James He
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: