mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
added exception logging on getTransportData and forced TLS to 1.3 on UDS tunnel
This commit is contained in:
parent
f78053fc0c
commit
c7e1f36cb3
@ -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):
|
||||||
|
@ -120,6 +120,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