1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Agent URL to clipboard, Terminal scroll back.

This commit is contained in:
Ylian Saint-Hilaire 2019-05-31 14:48:13 -07:00
parent 7529dce77b
commit f378104c16
9 changed files with 84 additions and 40 deletions

View file

@ -477,10 +477,6 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
}
obj.close(0);
});
ws._socket._parent.on('close', function (req) {
parent.agentStats.agentTcpClose++;
//if (obj.nodeid != null) { parent.parent.debug(1, 'Agent TCP disconnect ' + obj.nodeid + ' (' + obj.remoteaddrport + ')'); }
});
// Start authenticate the mesh agent by sending a auth nonce & server TLS cert hash.
// Send 384 bits SHA384 hash of TLS cert public key + 384 bits nonce