1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Merge remote-tracking branch 'origin/v3.6'

This commit is contained in:
Adolfo Gómez García 2023-05-04 14:46:13 +02:00
commit df5622c889
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
4 changed files with 7 additions and 3 deletions

View File

@ -1,2 +1,4 @@
#!/bin/sh
cp /UDSClient/UDSClient.desktop /usr/share/applications.mime
chmod 755 /UDSClient/UDSClient

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012-2022 Virtual Cable S.L.U.
# Copyright (c) 2011-2023 Virtual Cable S.L.U.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
@ -125,8 +125,7 @@ class RDPFile:
params.append('/microphone:sys:alsa')
else:
params.append('/sound')
# Mac does not redirect microphone by default, seems to "cause problems"
# params.append('/microphone')
params.append('/microphone')
if self.multimedia:
params.append('/video')

View File

@ -238,6 +238,7 @@ class TunnelProtocol(asyncio.Protocol):
if command == consts.COMMAND_OPEN:
self.process_open()
elif command == consts.COMMAND_TEST:
self.clean_timeout() # Stop timeout
logger.info('COMMAND: TEST')
self.transport.write(consts.RESPONSE_OK)
self.close_connection()

View File

@ -36,6 +36,8 @@ workers = 2
ssl_certificate = /etc/certs/server.pem
# Key can be included on certificate file, so this is optional
ssl_certificate_key = /etc/certs/key.pem
# min tls version, optional, 1.2 if not set
ssl_min_tls_version = 1.3
# ssl_ciphers and ssl_dhparam are optional.
ssl_ciphers = ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384
ssl_dhparam = /etc/certs/dhparam.pem