mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
fix: AMT Direct TLS connection and Digest authentication
- fix: ensure TLS is used when TLS is enabled - add constants.SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION for TLS client connection for newer Nodejs - ensure nc of AMT redirection Digest authentication to have at 8 bytes length
This commit is contained in:
parent
270b34a068
commit
b5338b746a
4 changed files with 14 additions and 4 deletions
|
|
@ -4173,7 +4173,12 @@
|
|||
desktop.m.useZRLE = (desktopsettings.encoding < 3);
|
||||
desktop.m.showmouse = true;
|
||||
desktop.m.onScreenSizeChange = function (o, x, y) { if (fullscreen) { QS('deskarea3').width = (x * fullscreenzoom) + 'px'; QS('deskarea3').height = (y * fullscreenzoom) + 'px'; } deskAdjust(); }
|
||||
desktop.Start(desktopNode._id, 16994, '*', '*', 0);
|
||||
// Use TLS if TLS is set
|
||||
if (desktopNode.conn==4 && desktopNode.intelamt!=null && desktopNode.intelamt.tls==1) {
|
||||
desktop.Start(desktopNode._id, 16995, '*', '*', 1);
|
||||
} else {
|
||||
desktop.Start(desktopNode._id, 16994, '*', '*', 0);
|
||||
}
|
||||
desktop.contype = 2;
|
||||
} else if ((contype == null) || (contype == 1) || ((contype == 3) && (currentNode.agent.id > 4))) {
|
||||
// Setup the Mesh Agent remote desktop
|
||||
|
|
|
|||
|
|
@ -8904,7 +8904,12 @@
|
|||
}
|
||||
}
|
||||
};
|
||||
desktop.Start(desktopNode._id, 16994, '*', '*', 0);
|
||||
// Use TLS if TLS is set
|
||||
if (desktopNode.conn==4 && desktopNode.intelamt!=null && desktopNode.intelamt.tls==1) {
|
||||
desktop.Start(desktopNode._id, 16995, '*', '*', 1);
|
||||
} else {
|
||||
desktop.Start(desktopNode._id, 16994, '*', '*', 0);
|
||||
}
|
||||
desktop.contype = 2;
|
||||
} else if ((contype == null) || (contype == 1) || ((contype == 3) && ((currentNode.agent.id > 4) && ((debugmode == null))))) {
|
||||
// Setup the Mesh Agent remote desktop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue