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

added some more log in case of error receiving transport data and bumped minimun version for uds tunnel to TLSv1.3

This commit is contained in:
Adolfo Gómez García 2023-04-15 00:21:35 +02:00
parent a8b30bcc14
commit 6db9b4d75d
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
2 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,7 @@ class UDSClient(QtWidgets.QMainWindow):
# Retry operation in ten seconds
QtCore.QTimer.singleShot(10000, self.getTransportData)
except Exception as e:
logger.exception('Error getting transport data')
self.showError(e)
def start(self):

View File

@ -143,6 +143,8 @@ class ForwardServer(socketserver.ThreadingTCPServer):
# Do not "recompress" data, use only "base protocol" compression
context.options |= ssl.OP_NO_COMPRESSION
context.minimum_version = ssl.TLSVersion.TLSv1_3
if tools.getCaCertsFile() is not None:
context.load_verify_locations(
tools.getCaCertsFile()