mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-10 01:17:59 +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
|
# Retry operation in ten seconds
|
||||||
QtCore.QTimer.singleShot(10000, self.getTransportData)
|
QtCore.QTimer.singleShot(10000, self.getTransportData)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
logger.exception('Error getting transport data')
|
||||||
self.showError(e)
|
self.showError(e)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
@ -143,6 +143,8 @@ class ForwardServer(socketserver.ThreadingTCPServer):
|
|||||||
|
|
||||||
# Do not "recompress" data, use only "base protocol" compression
|
# Do not "recompress" data, use only "base protocol" compression
|
||||||
context.options |= ssl.OP_NO_COMPRESSION
|
context.options |= ssl.OP_NO_COMPRESSION
|
||||||
|
context.minimum_version = ssl.TLSVersion.TLSv1_3
|
||||||
|
|
||||||
if tools.getCaCertsFile() is not None:
|
if tools.getCaCertsFile() is not None:
|
||||||
context.load_verify_locations(
|
context.load_verify_locations(
|
||||||
tools.getCaCertsFile()
|
tools.getCaCertsFile()
|
||||||
|
Loading…
Reference in New Issue
Block a user