On Tue, Apr 13, 2021 at 9:19 AM Thomas Besser <[email protected]> wrote:
> Hi Mike, > > Am 09.04.21 um 01:17 schrieb Mike Jumper: > > If you connect directly to the connection (without a balancing group at > > all), does the connection wait for the expected 40 seconds? > > Yes. > > Unfortunately even the host is already running. A check (ping) before > wol would be nice for the future. > > Yeah, we discussed this when implementing the WoL feature, but didn't want to delay the release to add it, so we talked about coming back and doing it later. Unfortunately a ping isn't quite as easy as you might think - from the O/S perspective a ping requires elevated (=root) privileges, so adding it to guacd would mean some major work to allow guacd to elevate to root, which we don't really want to do. However, we did talk about having guacd check the configured IP or hostname and TCP port for the connection (TCP ping, something like that), and that seems like a reasonable direction. -Nick
