You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/09/27 02:48:01 UTC

[jira] [Resolved] (GUACAMOLE-396) guacd cannot connect to ssh servers with IPv6 addresses

     [ https://issues.apache.org/jira/browse/GUACAMOLE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Jumper resolved GUACAMOLE-396.
--------------------------------------
    Resolution: Fixed

> guacd cannot connect to ssh servers with IPv6 addresses
> -------------------------------------------------------
>
>                 Key: GUACAMOLE-396
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-396
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd
>    Affects Versions: 0.9.13-incubating
>         Environment: IPv6
>            Reporter: James He
>             Fix For: 0.9.14-incubating
>
>
> - Configure an IPv6 address on a ssh server.
> - Add a ssh connection with the IPv6 address in guacamole.
> - Guacd always fails to connect to the ssh server with the IPv6 address.
> - Observed the below error log.
> guacd[8407]: Unable to connect to any addresses.
> More info:
> - IPv6 works well with RDP.
> - The connection failure with SSH and IPv6 is caused by the below code in guacd. The socket type for ssh will be always AF_INET which only works for IPv4.
> vi src/common-ssh/ssh.c +435
> /* Get socket */
>     fd = socket(AF_INET, SOCK_STREAM, 0);
> Question:
> Can I try to fix it and make a pull request on GitHub for review? Thanks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)