Michael Jumper
d562cb7648
GUACAMOLE-484: Ensure disconnect reason code is checked for orderly RDP disconnect.
2018-01-22 12:16:09 -08:00
csenel
93b3eebc5d
GUACAMOLE-481: Add Turkish Q keymap for RDP
2018-01-09 10:53:05 +03:00
Nick Couchman
66ffda24f0
GUACAMOLE-448: Add support for configuring bitmap caching.
2018-01-02 18:26:29 -05:00
Michael Jumper
2c12c12850
GUACAMOLE-424: Merge changes addressing potential NULL-pointer dereference in VNC user leave handler.
2017-11-15 07:05:21 -08:00
Michael Jumper
a75bca1e95
GUACAMOLE-273: Merge RDP support for Portuguese Brazilian keyboard.
2017-11-14 17:17:34 -08:00
Frode Langelo
fc599d2aec
GUACAMOLE-273: Remove Mac remapping of €.
2017-11-14 20:04:49 +00:00
Michael Jumper
493fa4df16
GUACAMOLE-233: Merge RDP support for Spanish keyboards.
2017-11-14 10:56:28 -08:00
Frode Langelo
fc15850288
GUACAMOLE-233: Add Spanish keymap for RDP.
2017-11-13 22:57:21 +00:00
Frode Langelo
a8174eeac9
GUACAMOLE-273: Fix comment for remapping of €.
2017-11-13 22:52:39 +00:00
Frode Langelo
ed8a32f98b
GUACAMOLE-273: Add Brazillian ABNT2 keymap for RDP.
2017-11-13 22:43:42 +00:00
Frode Langelo
625eee0caa
GUACAMOLE-434: Add UK English keymap for RDP.
2017-11-13 22:26:29 +00:00
itsankoff
e139b20d12
GUACAMOLE-424: Remove check against NULL for display cursor
2017-11-13 14:51:31 +02:00
Michael Jumper
233f5e27e2
GUACAMOLE-296: Merge changes reverting explicit linking of libwinpr-utils.
2017-11-06 11:24:39 -08:00
Nick Couchman
b9f8e13d80
GUACAMOLE-296: Revert manual addition of winpr-utils library.
2017-11-06 12:20:56 -05:00
itsankoff
bbafa00df0
GUACAMOLE-424: Prevent null pointer dereference for vnc client display and cursor
2017-11-02 19:53:17 +02:00
sanhex
d33bd8deff
GUACAMOLE-384: fixing segfault during ssh disconnect
...
Root Cause:
See the core dump and Valgrind report posted on Jira. guacd was reading a ssh terminal which had been freed. When a ssh connection is terminated, guac_ssh_client_free_handler() will be called from guacd_exec_proc() -> guac_client_free() with pointer client->free_handler. In guac_ssh_client_free_handler(), when ssh_client->term is freed, ssh_client->client_thread may still be using the ssh_client->term. It causes the crash reported in this bug.
The stack trace exposing the problem can be found by running guacd under Valgrind with a ssh test script. The test script repeats doing ssh login and logout for 5000 times.
Solution:
In guac_ssh_client_free_handler(), before calling guac_terminal_free(ssh_client->term), close the stdin pipe of the terminal to stop reading the pipe with guac_terminal_read_stdin() in ssh_input_thread(). So that ssh_input_thread() can be terminated in this case. Call pthread_join() to wait for ssh_client_thread() terminating before freeing the terminal.
Add a new function guac_terminal_stop() to close the pipe and set the fds to invalid (-1). Call it in guac_ssh_client_free_handler() and guac_terminal_free().
Checking the client running state in ssh_input_thread() and ssh_client_thread() to make sure they can be terminated when the client is stopped in guacd_exec_proc() by another thread.
Test:
- Confirmed ssh connection works normally.
- Observed the child process of guacd exits when ssh connection is terminated.
- Reran the ssh test script. Observed no crash.
2017-10-29 18:11:15 -07:00
itsankoff
15f6c4f3dc
GUACAMOLE-424: Fix null pointer dereference for vnc client display
2017-10-24 20:21:03 +03:00
Michael Jumper
95be88be19
GUACAMOLE-296: Merge fix for linking issues with FreeRDP 1.1 and guacai (audio input).
2017-10-14 23:45:35 -07:00
Nick Couchman
caedf26a06
GUACAMOLE-296: Break out WINPR libs into their own variable.
2017-10-13 21:25:32 -04:00
David Fort
bb527f30f8
GUACAMOLE-402: fix out-of-tree build
...
Use $(srcdir) in places were it's needed, so that an out-of-tree build works.
2017-10-12 15:11:27 +02:00
sanhex
3c7a09f52b
GUACAMOLE-400: Fix guacd crash when ssh key fails
...
Root Cause:
In the ssh library of guacd, function ssh_client_thread(), when guac_ssh_get_user() fails to load private key for ssh authentication, it will return NULL. In this case, the subsequent call to guac_common_ssh_create_session() with parameter 'user=0x0' will cause guacd crash in function guac_common_ssh_authenticate() by accessing 'user->username'.
Solution:
- Update the comment of function guac_ssh_get_user() to document that NULL will be returned if fails to import key for the user.
- In function ssh_client_thread(), verify the return of guac_ssh_get_user(). If ssh_client->user is NULL, return NULL.
Test:
- Configured a ssh app with an encrypted private key and a wrong passphrase.
- Ran the ssh app from web portal and observed guacd crash.
- Applied the fix and reran the ssh app. Observed no crash.
2017-09-29 11:04:48 -07:00
Ilya Shipitsin
fc071fd1af
GUACAMOLE-383: resolve issues identified by cppcheck
...
[src/guacd/conf-file.c:206]: (error) Memory leak: conf
[src/protocols/rdp/rdp_cliprdr.c:205]: (error) Memory leak: output
[src/terminal/display.c:283]: (error) Memory leak: display
[src/terminal/display.c:290]: (error) Memory leak: display
2017-09-20 22:55:58 +05:00
Michael Jumper
7857dd0a9a
GUACAMOLE-303: Ensure there is always space for the null terminator when normalizing.
2017-07-04 12:00:43 -07:00
Michael Jumper
d51e92eb31
GUACAMOLE-303: Add "sftp-root-directory" parameter to VNC, RDP, and SSH.
2017-06-29 15:48:23 -07:00
Michael Jumper
0474f86c46
GUACAMOLE-303: Extend common SFTP filesystem such that arbitrary directories can be used as the root of the filesystem.
2017-06-29 15:36:10 -07:00
Michael Jumper
e5a1b4d8ae
GUACAMOLE-326: Explicitly deny attempted reads/writes to Windows named data streams (like "foo:Zone.identifier" for the file "foo").
2017-06-26 14:40:32 -07:00
Nick Couchman
041fcc4651
GUACAMOLE-203: Change remaining instances of timer to timeout.
2017-06-25 05:13:22 -04:00
Nick Couchman
05dfb1a6ae
GUACAMOLE-203: Deal correctly with negative keepalive values.
2017-06-25 05:10:22 -04:00
Nick Couchman
8c24c77d55
GUACAMOLE-203: Change timer to timeout
2017-06-14 13:00:30 -04:00
Nick Couchman
af4d762147
GUACAMOLE-203: Move warning about minimum alive interval to single place in common code.
2017-06-14 12:49:49 -04:00
Nick Couchman
89b9a905db
GUACAMOLE-203: Tweak warning message sent to users.
2017-06-14 11:11:32 -04:00
Nick Couchman
df718395e8
GUACAMOLE-203: Change alive interval from int to unsigned.
2017-06-14 10:17:28 -04:00
Nick Couchman
193051dfd5
GUACAMOLE-203: Change parameter name for consistency
2017-06-14 08:40:07 -04:00
Nick Couchman
070bd25721
GUACAMOLE-203: if statement style tweak
2017-06-14 08:27:09 -04:00
Nick Couchman
03403e3ea5
GUACAMOLE-203: Correct implementation of SSH keepalive option for SFTP connections across all protocols.
2017-05-31 21:03:14 -04:00
Nick Couchman
e7fc8a0d98
GUACAMOLE-203: Expand SSH keepalives to cover SFTP connections for other protocols.
2017-05-31 21:03:09 -04:00
Nick Couchman
9993684205
GUACAMOLE-203: Warn user if they try to enter keepalive value < 2 seconds.
2017-05-31 21:03:06 -04:00
Nick Couchman
1e3d82cc63
GUACAMOLE-203: Update comment for keep alive interval.
2017-05-31 21:03:04 -04:00
Nick Couchman
f693b02e12
GUACAMOLE-203: Tighten up code, implement constant for socket poll timer.
2017-05-31 21:02:59 -04:00
Nick Couchman
75019f5e4b
GUACAMOLE-203: Add a few more comments to code.
2017-05-31 21:02:53 -04:00
Nick Couchman
8ab7e56972
GUACAMOLE-203: Implement keepalive config in SSH connection.
2017-05-31 21:02:50 -04:00
Nick Couchman
f42f05aab7
GUACAMOLE-203: Add option entries for ServerAliveInterval.
2017-05-31 21:02:38 -04:00
Michael Jumper
8024f13458
GUACAMOLE-306: Do not attempt to send VNC events with a non-existent VNC client object.
2017-05-19 14:20:28 -07:00
James Muehlner
69caa9936b
GUACAMOLE-40: Merge RD gateway support.
2017-04-20 21:36:44 -07:00
Michael Jumper
228874804e
GUACAMOLE-268: Use 64-bit unsigned integers to represent file size internally (identical to RDPDR).
2017-04-17 11:52:07 -07:00
Michael Jumper
09099050cb
GUACAMOLE-40: Set RD gateway and load balancing settings for FreeRDP where applicable.
2017-04-10 00:13:38 -07:00
Michael Jumper
da8636ef54
GUACAMOLE-40: Add and parse RD gateway connection parameters.
2017-04-09 23:58:11 -07:00
dborth
8833c0dd79
GUACAMOLE-262: set VNC trueColour flag to 1 instead of 255
2017-04-03 09:28:22 -06:00
Michael Jumper
61896e829c
GUACAMOLE-257: Set VNC/SSH file upload handlers only if SFTP is enabled.
2017-03-28 10:48:38 -07:00
James Muehlner
c4903a8e36
Merge 0.9.12-incubating changes back to master.
2017-02-28 10:32:49 -08:00
Michael Jumper
3f7ccb6b9a
GUACAMOLE-169: Move terminal headers to namespaced directory.
2017-02-27 14:34:46 -08:00
Michael Jumper
d371f2d9ee
GUACAMOLE-169: Move common-ssh headers to namespaced directory.
2017-02-27 14:28:23 -08:00
Michael Jumper
fb8a2766da
GUACAMOLE-194: Free SSH user for VNC+SFTP and RDP+SFTP only within client free.
2017-02-26 15:10:53 -08:00
Michael Jumper
c796787f25
GUACAMOLE-218: Reset internal RDPSND audio format counter whenever a new SNDC_FORMATS PDU is received.
2017-02-25 15:08:16 -08:00
James Muehlner
077cc84d27
GUACAMOLE-208: Merge new protocol status codes.
2017-02-15 21:52:36 -08:00
Michael Jumper
4f4643dd2f
GUACAMOLE-208: Report network failures to connect with UPSTREAM_NOT_FOUND.
2017-02-15 21:40:00 -08:00
Michael Jumper
a78d52e615
GUACAMOLE-208: Handle RDP disconnect reason codes.
2017-02-15 21:23:46 -08:00
Michael Jumper
12cde5d520
GUACAMOLE-200: Clear reference to active job after the job has been freed.
2017-02-15 20:11:26 -08:00
Michael Jumper
7a4b737a3a
GUACAMOLE-200: Document all parameters of guac_rdp_print_job_write().
2017-02-15 19:59:50 -08:00
Michael Jumper
bf2a5885d0
GUACAMOLE-200: Move print job cleanup into main RDP client thread.
2017-02-14 00:09:24 -08:00
Michael Jumper
5a68f932d6
GUACAMOLE-200: Maintain print jobs at top level. Do not rely on proper free of RDPDR plugin.
2017-02-14 00:02:17 -08:00
Michael Jumper
1537e475af
GUACAMOLE-200: Refactor RDPDR print job object to top-level.
2017-02-13 23:51:33 -08:00
Michael Jumper
17093a8149
GUACAMOLE-200: Kill any remaining print job when connection closes.
2017-02-13 23:08:54 -08:00
Michael Jumper
d23a22b7c6
GUACAMOLE-200: Clean up PostScript document title search logic.
2017-02-13 18:42:28 -08:00
Michael Jumper
3fc43fba37
GUACAMOLE-200: Refactor RDPDR printer such that the "ack" handler cannot block.
2017-02-13 18:42:28 -08:00
James Muehlner
d831a4b9df
GUACAMOLE-188: Merge alpha component support for common surface.
2017-01-29 12:45:46 -08:00
James Muehlner
135514a0d2
GUACAMOLE-94: Merge move from readdir_r to readdir.
2017-01-29 12:30:24 -08:00
Michael Jumper
b9faca923b
GUACAMOLE-135: Correct Swiss French mapping of "¬", "|", and "¢" (off by one key).
2017-01-28 14:55:38 -08:00
Michael Jumper
c79b303237
GUACAMOLE-135: Clean up spacing and alignment of Swiss French keymap.
2017-01-28 14:23:33 -08:00
Michael Jumper
c6f6bb67f0
GUACAMOLE-135: Swiss Franch dead umlaut should map from keysym 0xFE57.
2017-01-28 14:22:22 -08:00
Michael Jumper
fb298acdcd
GUACAMOLE-135: Abbreviate Swiss French mapping range where possible.
2017-01-28 14:21:17 -08:00
Michael Jumper
86493dda93
GUACAMOLE-135: Remove duplicate scancode mappings from Swiss French keymap.
2017-01-28 14:19:52 -08:00
Cédric Marie-Marthe
941fd9659a
GUACAMOLE-135: Add Swiss-French keymap for RDP.
2017-01-28 13:35:21 -08:00
Michael Jumper
dc6cae46ca
GUACAMOLE-94: Use readdir() instead of readdir_r(). Multiple threads will not be accessing the same directory stream.
2017-01-28 00:11:59 -08:00
Michael Jumper
1a5f48961c
GUACAMOLE-188: Allow alpha component to be set within common surface.
2017-01-27 16:51:45 -08:00
James Muehlner
5d5fbb4d45
GUACAMOLE-172: Merge lag calculation improvements.
2017-01-24 23:26:29 -08:00
Michael Jumper
48ebbe95ea
GUACAMOLE-179: Move PulseAudio support into separate utility library.
2017-01-24 17:19:06 -08:00
Michael Jumper
234f98705e
GUACAMOLE-172: Use frame start as end of previous frame (ignore server-side time).
2017-01-24 00:18:07 -08:00
Michael Jumper
f641d91b55
GUACAMOLE-172: Exclude server-side rendering time from next frame's required wait (if render times are consistent, then including that time will result in duplicate waiting: once within the render loop, and again when actually flushing the display).
2017-01-24 00:18:04 -08:00
Michael Jumper
eee928548d
GUACAMOLE-169: Use proper namespace for internal common headers.
2017-01-23 23:26:26 -08:00
Michael Jumper
e5b3af8ffe
GUACAMOLE-86: Remove terminal emulator's STDOUT pipe. Use pthread_cond_t to signal modification.
2017-01-16 00:02:30 -08:00
James Muehlner
574bec859a
GUACAMOLE-119: Merge addition of missing liscense files and exclusion of generated source from source archive.
2016-11-13 10:52:16 -08:00
Michael Jumper
8fc4cc928d
GUACAMOLE-119: Do not include generated sources in source tarball.
2016-11-12 18:56:18 -08:00
Michael Jumper
c12e26404a
GUACAMOLE-118: Use poll() when waiting for data from RDP. Reformat for sake of readability/verification.
2016-11-11 13:45:01 -08:00
Michael Jumper
2421fc2f11
GUACAMOLE-118: Use poll() when waiting for data from SSH.
2016-11-11 13:16:57 -08:00
Michael Jumper
168359344e
GUACAMOLE-118: Use poll() when waiting for data from Telnet.
2016-11-11 13:13:48 -08:00
Michael Jumper
bed38cec71
GUACAMOLE-117: Do not stop connection when the intent is to reconnect (originally broken by commit a64c3e0
).
2016-10-29 15:00:53 -07:00
Michael Jumper
996f1a8ec2
GUACAMOLE-51: Require shift released and numlock active for keypad numerals.
2016-08-16 20:00:24 -07:00
Michael Jumper
69ab054323
GUACAMOLE-51: Support -num and +num option (require clear/set numlock) in keymaps.
2016-08-16 20:00:24 -07:00
Michael Jumper
0c48096147
GUACAMOLE-51: Track and synchronize remote lock key state.
2016-08-16 20:00:24 -07:00
Michael Jumper
4f4f83f9a7
GUACAMOLE-51: Isolate sending of specific RDP events within own functions.
2016-08-16 19:54:08 -07:00
Michael Jumper
78a696a86f
GUACAMOLE-51: Abstract away RDP keyboard state tracking with dedicated guac_rdp_keyboard structure.
2016-08-13 18:14:04 -07:00
Michael Jumper
1ad99a312e
GUACAMOLE-5: Add "read-only" parameter to RDP, SSH, and telnet (per-user, just like VNC).
2016-07-24 22:36:25 -07:00
Michael Jumper
59e66ddc77
GUACAMOLE-5: Handle VNC's "read-only" parameter on a per-user basis.
2016-07-24 22:36:25 -07:00
Michael Jumper
0641ccf601
GUACAMOLE-5: Store connection parameters at user level. Maintain reference to owner's connection parameters at client level.
2016-07-24 22:05:04 -07:00
Michael Jumper
69ddeeb06d
GUACAMOLE-44: Refactor the RDPDR printer to synchronous operation.
2016-06-16 15:40:43 -07:00
Michael Jumper
c1fdbca62b
GUACAMOLE-25: Avoid unnecessary allocation of temporary string for guac_rdp_ptr_to_string().
2016-06-03 11:41:55 -07:00
Michael Jumper
402b039384
GUACAMOLE-25: Update documentation regarding loading of dynamic virtual channel plugins.
2016-06-01 22:06:17 -07:00
Michael Jumper
0d29694afc
GUACAMOLE-25: Reset I/O counters upon end-of-stream.
2016-06-01 16:20:38 -07:00
Michael Jumper
0be04ea54d
GUACAMOLE-25: Resample received audio as necessary.
2016-06-01 15:25:42 -07:00
Michael Jumper
1c2890b47c
GUACAMOLE-25: Store PCM format expected by RDP server.
2016-05-26 10:39:33 -07:00
Michael Jumper
ad00cce0ad
GUACAMOLE-25: Store audio format within common structure.
2016-05-25 14:38:22 -07:00
Michael Jumper
260d0cd340
GUACAMOLE-25: Remove STUB.
2016-05-25 13:50:29 -07:00
Michael Jumper
533a47f06d
GUACAMOLE-25: Store input and output audio format.
2016-05-25 13:50:29 -07:00
Michael Jumper
320f564daf
GUACAMOLE-25: Implement parsing of audio mimetypes.
2016-05-25 13:50:29 -07:00
Michael Jumper
8ccf61e6b1
GUACAMOLE-25: Support FreeRDP stable-1.0 and compatible.
2016-05-25 13:50:29 -07:00
Michael Jumper
f1d4393eb8
GUACAMOLE-25: Implement buffer attachment in Stream_New() and Stream_Free() compatibility functions.
2016-05-25 13:50:28 -07:00
Michael Jumper
1393358469
GUACAMOLE-25: Abstract DVC management away from FreeRDP for sake of API compatibility.
2016-05-25 13:50:28 -07:00
Michael Jumper
46bdf0692f
GUACAMOLE-25: Delay sending of "ack" until RDP has opened the AUDIO_INPUT stream. Close audio stream with another "ack" when RDP has closed the AUDIO_INPUT stream.
2016-05-25 13:50:28 -07:00
Michael Jumper
166eba11b7
GUACAMOLE-25: Fix pointer update in audio input buffer transfer.
2016-05-25 13:50:28 -07:00
Michael Jumper
4e4dbd6a2d
GUACAMOLE-25: Fix configure test for FreeRDP variations.
2016-05-25 13:50:28 -07:00
Michael Jumper
9d5871a3c8
GUACAMOLE-25: Buffer and send Data PDUs as necessary.
2016-05-25 13:50:28 -07:00
Michael Jumper
63cd2ce512
GUACAMOLE-25: Partially handle the Open PDU.
2016-05-25 13:50:28 -07:00
Michael Jumper
86806a3759
GUACAMOLE-25: Handle the server's Sound Formats PDU.
2016-05-25 13:50:28 -07:00
Michael Jumper
503ffb0d45
GUACAMOLE-25: Implement message processing. Stub handlers.
2016-05-25 13:50:28 -07:00
Michael Jumper
1088332376
GUACAMOLE-25: Add support for multiple versions of IWTSVirtualChannelCallback.
2016-05-25 13:50:28 -07:00
Michael Jumper
ac94fd4cd0
GUACAMOLE-25: Add stub callbacks for AUDIO_INPUT data handling.
2016-05-25 13:50:28 -07:00
Michael Jumper
9cd89e6580
GUACAMOLE-25: Allocate proper number of argument entries.
2016-05-25 13:50:28 -07:00
Michael Jumper
4fdcfebf25
GUACAMOLE-25: Set AudioCapture flag if audio input is enabled.
2016-05-25 13:50:28 -07:00
Michael Jumper
36cc9f492f
GUACAMOLE-25: Convert guac_client pointer to/from a string for sake of FreeRDP's DVC API.
2016-05-25 13:50:28 -07:00
Michael Jumper
21ab9d765d
GUACAMOLE-25: Add stub "guacai" plugin for AUDIO_INPUT channel support.
2016-05-25 13:50:28 -07:00
James Muehlner
ec93a2989f
GUACAMOLE-33: Merge mouse duplication user disconnect fix.
2016-05-23 20:45:18 -07:00
James Muehlner
fa3565e617
Merge rdp performance flag fixes.
2016-05-23 20:43:36 -07:00
Michael Jumper
9ae667e6bc
GUACAMOLE-35: Fix logic of desktop_composition flag.
2016-05-23 20:39:26 -07:00
Michael Jumper
82fd6a279b
GUACAMOLE-33: Implement leave handlers for RDP, SSH, and telnet.
2016-05-23 13:58:30 -07:00
Michael Jumper
46b29edc5f
GUACAMOLE-33: Actually use VNC's leave handler.
2016-05-23 13:58:30 -07:00
Michael Jumper
92e2f4e420
GUACAMOLE-33: Restore guac_common_cursor_remove_user() (reverts commit af7968e).
2016-05-23 13:58:30 -07:00
Michael Jumper
a64c3e0179
GUACAMOLE-34: Ensure guac_client_stop() or guac_client_abort() are called in ALL cases where the client thread terminates.
2016-05-23 13:58:01 -07:00
Michael Jumper
88b422987e
GUACAMOLE-35: Ensure performance flag values are applied.
2016-05-23 13:55:37 -07:00
Michael Jumper
facc0a794e
GUAC-1517: Only allocate one audio stream for RDP connection.
2016-03-31 14:25:31 -07:00
Michael Jumper
ba673c52b0
GUAC-1517: Only allocate filesystem objects once per Guacamole connection. Do not reallocate when RDP automatically reconnects due to resize.
2016-03-30 12:22:32 -07:00
Michael Jumper
5b4a02e8a5
GUACAMOLE-1: Relicense RDP keymaps and associated Perl script.
2016-03-28 20:39:45 -07:00
Michael Jumper
f4b8c70f79
GUACAMOLE-1: Relicense build/shell scripts.
2016-03-28 20:39:38 -07:00
Michael Jumper
4da3bef4ec
GUACAMOLE-1: Relicense C files.
2016-03-28 20:39:19 -07:00
Michael Jumper
ecbb6fc6b3
GUAC-1164: Do not load "drdynvc" plugin unless actually needed.
2016-03-22 16:50:49 -07:00
Michael Jumper
1cb4325422
GUAC-1164: Init/uninit common SSH client only once. Do not touch display if RDP server is not connected.
2016-03-17 18:29:27 -07:00
Michael Jumper
0fb8a49e62
GUAC-1164: Do not send clipboard notification to RDP server if RDP server is not connected.
2016-03-17 18:06:23 -07:00
Michael Jumper
7c3d108e21
GUAC-1164: Duplicate strings which FreeRDP will free when it frees its settings structure.
2016-03-17 18:05:16 -07:00
Michael Jumper
0a4bfc95d1
GUAC-1164: Ensure audio stream and context are freed upon disconnect.
2016-03-17 17:30:32 -07:00
Michael Jumper
176ff96a26
GUAC-1164: Ensure elements of SVC names array are freed.
2016-03-17 15:54:15 -07:00
James Muehlner
55f5d1cca3
Merge pull request #129 from glyptodon/rdp-resize
...
GUAC-1164: Add parameter for automatically reconnecting when display changes
2016-03-16 21:37:06 -07:00
Michael Jumper
c336ce39e2
GUAC-1164: Document guac_rdp_handle_connection().
2016-03-16 21:30:46 -07:00
Michael Jumper
db82c6fa02
GUAC-1164: Delay display resize relative to display manager creation or reconnect.
2016-03-16 15:27:24 -07:00
Michael Jumper
3997e44810
GUAC-1164: Do not load display update channel unless needed.
2016-03-16 15:02:13 -07:00
Michael Jumper
de78a6efed
GUAC-1164: Reset request throttle after reconnect completed (prevent excessive reconnecting due to lengthy connects).
2016-03-16 14:56:14 -07:00
Michael Jumper
8d14118469
GUAC-1164: Add setting for specifying the resize method, if any.
2016-03-16 14:44:16 -07:00
Michael Jumper
0a5e57362e
GUAC-236: Add missing plurals.
2016-03-16 10:45:11 -07:00
Michael Jumper
534d0e580e
GUAC-236: Add missing documentation for screen recording parameters of VNC and RDP.
2016-03-16 10:26:10 -07:00
Michael Jumper
67a0a1fe46
GUAC-1164: Do not refer to disp member if it does not exist.
2016-03-15 22:11:06 -07:00
Michael Jumper
fc71dcadb0
GUAC-1164: Do not include disply update channel functionsn unless display update channel support is present.
2016-03-15 22:07:38 -07:00
Michael Jumper
81ebfbb5ca
GUAC-1164: rdp_disp.[ch] must now be built in all cases.
2016-03-15 22:02:35 -07:00
Michael Jumper
4e2b90cc0a
GUAC-1164: Conditionally build display update channel support.
2016-03-15 21:59:28 -07:00
Michael Jumper
fc40e9f14c
GUAC-1164: Automatically reconnect when display size changes.
2016-03-15 21:48:56 -07:00
Michael Jumper
e3d1af1953
GUAC-236: Add screen recording support to telnet.
2016-03-14 20:26:31 -07:00
Michael Jumper
6fc208554d
GUAC-236: Add session recording parameters to VNC, RDP, and SSH.
2016-03-14 20:22:02 -07:00
Michael Jumper
35746efca8
GUAC-1389: Document guac_telnet_compile_regex().
2016-03-14 20:12:55 -07:00
Michael Jumper
9253d877a2
GUAC-1389: Do not handle input events until terminal exists.
2016-03-14 20:05:45 -07:00
Michael Jumper
4faf1829d2
GUAC-1389: Add screen sharing support to telnet.
2016-03-14 19:47:36 -07:00
Michael Jumper
3a4aec3708
GUAC-1389: Document parameters of SSH client thread.
2016-03-14 18:32:03 -07:00
Michael Jumper
fa43a94e02
GUAC-1389: Rely on API definition for handler.
2016-03-14 18:27:52 -07:00
Michael Jumper
075b7ffba9
GUAC-1389: Add screen sharing support to SSH.
2016-03-14 17:33:17 -07:00
Michael Jumper
1787683f1b
GUAC-1389: Stretch RDP frames until client has caught up. Do same with VNC. Reduce frame timeout to 0 (essentially automatic now).
2016-03-08 18:12:43 -08:00
Michael Jumper
6f264f9c31
GUAC-1389: Include frame rendering time in lag calculations. Sleep only if necessary.
2016-03-08 16:21:47 -08:00
Michael Jumper
d4d2fe06d9
GUAC-1389: Document RDP frame start timeout.
2016-03-07 21:12:53 -08:00
Michael Jumper
fc5ad6c9cd
GUAC-1389: Document static functions.
2016-03-07 16:40:05 -08:00
Michael Jumper
993e8583a6
GUAC-1389: Document enum for RDP args.
2016-03-07 15:42:50 -08:00
Michael Jumper
12f166c0fc
GUAC-1389: Update comments to match latest standard.
2016-03-07 15:05:31 -08:00
Michael Jumper
5a6c16ab24
GUAC-1389: Document RDP channel data handler.
2016-03-07 13:10:12 -08:00
Michael Jumper
8ce5e1cab2
GUAC-1389: Correct input.h parameter documention with respect to standards.
2016-03-07 12:43:54 -08:00
Michael Jumper
5a9d68a896
GUAC-1389: Correct documentation surrounding RDPDR callback.
2016-03-07 12:40:53 -08:00
Michael Jumper
c95613f8b7
GUAC-1389: Reference client/user handler types directly. Do not redocument parameters.
2016-03-07 12:37:00 -08:00
Michael Jumper
2f58469f1b
GUAC-1389: Do not attempt to free RDP client until client thread finishes.
2016-03-07 11:32:44 -08:00
Michael Jumper
51aaa193f2
GUAC-1389: Allocate sufficient memory for print job close message.
2016-03-07 11:32:44 -08:00
Michael Jumper
eadc3a91a9
GUAC-1389: Two clipboard formats should allocate two cells for said formats.
2016-03-07 11:32:44 -08:00
Michael Jumper
6764196527
GUAC-1389: "any" audio stream, not "an".
2016-03-07 11:32:44 -08:00
Michael Jumper
8ca77c1c78
GUAC-1389: Ensure users that join after a SVC has connected are alerted to its existence.
2016-03-07 11:32:44 -08:00
Michael Jumper
9191e264f8
GUAC-1389: Remove tracking of input pipe (there may be many).
2016-03-07 11:32:44 -08:00
Michael Jumper
d2ca12e88b
GUAC-1389: Download only to owner if invoked via the special "Download" folder of the guac drive.
2016-03-07 11:32:44 -08:00
Michael Jumper
e573e59e83
GUAC-1389: Add screen sharing support to RDP.
2016-03-07 11:32:44 -08:00
Michael Jumper
432eb57b13
GUAC-1389: Remove guac_common_cursor_remove_user() - no longer needed.
2016-03-04 17:10:49 -08:00
Michael Jumper
5f83900ed8
GUAC-1389: Remove dated and incorrect "for now" wording.
2016-03-03 17:56:05 -08:00
Michael Jumper
7f0b0ab1ef
GUAC-1389: Document the frame wait timeout (no magic numbers).
2016-03-03 17:39:09 -08:00
Michael Jumper
967affa883
GUAC-1389: guac_vnc_set_pixel_format() is not a callback.
2016-03-03 17:32:51 -08:00
Michael Jumper
551398ae53
GUAC-1389: remote_cursor flag should be a bool.
2016-03-03 17:29:20 -08:00
Michael Jumper
38f1e87334
GUAC-1389: Only free dest_host if repeater is available.
2016-03-03 13:06:31 -08:00
Michael Jumper
05e8bf3195
GUAC-1389: Document settings. Use macros to remove struct members if their settings are not applicable.
2016-03-03 12:58:46 -08:00
Michael Jumper
f6feec8c84
GUAC-1389: Document VNC connection and thread.
2016-03-03 12:36:11 -08:00
Michael Jumper
f5109fe34e
GUAC-1389: Document logging functions.
2016-03-03 12:30:31 -08:00
Michael Jumper
c3584c8d04
GUAC-1389: Document graphical functions and handlers.
2016-03-03 12:27:59 -08:00
Michael Jumper
880553bf3e
GUAC-1389: Document clipboard handler parameters.
2016-03-03 12:05:41 -08:00
Michael Jumper
58b545293f
GUAC-1389: Use function types directly rather than re-documenting the parameters everywhere.
2016-03-03 12:03:47 -08:00
Michael Jumper
4c62b60f71
GUAC-1389: Document VNC password retrieval.
2016-03-03 11:58:21 -08:00
Michael Jumper
d484a98876
GUAC-1389: Add screen sharing support to VNC.
2016-03-03 11:22:32 -08:00
Michael Jumper
d0be90e711
GUAC-1410: Fix keymap ordering in Makefile.am.
2016-02-01 14:48:39 -08:00
Mike Jumper
bef52c9496
Merge pull request #98 from moriyoshi/moriyoshi/ja-jp-keymap
...
GUAC-1410: Add ja-jp keymap
2016-02-01 14:47:46 -08:00
Michael Jumper
4661f432f0
GUAC-1452: Parse and handle typescript parameters within SSH and telnet.
2016-01-27 12:43:53 -08:00
Michael Jumper
ad34aa99b4
GUAC-1452: Add typescript parameters for SSH/telnet.
2016-01-25 13:12:24 -08:00
Moriyoshi Koizumi
d42ac5aca6
GUAC-1410: Add ja-jp keymap
2016-01-19 17:08:34 +09:00
James Muehlner
7e78ac1eb9
Merge pull request #97 from glyptodon/hyper-v
...
GUAC-363: Add support for the RDP preconnection PDU (and thus Hyper-V)
2015-11-03 20:14:26 -08:00
Michael Jumper
5d608b3500
GUAC-363: Warn of invalid preconnection IDs.
2015-11-03 15:41:28 -08:00
Michael Jumper
b47cff044e
GUAC-363: Set preconnection BLOB and ID if supported by FreeRDP and specified within connection parameters.
2015-11-03 13:36:58 -08:00
Michael Jumper
7fdbc45575
GUAC-1196: The close handler should do nothing - it is not a stub.
2015-11-02 17:18:30 -08:00
Michael Jumper
63f3652c54
GUAC-1196: Document RDPSND message handlers.
2015-11-02 17:15:35 -08:00
Michael Jumper
c3e2754ec4
GUAC-1196: Load RDPSND if RDPDR is loaded, but do not actually handle audio unless enabled.
2015-11-02 16:54:37 -08:00
Michael Jumper
0dddf47af0
GUAC-1196: Use guac_client to access guac_audio_stream rather than storing the audio stream directly.
2015-11-02 15:55:52 -08:00
Michael Jumper
e8b98abfc4
GUAC-1038: Add support for running specific commands via SSH (instead of a shell).
2015-10-19 15:58:44 -07:00
Michael Jumper
7cf2005f5b
GUAC-1354: Replace WAVE encoder with raw PCM encoder. Partially migrate to new audio streaming (Ogg not yet migrated).
2015-10-02 17:16:47 -07:00
Mike Jumper
24cbf72388
Merge pull request #74 from flangelo/num_keypad_map
...
GUAC-1314: Add mapping of numeric keypad operators to the base RDP keymap.
2015-09-20 14:22:06 -07:00
Michael Jumper
4e97843ef0
Merge branch 'master' into experimental
...
Conflicts:
src/common/guac_surface.c
2015-09-14 14:19:54 -07:00
Michael Jumper
afb671c594
GUAC-427: Ensure socket is flushed when audio buffer is flushed.
2015-09-04 18:58:21 -07:00
Michael Jumper
927ceb99dd
GUAC-427: Fix const-ness of pointer.
2015-09-04 13:47:21 -07:00
Michael Jumper
47b060d6eb
GUAC-427: Avoid sending silence received from PulseAudio.
2015-09-04 13:40:51 -07:00
Michael Jumper
08cadba16d
GUAC-240: Remove guac_protocol_send_png() and guac_protocol_send_jpeg().
2015-09-04 12:59:00 -07:00
Michael Jumper
d07d8ba2d2
GUAC-240: Associate Guacamole client with surface.
2015-09-04 12:58:13 -07:00
Frode Langelo
9fceb58444
GUAC-1314: Add mapping of numeric keypad operators to base RDP keymap
2015-09-03 15:52:37 +00:00
Michael Jumper
3bcb9863e7
GUAC-1296: Send IAC BRK when Pause, Break, or Ctrl+0 are pressed.
2015-08-23 16:21:50 -07:00
Michael Jumper
08cfde7678
GUAC-1296: Stub Pause / Break / Ctrl+0 key handling within telnet client.
2015-08-23 16:10:51 -07:00
Frode Langelo
9edf33da2e
GUAC-1290: Change GUAC_VNC_FRAME_TIMEOUT to 10 so more VNC messages are handled in each frame.
2015-08-13 16:38:54 -07:00
Michael Jumper
78b7b73e78
GUAC-240: Remove guac_protocol_send_png() and guac_protocol_send_jpeg().
2015-08-13 16:38:54 -07:00
Michael Jumper
859f7d9340
GUAC-240: Associate Guacamole client with surface.
2015-08-13 16:38:53 -07:00
Michael Jumper
8ff071bf04
Fix botched merge conflict resolution.
2015-08-13 16:38:28 -07:00
Michael Jumper
48bbc6a898
Merge branch 'testing-common-ssh'
...
Conflicts:
src/protocols/rdp/client.c
2015-08-13 16:29:22 -07:00
Michael Jumper
d85ed5f85f
GUAC-1292: Use "sftp-directory" for default upload directory, if specified, for both VNC and RDP.
2015-08-13 16:21:15 -07:00
Michael Jumper
677c3ce6e8
GUAC-1195: Add "color-scheme" parameter to SSH and telnet.
2015-07-28 16:46:32 -07:00
Michael Jumper
fa443249c9
GUAC-1195: Use color scheme constants and names.
2015-07-28 16:43:23 -07:00
Michael Jumper
b2c2779465
GUAC-1195: Define and use color constants for terminal.
2015-07-28 16:20:14 -07:00
Michael Jumper
029b3bdb80
GUAC-1195: Configure default foreground/background when terminal is created.
2015-07-28 15:59:20 -07:00
Michael Jumper
e8e39fd862
GUAC-515: Add missing include required by mkdir().
2015-07-28 14:40:35 -07:00
Michael Jumper
736ec7da23
GUAC-515: Clarify comments and formatting. Use simpler mkdir() logic.
2015-07-28 14:36:08 -07:00
Daryl Borth
52084f4f1f
GUAC-515: Add new RDP setting, create-drive-path, to create the drive.
2015-07-28 14:26:27 -07:00
Michael Jumper
5e4c7de5c7
GUAC-298: Clarify function documentation and naming. Do not simply silently default to ISO8859-1 if encoding is invalid.
2015-07-27 18:19:50 -07:00
Michael Jumper
7bfd7ce0ca
GUAC-298: Add missing comment. Update documentation style.
2015-07-27 17:51:03 -07:00
Michael Jumper
80a4d37173
Merge branch 'vnc_clipboard_encoding' of git://github.com/flangelo/guacamole-server into vnc-encoding
...
Conflicts:
src/protocols/vnc/client.h
2015-07-27 17:47:26 -07:00
Michael Jumper
6f48ebe7fe
GUAC-1264: Use proper parameter for SFTP password within RDP.
2015-07-24 13:55:10 -07:00
Michael Jumper
ec595b9cff
GUAC-1264: Explicitly free users and sessions within VNC and RDP.
2015-07-24 13:55:05 -07:00
Michael Jumper
49beb7d7fd
GUAC-1264: Require explicit free for users and sessions. Ensure SSH client data is zeroed upon allocation.
2015-07-24 13:20:36 -07:00
James Muehlner
da1f2f2ad3
Merge pull request #56 from glyptodon/clean-resources
...
GUAC-1171: Ensure user and session objects are automatically free'd, and that this is documented.
2015-07-14 11:06:04 -07:00
Michael Jumper
cdefe52c67
GUAC-1171: Ensure user and session objects are automatically free'd, and that this is documented.
2015-07-14 11:02:48 -07:00
Michael Jumper
df221e05be
GUAC-1171: RDP settings values may be NULL, and should not be used as defaults if NULL.
2015-07-14 10:49:06 -07:00
Michael Jumper
4d941545cd
GUAC-1171: Ensure directory names are null-terminated.
2015-07-12 22:27:02 -07:00
Michael Jumper
cc717f4112
GUAC-1171: Fix SFTP file upload comments.
2015-07-10 22:41:02 -07:00
Michael Jumper
b770800eda
GUAC-1171: Only include common SSH library if enabled.
2015-07-10 22:26:37 -07:00
Michael Jumper
2e5a3606f3
GUAC-1171: Set up handler for "file" instruction for SFTP filesystem, if no other handler is more appropriate.
2015-07-10 22:13:01 -07:00
Michael Jumper
43a534c98b
GUAC-1171: Add SFTP filesystem support to RDP.
2015-07-10 22:13:01 -07:00
Michael Jumper
1500e63050
GUAC-1171: Add SFTP filesystem support to VNC.
2015-07-10 22:13:01 -07:00
Michael Jumper
bfe4895408
GUAC-1171: Remove extra trailing spaces from parameter comments.
2015-07-10 21:01:17 -07:00
Michael Jumper
3d1d2ea334
GUAC-1171: Migrate to common SSH for SFTP transfers.
2015-07-10 17:21:58 -07:00
Michael Jumper
a6b46a0ea0
GUAC-1171: Add and document SFTP functionality within common SSH.
2015-07-10 17:21:27 -07:00
Michael Jumper
0fcea2738b
GUAC-1171: Migrate to common SSH within client.
2015-07-10 12:46:11 -07:00
Michael Jumper
fbcf8a1e0d
GUAC-1171: Move initialization of SSH, OpenSSL, etc. to common SSH base.
2015-07-09 12:02:31 -07:00
Michael Jumper
c199cfc8d7
GUAC-1171: Adopt cleaner style for Makefile.am.
2015-07-08 15:39:25 -07:00
Michael Jumper
77cde6ae4b
GUAC-1171: Stub out common SSH client within build.
2015-07-08 14:55:18 -07:00
Frode Langelo
d309842055
GUAC-298: Add configuration option to allow for VNC clipboard text encoding override
2015-07-08 14:28:02 -07:00
Michael Jumper
5e76e11e6a
GUAC-1172: Use FreeRDP to define STATUS_* constants, if possible, before falling back to the rest of rdp_status.h.
2015-07-06 00:43:21 -07:00
Michael Jumper
8a36358e94
GUAC-1172: Implement directory listing, file upload, and file download.
2015-07-06 00:43:21 -07:00
Michael Jumper
fef6cd212b
GUAC-1172: Associate guac_object with RDP filesystem.
2015-07-06 00:43:21 -07:00
Michael Jumper
58621ca42b
GUAC-1172: Move JSON functions to common.
2015-07-05 18:08:22 -07:00
Michael Jumper
ddbbcf032a
GUAC-1172: Ensure empty directories are valid JSON.
2015-07-05 12:56:10 -07:00
Michael Jumper
054698a3ad
GUAC-1172: Append. Do not appaned.
2015-07-01 11:11:07 -07:00
Michael Jumper
42c36f5b84
GUAC-1172: Properly store/free filesystem object.
2015-07-01 10:48:25 -07:00
Michael Jumper
0bbc958373
GUAC-1172: Implement file upload via filesystem object.
2015-07-01 10:48:25 -07:00
Michael Jumper
5fba93594d
GUAC-1172: Implement directory listing and file download via filesystem object.
2015-07-01 10:48:25 -07:00
Michael Jumper
482b3a728c
GUAC-1172: Simplify filename validation and manipulation.
2015-07-01 10:48:25 -07:00
Michael Jumper
29b76243b9
GUAC-835: Add support for all RDP performance flags.
2015-06-12 16:35:38 -07:00
Michael Jumper
be0e1d9b12
GUAC-346: Add support for specifying the client hostname.
2015-04-14 12:39:08 -07:00
Michael Jumper
5cb5be6923
GUAC-1056: Do not wait for messages if data is within the RFB client buffer.
2015-04-07 23:44:13 -07:00
Michael Jumper
2144aa4f8f
GUAC-794: Add missing hash sign to Italian keymap.
2015-03-31 11:31:52 -07:00
Denis Bernacci
07859aba06
GUAC-794: Add Italian keymap.
2015-03-31 11:18:38 -07:00
Michael Jumper
001b8188e8
GUAC-1095: Free any existing bitmap data prior to overwriting the bitmap data pointer.
2015-02-23 20:36:33 -08:00
rvecchio
efe95748b7
GUAC-570 blank pages inside the generated PDFs
2015-02-09 10:03:05 +01:00
Michael Jumper
959a7a202d
GUAC-994: Add support for interleaved_decompress() and planar_decompress() variants in FreeRDP 1.2.0-beta1+android9. Use working color conversion function (old one is present but will not work in 1.2.0).
2015-01-23 15:08:00 -08:00
Michael Jumper
5fe8917bdc
GUAC-974: Log reason for auth key failures. Add debug logging.
2015-01-04 19:56:32 -08:00
Michael Jumper
0b0c2aae93
GUAC-974: Auth key failures should abort as UNAUTHORIZED.
2015-01-04 19:17:40 -08:00
Michael Jumper
a5715ae3e0
GUAC-949: Increase display update interval to 500 ms.
2014-12-06 17:32:03 -08:00
James Muehlner
82e26aaca2
Merge pull request #9 from glyptodon/rdp-aspect-ratio
...
GUAC-947: Maintain aspect ratio when size is adjusted.
2014-12-05 16:57:03 -08:00
Michael Jumper
37276c081b
GUAC-947: Maintain aspect ratio when size is adjusted to conform with Display Update specs.
2014-12-05 15:30:51 -08:00
James Muehlner
955dba4498
Merge pull request #7 from glyptodon/swedish-keymap
...
GUAC-930 - Implement Swedish keymap
2014-12-04 20:49:18 -08:00
James Muehlner
cbab9e2efb
Merge pull request #8 from glyptodon/fix-rdp-segfault
...
GUAC-945: Do not attempt to load drdynvc unless Display Update is in use.
2014-12-03 16:01:36 -08:00
Michael Jumper
ca0107ba54
GUAC-945: Do not attempt to load drdynvc unless Display Update is in use. The interface of drdynvc is too different in versions of FreeRDP lacking Display Update.
2014-12-03 15:43:39 -08:00
James Muehlner
7ef33e5901
Merge pull request #5 from glyptodon/resize-with-dpi
...
GUAC-936: Use initial resolution for all future resizing of display.
2014-12-01 11:23:43 -08:00
Michael Jumper
05d1b8864c
GUAC-930: Add Swedish keymap.
2014-11-28 19:35:30 -08:00
Michael Jumper
6fc1699d86
GUAC-930: Log keysyms which are sent via Unicode.
2014-11-28 19:21:10 -08:00
Michael Jumper
4b53f9f3a6
GUAC-911: Expand logging within SSH and telnet.
2014-11-28 17:20:02 -08:00
Michael Jumper
6ea36b5a27
GUAC-936: Use initial resolution for all future resizing of display. Suggest reasonable resolution only if resolution of display is not provided/forced.
2014-11-26 15:35:22 -08:00
Michael Jumper
6cd161a02d
GUAC-935: Document parameters of newly-added functions.
2014-11-25 22:53:22 -08:00
Michael Jumper
d85a18c24d
GUAC-935: Add missing headers. Fix test for PubSub.
2014-11-25 22:11:43 -08:00
Michael Jumper
904fcfe75a
GUAC-935: Only update display size if it's been longer than 250ms.
2014-11-25 02:20:54 -08:00
Michael Jumper
4cbb4001fc
GUAC-865: Allow client-requested DPI to be overridden.
2014-11-21 16:45:47 -08:00
Michael Jumper
b812cc19a9
GUAC-865: Establish lock before sending size update.
2014-11-21 15:46:50 -08:00
Michael Jumper
2aec59dd23
GUAC-865: Do not log newline characters.
2014-11-21 14:25:05 -08:00
Michael Jumper
1fc80182a3
GUAC-865: rdpSettings may not have SupportDisplayControl, even if freerdp/client/disp.h is present.
2014-11-21 13:51:01 -08:00
Michael Jumper
a0e1e5f0c6
GUAC-865: Initial support for display update.
2014-11-21 13:30:24 -08:00
Michael Jumper
7064e12959
GUAC-852: Use rdpContext.codecs as a basis for determining whether FreeRDP uses _aligned_malloc() internally.
2014-11-20 21:41:38 -08:00
Michael Jumper
98195e606a
GUAC-852: Abstract away color conversion.
2014-11-20 21:07:22 -08:00
Michael Jumper
f401597f10
GUAC-852: Use old bitmap_decompress if no codecs in context. Restore use of freerdp_image_flip.
2014-11-20 21:07:18 -08:00
Michael Jumper
7fae39b593
GUAC-852: Refactor bitmap_decompress within guac_rdp_bitmap_decompress.
2014-11-20 18:49:47 -08:00
Michael Jumper
7449543461
GUAC-852: Store raw ARGB32 palette internally, for future use in conversions.
2014-11-20 18:35:17 -08:00
Michael Jumper
3171da9e09
GUAC-852: Use freerdp_image_copy instead of freerdp_image_flip.
2014-11-20 18:01:58 -08:00
Michael Jumper
fc6758ffdf
GUAC-852: Use freerdp_convert_gdi_order_color() for color conversion.
2014-11-20 18:01:05 -08:00
Michael Jumper
e2c28d9240
GUAC-852: Add bitmap_decompress implementation (partial stub - will not work with older FreeRDP).
2014-11-20 17:56:56 -08:00