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

guacd cannot connect to ssh servers with IPv6 addresses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.13-incubating
    • 0.9.14
    • SSH
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: