Michael Jumper
430182dce2
GUACAMOLE-1254: Add unit tests for unique ID generation.
2021-01-06 22:51:07 -08:00
Michael Jumper
f710e00d26
GUACAMOLE-1254: Use libuuid rather than OSSP UUID if available.
...
The libuuid library is widely available (part of util-linux) and much
more frequently updated. The OSSP UUID library works great, but was last
updated in 2008 and causes some confusion for users that have libuuid.
2021-01-06 20:58:22 -08:00
Nick Couchman
a37668e9f5
GUACAMOLE-1245: Add support for specifying Wake-on-LAN port.
2020-12-30 16:50:38 -05:00
Nick Couchman
d20b385834
Merge 1.3.0 changes back to master.
2020-12-22 19:05:16 -05:00
Michael Jumper
3196f9f0d0
GUACAMOLE-1242: Move "connection closed" log message to debug level.
...
It is expected under normal circumstances that the connection may be
abruptly closed, including during the handshake. For example, this will
commonly occur when a TCP load balancer is performing a simple service
health check.
An message noting that the connection has been closed during the
Guacamole protocol handshake is really only of benefit when debugging,
where that information may provide useful context. If not debugging, the
message amounts to log noise.
2020-12-22 13:00:48 -08:00
Virtually Nick
2fc3a43e87
GUACAMOLE-1225: Merge fix simple typo, verfying -> verifying, in code documentation
2020-12-21 08:00:29 -05:00
Tim Gates
ced24fde7d
GUACAMOLE-1225: fix simple typo, verfying -> verifying
...
There is a small typo in src/libguac/tests/parser/read.c, src/libguac/tests/socket/fd_send_instruction.c, src/libguac/tests/socket/nested_send_instruction.c.
Should read `verifying` rather than `verfying`.
Fixes https://issues.apache.org/jira/browse/GUACAMOLE-1225
2020-12-21 17:04:52 +11:00
Michael Jumper
d40db7cd3c
GUACAMOLE-1227: Build support for generic VNC credentials only if supported by libvncclient.
2020-12-02 22:55:16 -08:00
Michael Jumper
9df3e294c3
Merge 1.3.0 changes back to master.
2020-11-03 14:29:52 -08:00
Mike Jumper
7fcddef117
GUACAMOLE-1205: Merge version number bump to 1.3.0.
2020-11-03 14:29:21 -08:00
Nick Couchman
c867d392d0
GUACAMOLE-1205: Update Guacamole Server version numbers for 1.3.0 release
2020-11-03 14:54:55 -05:00
Nick Couchman
8faeea18f8
Merge 1.3.0 changes back to master.
2020-11-03 14:02:38 -05:00
Michael Jumper
1e3fc25268
GUACAMOLE-221: Handle FREERDP_ERROR_* constants only when defined.
...
Only FreeRDP 2.0.0-rc3 and later support all the constants used within
src/protocols/rdp/error.c.
2020-11-03 10:14:51 -08:00
Nick Couchman
299b7b4370
Merge 1.3.0 changes back to master.
2020-11-02 22:17:33 -05:00
Virtually Nick
1e856d4e2d
GUACAMOLE-221: Merge rely on FreeRDP error code if no RDP disconnect reason is available.
2020-11-02 22:16:43 -05:00
Nick Couchman
5124e78e05
Merge 1.3.0 changes back to master.
2020-11-02 20:35:00 -05:00
Virtually Nick
4d3280e817
GUACAMOLE-221: Merge terminate keep-alive thread immediately upon guac_socket_free().
2020-11-02 20:09:18 -05:00
Michael Jumper
8041585379
GUACAMOLE-221: Increase verbosity of logged FreeRDP-related errors.
2020-11-02 15:40:29 -08:00
Michael Jumper
2a4ecda216
GUACAMOLE-221: Terminate keep-alive thread immediately upon guac_socket_free().
...
The keep-alive interval is identical to the timed client free used by
guacd. This results in a race condition where there is a random chance
that guacd will assume that the client has failed to terminate in a
timely manner simply because guac_socket_free() is waiting for the
keep-alive thread to finish.
2020-11-02 14:57:43 -08:00
Nick Couchman
e3df475bda
Merge 1.3.0 changes back to master.
2020-11-02 16:16:22 -05:00
Michael Jumper
1e550b58d9
GUACAMOLE-221: Ensure guacd always enables broadcast socket keep-alive.
2020-11-02 12:51:58 -08:00
Michael Jumper
1e8d9d92a5
GUACAMOLE-221: Rely on FreeRDP error code if no RDP disconnect reason is available.
2020-11-02 12:38:06 -08:00
Nick Couchman
7563402631
Merge 1.3.0 changes back to master.
2020-10-30 10:13:25 -04:00
Virtually Nick
0be71a8c67
GUACAMOLE-1182: Merge ensure converted clipboard data is freed after being sent.
2020-10-30 10:12:25 -04:00
Nick Couchman
4e6ad1939f
Merge 1.3.0 changes back to master.
2020-10-30 08:34:16 -04:00
Michael Jumper
256487c95a
GUACAMOLE-1181: Only free wStream after send if FreeRDP requires this.
2020-10-29 18:29:47 -07:00
Michael Jumper
2c86e20ab9
GUACAMOLE-1181: Free wStream after send is complete/cancelled.
2020-10-28 20:23:37 -07:00
Michael Jumper
683ef1722e
GUACAMOLE-1182: Ensure converted clipboard data is freed after being sent.
2020-10-28 16:36:50 -07:00
Mike Jumper
2aa0218cc7
GUACAMOLE-1190: Merge guacd support for listening on IPv6 addresses.
2020-10-08 00:32:32 -07:00
Jonas Zeiger
8d683b560c
GUACAMOLE-1190: Specify correct address family when creating socket
2020-10-07 10:02:28 +02:00
Jimmy
d6a817f58c
GUACAMOLE-1185: Fixed one typo mistake.
2020-09-28 10:35:05 +03:00
Mike Jumper
558eb149f4
GUACAMOLE-1031: Merge correction to handling of RDP SFTP upload directory.
2020-09-27 16:34:56 -07:00
Nick Couchman
3e19583b29
GUACAMOLE-221: Switch VNC credentials to NULL when parameter is not passed
2020-09-20 14:41:29 -04:00
Nick Couchman
9e1dada14b
GUACAMOLE-221: Add CUnit tests for guac_strdup()
2020-09-20 14:41:29 -04:00
Nick Couchman
3b4007c9fa
GUACAMOLE-221: Tweak logic for when RDP domain is requested.
2020-09-20 14:41:29 -04:00
Nick Couchman
bfb54f72a0
GUACAMOLE-221: Clean up libguac, protocol changes, and documentation.
2020-09-20 14:41:29 -04:00
Nick Couchman
6605f217c5
GUACAMOLE-221: Rollback changes to SSH protocol prompting
2020-09-17 21:12:33 -04:00
Nick Couchman
b6d3edb749
GUACAMOLE-221: Move VNC and RDP argv to new callback.
2020-09-17 21:12:33 -04:00
Nick Couchman
f70fdfc612
GUACAMOLE-221: Add back in SSH credential argv support; fix style and comments.
2020-09-15 14:48:15 -04:00
Nick Couchman
ec3cdfd17b
GUACAMOLE-221: We need to flush the socket after sending required.
2020-09-15 14:48:15 -04:00
Nick Couchman
26b9850d87
GUACAMOLE-221: Remove bad rebase code.
2020-09-15 14:48:15 -04:00
Nick Couchman
98dbf15d0b
GUACAMOLE-221: Fix up SSH terminal prompt fallback.
2020-09-15 14:48:15 -04:00
Nick Couchman
e8feeabfef
GUACAMOLE-221: Implement CUnit tests for protocol version comparison and conversion.
2020-09-15 14:48:15 -04:00
Nick Couchman
0db61198e9
GUACAMOLE-221: Fix up lots of comments, streamline code, and fix SSH mutex lock.
2020-09-15 14:48:15 -04:00
Nick Couchman
bc8ed4e104
GUACAMOLE-221: Implement guacd support for verifying that client can accept the required instruction.
2020-09-15 14:48:15 -04:00
Nick Couchman
b00b629b96
GUACAMOLE-221: Clean up VNC mutex; update comments.
2020-09-15 14:48:15 -04:00
Nick Couchman
0761908a77
GUACAMOLE-221: Sockets start keep alive by default.
2020-09-15 14:48:15 -04:00
Nick Couchman
c579e7337f
GUACAMOLE-221: Implement function for sending required to client owner.
2020-09-15 14:48:15 -04:00
Nick Couchman
5ec2551761
GUACAMOLE-221: Use constants for parameters updated via argv or required instructions.
2020-09-15 14:48:15 -04:00
Nick Couchman
5881209f12
GUACAMOLE-221: Move keep-alives to protocol implementation and only send required instruction to owner.
2020-09-15 14:48:15 -04:00