Version 0.6.85

This commit is contained in:
Ylian Saint-Hilaire 2020-11-11 17:18:00 -08:00
parent 39ca25dcbf
commit f939ce1f45
4 changed files with 8 additions and 2 deletions

View File

@ -1330,10 +1330,13 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
// Add server TLS cert hash
var tlsCertHash = null;
// TODO: Once new mesh agents seem to work, re-enable this.
/*
if (parent.parent.args.ignoreagenthashcheck !== true) {
tlsCertHash = parent.webCertificateFullHashs[domain.id];
if (tlsCertHash != null) { command.servertlshash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
}
*/
// Add user consent messages
command.soptions = {};

View File

@ -1,6 +1,6 @@
{
"name": "meshcentral",
"version": "0.6.84",
"version": "0.6.85",
"keywords": [
"Remote Device Management",
"Remote Device Monitoring",

View File

@ -182,7 +182,7 @@
"agentCustomization": {
"displayName": "Compagny® Product™",
"description": "Compagny® Product™ agent for remote monitoring, management and assistance.",
"companyName": "Compagny®",
"companyName": "Compagny",
"serviceName": "compagnyagent"
},
"_userAllowedIP": "127.0.0.1,192.168.1.0/24",

View File

@ -3218,10 +3218,13 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
// Instruct one of more agents to download a URL to a given local drive location.
var tlsCertHash = null;
// TODO: Once new mesh agents seem to work, re-enable this.
/*
if (parent.args.ignoreagenthashcheck !== true) {
tlsCertHash = obj.webCertificateFullHashs[cmd.domain.id];
if (tlsCertHash != null) { tlsCertHash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
}
*/
for (var i in cmd.nodeids) {
obj.GetNodeWithRights(cmd.domain, cmd.user, cmd.nodeids[i], function (node, rights, visible) {
if ((node == null) || ((rights & 8) == 0) || (visible == false)) return; // We don't have remote control rights to this device