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:
parent
a8b30bcc14
commit
6db9b4d75d
@ -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):
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user