I use RDP.

So the behavior is inside the used lib and none of guacamoles business?

Gruß,
R. Kluth

> Am 26.07.2023 um 17:36 schrieb Nick Couchman <vn...@apache.org>:
> 
> On Wed, Jul 26, 2023 at 11:09 AM Robin Kluth <kont...@kluthr.de> wrote:
>> 
>> Hi,
>> 
>> I have a connection issue with latest guacamole (dockerized) if the target 
>> has more than one IP.
>> 
>> My notebook had one IP and I could connect like normal. One day I had to 
>> connect a USB<->Ethernet Adapter. My Notebook has now two IPs, because both 
>> adapters are inside the same network with a DHCP.
>> 
>> 
>> I disconnected my ethernet adapter. My router still has the entry inside it 
>> and a nslookup for my hostname still return both IPs. But it seems, that 
>> guacamole picks up the dead one which results in a connection error. 
>> Manually removing the dead IP "fixes" the issue.
>> 
>> It would be awesome if guacamole would respect all given IPs and tries 
>> everyone until it succeeds.
> 
> What protocol are you using to connect? I ask because the SSH and
> Telnet protocols, in particular, actually do resolve the hostname to
> its IP addresses and then loop through each result, trying each one
> until one succeeds:
> 
> https://github.com/apache/guacamole-server/blob/870cc5fc32f2806985a7868004e1324658d87f61/src/common-ssh/ssh.c#L426-L477
> https://github.com/apache/guacamole-server/blob/870cc5fc32f2806985a7868004e1324658d87f61/src/protocols/telnet/telnet.c#L404-L447
> 
> VNC and RDP, on the other hand, abstract away that functionality to
> the underlying libraries (libvncserver and FreeRDP, respectively), so
> there's a bit less control that Guacamole has over how those
> connections behave. Kubernetes support also seems to delegate this to
> the underlying library (LWP).
> 
> -Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to